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 |
|---|---|---|---|---|---|
brianhang/nutscript2 | gamemode/core/charvars/sh_var.lua | 1 | 1929 | --[[
File: core/charvars/sh_var.lua
Purpose: Allows for networked, temporary variables to be set for characters.
--]]
-- How many bits are in a long.
local LONG = 32
nut.char.registerVar("var", {
default = {},
onSet = function(character, key, value, recipient)
-- Store the old value for the hook.
... | mit |
ijprest/presto-build | luajit/src/jit/dump.lua | 74 | 19509 | ----------------------------------------------------------------------------
-- LuaJIT compiler dump module.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-... | mit |
godly-devotion/Baka-MPlayer-old | Baka MPlayer/bin/Debug/libquvi-scripts/0.9/common/quvi/lxph.lua | 3 | 1451 | -- libquvi-scripts
-- Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com>
--
-- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU Affero General Public
-- License as published by the Free Sof... | gpl-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha L5A/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Pathfinder_2E/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Os Mundos dos Mortos/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/ChatMods/Memes Saver/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/PokeRPG/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Multiaba/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/TablesDock/Lista de NPCs/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha T20/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha 3D&T RAT/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/PokePTU/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/ChatMods/RoletaRussa/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Pokemon D20/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rgieseke/scintillua | lexers/verilog.lua | 1 | 3663 | -- Copyright 2006-2018 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Verilog LPeg lexer.
local lexer = require('lexer')
local token, word_match = lexer.token, lexer.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local lex = lexer.new('verilog')
-- Whitespace.
lex:add_rule('whitespace', token(lexer.WHITESPACE... | mit |
otservme/global1053 | data/movements/scripts/liquid black/gray enter.lua | 2 | 1201 | function onStepIn(cid, item, pos, fromPosition)
if item.uid == 33308 then
if(getPlayerStorageValue(cid, 33314) == 2) then
doTeleportThing(cid, {x = 33446, y = 31288, z = 14}, FALSE)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
else
doTeleportThing(cid, {x = 33478, y = 31314, z = 7}, TR... | gpl-2.0 |
mcodegeeks/OpenKODE-Framework | 03_Tutorial/T02_XMCocos2D-v3-Lua/Resource/json.lua | 60 | 15380 | -----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.40
-- This module is released under the MIT License (MIT).
-- Please see L... | mit |
The-HalcyonDays/darkstar | scripts/zones/Ifrits_Cauldron/npcs/HomePoint#1.lua | 12 | 1199 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: HomePoint#1
-- @pos -63 50 81 205
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Ifrits_Cauldron/TextIDs");
require("scripts/globals/ho... | gpl-3.0 |
mzyy94/ECHONET-Lite-dissector | group-0x0e-node-profile.lua | 1 | 7121 | -- ########################################################
-- ECHONET Lite Wireshark dissector
-- ########################################################
--
-- Author : Yuki MIZUNO
-- Version: 1.2.1
-- License: MIT
--
-- ########################################################
--
-- Copyright (c) 201... | mit |
The-HalcyonDays/darkstar | scripts/globals/spells/bluemagic/saline_coat.lua | 9 | 1409 | -----------------------------------------
-- Spell: Saline Coat
-- Enhances magic defense
-- Spell cost: 66 MP
-- Monster Type: Luminians
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+2, AGI+2, MP+10
-- Level: 72
-- Casting Time: 3 seconds
-- Recast Time: 60 seconds
-- Duration: 6... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Valley_of_Sorrows/mobs/Aspidochelone.lua | 23 | 1216 | -----------------------------------
-- Area: Valley of Sorrows
-- HNM: Aspidochelone
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
----------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Bastok_Markets/npcs/Balthilda.lua | 38 | 1699 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Balthilda
-- Type: Merchant
-- @zone: 235
-- @pos -300 -10 -161
--
-- NPC not found in 'npc_list'
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and ga... | gpl-3.0 |
PyryM/truss | src/lib/slaxml.lua | 17 | 7950 | --[=====================================================================[
v0.7 Copyright © 2013-2014 Gavin Kistner <!@phrogz.net>; MIT Licensed
See http://github.com/Phrogz/SLAXML for details.
--]=====================================================================]
local SLAXML = {
VERSION = "0.7",
_call = {
pi = ... | mit |
The-HalcyonDays/darkstar | scripts/globals/abilities/box_step.lua | 28 | 7984 | -----------------------------------
-- Ability: Box Step
-- Lowers target's defense. If successful, you will earn two Finishing Moves.
-- Obtained: Dancer Level 30
-- TP Required: 10%
-- Recast Time: 00:05
-- Duration: First Step lasts 1 minute, each following Step extends its current duration by 30 seconds.
---... | gpl-3.0 |
Kinathka/gmod_airbase_vehicles | avehicle_main/lua/entities/avehicle_base/sv/lib.lua | 1 | 5361 | /**********************************************************************************************
//////##////////##//////////##//##########//##////////##////////##////////##########//##########
////##//##//////##//////////##//##//////////####//////##//////##//##//////////##//////##////////
////##//##//////##//////////##... | lgpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Avatar d20/output/rdkObjs/FichaAvatar/02.Ataques.lfm.lua | 2 | 381460 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmFichaRPGmeister2_svg()
local obj = GUI.fromHandle(_obj... | apache-2.0 |
Stanzilla/prat-3-0 | modules/ChatLog.lua | 1 | 5779 | ---------------------------------------------------------------------------------
--
-- Prat - A framework for World of Warcraft chat mods
--
-- Copyright (C) 2006-2011 Prat Development Team
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public Lice... | gpl-3.0 |
Zarty55/gumnating | gun/blocks/modules/tank.lua | 1 | 2649 | local Tank = require("gun.blocks.modules.module"):inh{
--Module properties
type = "tank",
hasupdate = false,
--Tank properties
material,
storedAmount = 0,
size = .1, -- In m^2
maxPressure = 1.1, -- In percentage of maximum storedAmount, if it is higher then this will be destroyed
output = true,
}
... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/spells/cura_ii.lua | 13 | 3212 | -----------------------------------------
-- Spell: Cura
-- Restores hp in area of effect. Self target only
-- From what I understand, Cura's base potency is the same as Cure II's.
-- With Afflatus Misery Bonus, it can be as potent as a Curaga III
-- Modeled after our cure_ii.lua, which was modeled after the below refe... | gpl-3.0 |
vasilenkomike/tarantool | test/box/access_sysview.test.lua | 7 | 6810 | session = box.session
--
-- Basic tests
--
#box.space._vspace:select{} == #box.space._space:select{}
#box.space._vindex:select{} == #box.space._index:select{}
#box.space._vuser:select{} == #box.space._user:select{}
#box.space._vpriv:select{} == #box.space._priv:select{}
#box.space._vfunc:select{} == #box.space._func:... | bsd-2-clause |
rrpgfirecast/firecast | Plugins/Sheets/GURPS Saint Seiya Forever/output/rdkObjs/Ficha SSF/SSF.3.3.lfm.lua | 1 | 3639 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmSSF3_3()
local obj = GUI.fromHandle(_obj_newObject("fo... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Avatar d20/output/rdkObjs/FichaAvatar/07.Inventario.Consumivel.lfm.lua | 2 | 7287 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmConsumiveis()
local obj = GUI.fromHandle(_obj_newObjec... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Herois d20/output/rdkObjs/FichaHerois/07.Inventario.Consumivel.lfm.lua | 2 | 7287 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmConsumiveis()
local obj = GUI.fromHandle(_obj_newObjec... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/blackened_toad.lua | 35 | 1373 | -----------------------------------------
-- ID: 4599
-- Item: Blackened Toad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -1
-- Poison Resist 5
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
APItools/monitor | lua/models/mw_subscriptions.lua | 2 | 1597 | local http = require 'http'
local Event = require 'models.event'
local m = require 'model_helpers'
local luajson = require 'json'
-- id
-- user
-- repo
-- current_version
-- latest_seen_version
local collection = 'middleware_subscriptions'
local mw = {}
mw.get_updates = function(user, repo)
local token = "access_... | mit |
rrpgfirecast/firecast | Plugins/Sheets/Ficha 4D&T/output/rdkObjs/Ficha4D&T/MagicListForm.lfm.lua | 1 | 4253 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmMagicListForm()
local obj = GUI.fromHandle(_obj_newObj... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/plate_of_ic_pilav_+1.lua | 35 | 1945 | -----------------------------------------
-- ID: 5585
-- Item: plate_of_ic_pilav_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 65
-- Strength 4
-- Vitality -1
-- Intelligence -1
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 65
-- ... | gpl-3.0 |
zhaozg/luvit | deps/codec.lua | 2 | 5262 | --[[
Copyright 2014 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | apache-2.0 |
ThatOdieGuy/vlc | share/lua/playlist/soundcloud.lua | 40 | 2025 | --[[
$Id$
Copyright © 2012 the VideoLAN team
Authors: Cheng Sun <chengsun9atgmail.com>
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 2 of the License, or
(at your option) an... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Cloister_of_Tides/bcnms/sugar-coated_directive.lua | 13 | 1701 | ----------------------------------------
-- Area: Cloister of Tides
-- BCNM: Sugar Coated Directive (ASA-4)
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/qu... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Crawlers_Nest/npcs/Treasure_Chest.lua | 12 | 3190 | -----------------------------------
-- Area: Crawler Nest
-- NPC: Treasure Chest
-- Involved In Quest: Enveloped in Darkness
-- @pos 41 0.1 -314 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
coltonj96/UsefulCombinators | UsefulCombinators_0.2.9/migrations/UsefulCombinators_0.2.9.lua | 2 | 1346 | game.reload_script()
for index, force in pairs(game.forces) do
force.reset_technologies()
if force.technologies["useful-combinators"].researched then
force.recipes["random-combinator"].enabled = true
force.recipes["comparator-combinator"].enabled = true
force.recipes["converter-combinator"].enab... | mit |
coltonj96/UsefulCombinators | UsefulCombinators_0.4.2/prototypes/technology/technology.lua | 5 | 2528 | data:extend({
{
type = "technology",
name = "useful-combinators",
icon = "__UsefulCombinators__/graphics/technology/clock.png",
icon_size = 64,
effects =
{
{
type = "unlock-recipe",
recipe = "timer-combinator"
},
{
type = "unlock-recipe",
... | mit |
coltonj96/UsefulCombinators | UsefulCombinators_0.4.1/prototypes/technology/technology.lua | 5 | 2528 | data:extend({
{
type = "technology",
name = "useful-combinators",
icon = "__UsefulCombinators__/graphics/technology/clock.png",
icon_size = 64,
effects =
{
{
type = "unlock-recipe",
recipe = "timer-combinator"
},
{
type = "unlock-recipe",
... | mit |
The-HalcyonDays/darkstar | scripts/zones/Horlais_Peak/mobs/Maat.lua | 27 | 1130 | -----------------------------------
-- Area: Horlais Peak
-- NPC: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
--... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/spells/bluemagic/flying_hip_press.lua | 27 | 1410 | -----------------------------------------
-- Spell: Flying Hip Press
-- Deals wind damage to enemies within range
-- Spell cost: 125 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+1
-- Level: 58
-- Casting Time: 5.75 seconds
-- Recast Time: 34.5 seconds
... | gpl-3.0 |
greatwolf/cryptofu | tools/unittest.lua | 1 | 2717 | local sleep = require 'tools.sleep'
local tablex = require 'pl.tablex'
local clock = os.clock
local print, pcall = print, pcall
local function pretty_timer (ms)
return ms < 2 and string.format ("%.2f msecs", ms * 1000)
or string.format ("%.2f secs", ms)
end
local test_harness = {}
l... | mit |
kiarash14/supb | plugins/anti_spam.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/RPGPokemon/output/rdkObjs/04.Habilidades.lfm.lua | 1 | 17706 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmFichaRPGmeister4_svg()
local obj = GUI.fromHandle(_obj... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hishahma.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hishahma
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
Therzok/WhatToDo | libs/GeminiConfig-1.0/GeminiConfigGUI-1.0/widgets/GeminiConfigGUIWidget-Heading.lua | 2 | 3309 | -- -*- lua-indent-level: 4; -*-
--[[-----------------------------------------------------------------------------
Heading Widget
-------------------------------------------------------------------------------]]
local Type, Version = "Heading", 20
local GeminiConfigGUIPkg = Apollo.GetPackage("Gemini:ConfigGUI-1.0"... | mit |
coltonj96/UsefulCombinators | UsefulCombinators_0.2.0/migrations/UsefulCombinators_0.1.9.lua | 26 | 1125 | game.reload_script()
for index, force in pairs(game.forces) do
force.reset_technologies()
if force.technologies["useful-combinators"].researched then
force.recipes["random-combinator"].enabled = true
force.recipes["comparator-combinator"].enabled = true
force.recipes["converter-combinator"].enab... | mit |
otservme/global1053 | data/actions/scripts/ice islands quest/iceIslandsQuestCure.lua | 2 | 2373 | function onUse(cid, item, fromPosition, itemEx, toPosition)
local player = Player(cid)
local targetItem = Item(itemEx.uid)
if player:getStorageValue(12001) >= 21 then
if itemEx.itemid == 7106 and item.itemid == 7286 then
toPosition:sendMagicEffect(CONST_ME_MAGIC_BLUE)
player:say("You take some hot water from t... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/vidohunir.lua | 12 | 4739 | -----------------------------------
-- Vidohunir
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP.
-- Reduces enemy's magic defense by 10%.
-- Available only after completing the Unlocking a Myth (Black Mage)... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_mf9.lua | 17 | 1401 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: _mf9 (Granite Door)
-- Notes: Opens with Prelate Key
-- @pos -60 -8 -99 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zo... | gpl-3.0 |
greatwolf/cryptofu | tests/testcraptsy.lua | 1 | 2060 | require 'pl.app'.require_here ".."
local utest = require 'tools.unittest'
local dump = require 'pl.pretty'.dump
local keys = require 'tests.api_testkeys'.craptsy
local session = require 'exchange.craptsy' { key = keys.key, secret = keys.secret }
assert (session)
local make_retry = require 'tools.retry'
local session ... | mit |
ds84182/roblox-sbx | build.lua | 1 | 12437 | local lfs = require 'lfs'
if _VERSION == 'Lua 5.2' then
unpack = table.unpack
end
local saveRBXM do
-- because of the way XML is parsed, leading spaces get truncated
-- so, simply add a "\" when a space or "\" is detected as the first character
-- this will be decoded automatically by Cure
local function encodeT... | lgpl-3.0 |
telldus/tellstick-lua-examples | sensors/SensorFilter.lua | 1 | 2821 | -- Script to filter out sensor values
UNKNOWN = 0 -- Sensor type flag for an unknown type
TEMPERATURE = 1 -- Sensor type flag for temperature
HUMIDITY = 2 -- Sensor type flag for humidity
RAINRATE = 4 -- Sensor type flag for rain rate
RAINTOTAL = 8 -- Sensor type flag for rain total
WINDDIRECTION = 16... | mit |
The-HalcyonDays/darkstar | scripts/zones/Temenos/bcnms/Central_Temenos_2nd_Floor.lua | 13 | 1432 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
if(GetMobAction(16929039) > 0)then DespawnMob(16929039);end
if(GetMobAction(16929040) > 0)then DespawnMob(16929040);end
if... | gpl-3.0 |
nathwill/data-pipeline | heka/sandbox/encoders/es_fields.lua | 5 | 5624 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
--[[
Elasticsearch encoder to index only specific fields.
Config:
- index (string, optional, default "heka-%{%Y.%m.... | mpl-2.0 |
Jereviendrai/telegram-bot | plugins/invite.lua | 4 | 1046 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function run(msg, matches)
-- User submitted a user name
if matches[1] == "name" then
user = matches[2]
user = string.gsub(user," ","_")
e... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Turbulent_Storm.lua | 21 | 1898 | -----------------------------------
-- Area: The Eldieme Necropolis [S]
-- NPC: Turbulent Storm
-- Note: Starts Quest "The Fighting Fourth"
-- @pos 422.461 -48.000 175
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Port_Bastok/npcs/Rajesh.lua | 20 | 1379 | -----------------------------------
-- Area: Port Bastok
-- NPC: Rajesh
-- @zone 236
-- @pos -62 1 -8
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
r... | gpl-3.0 |
leafo/luarocks | src/luarocks/deps.lua | 12 | 27509 |
--- Dependency handling functions.
-- Dependencies are represented in LuaRocks through strings with
-- a package name followed by a comma-separated list of constraints.
-- Each constraint consists of an operator and a version number.
-- In this string format, version numbers are represented as
-- naturally as possible... | mit |
coltonj96/UsefulCombinators | UsefulCombinators_0.4.3/migrations/UsefulCombinators_0.2.5.lua | 14 | 1355 | game.reload_script()
for index, force in pairs(game.forces) do
force.reset_technologies()
if force.technologies["useful-combinators"].researched then
force.recipes["random-combinator"].enabled = true
force.recipes["converter-combinator"].enabled = true
if force.recipes["comparator-combinator"] t... | mit |
coltonj96/UsefulCombinators | UsefulCombinators_0.3.9/migrations/UsefulCombinators_0.2.5.lua | 14 | 1355 | game.reload_script()
for index, force in pairs(game.forces) do
force.reset_technologies()
if force.technologies["useful-combinators"].researched then
force.recipes["random-combinator"].enabled = true
force.recipes["converter-combinator"].enabled = true
if force.recipes["comparator-combinator"] t... | mit |
The-HalcyonDays/darkstar | scripts/zones/Bastok-Jeuno_Airship/npcs/Michele.lua | 12 | 1994 | -----------------------------------
-- Area: Bastok-Jeuno Airship
-- NPC: Michele
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Bastok-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Bastok-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Maturiri.lua | 34 | 1088 | ----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Maturiri
-- Type: Item Deliverer
-- @zone: 26
-- @pos -77.366 -20 -71.128
--
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Den_of_Rancor/npcs/_4g6.lua | 10 | 2117 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Lantern (SE)
-- @pos -59 45 24 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Pack Old Dragon/output/rdkObjs/SdG/1.lfm.lua | 1 | 76730 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmSdG1_svg()
local obj = GUI.fromHandle(_obj_newObject("... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Bastok_Markets/npcs/Fatimah.lua | 53 | 2085 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Fatimah
-- Type: Goldsmithing Adv. Synthesis Image Support
-- @pos -193.849 -7.824 -56.372 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/tachi_goten.lua | 30 | 1439 | -----------------------------------
-- Tachi Goten
-- Great Katana weapon skill
-- Skill Level: 70
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Light Gorget / Thunder Gorget.
-- Aligned with the Light Belt / Thunder Belt.
-- Element: ... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Bhaflau_Thickets/mobs/Olden_Treant.lua | 25 | 1280 | -----------------------------------
-- Area: Bhaflau Thickets
-- MOB: Olden Treant
-- Note: Place holder Emergent Elm
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Davoi/npcs/qm1.lua | 17 | 1419 | -----------------------------------
-- Area: Davoi
-- NPC: ??? (qm1)
-- Involved in Quest: To Cure a Cough
-- @pos -115.830 -0.427 -184.289 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Core/rrpginlua/GerTablesDock/GerTablesDockExport.lua | 1 | 4116 | require("gui.lua");
require("firecast.lua");
require("plugins.lua");
local function td_carregarTD(mesa, tdInstalado)
if mesa.podeTablesDock and not Firecast.Plugins.getIsTablesDockActive(mesa, tdInstalado.moduleId, tdInstalado.name) then
local tdGlobal = require("/GerTablesDock/GerTablesDockGlobal.dlua");
loca... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/mobskills/Onslaught.lua | 7 | 1102 | ---------------------------------------------
-- Onslaught
--
-- Description: Lowers target's accuracy. Additional effect: temporarily increases Attack.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("... | gpl-3.0 |
NAM-IL/VLC-2_2_0 | share/lua/playlist/joox.lua | 113 | 1637 | --[[
$Id$
Copyright © 2007 the VideoLAN 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; either version 2 of the License, or
(at your option) any later version.
This program is distribut... | lgpl-2.1 |
rrpgfirecast/firecast | Plugins/Template/output/rdkObjs/ProjectName/BarControl.lfm.lua | 3 | 9006 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmBarControl()
local obj = GUI.fromHandle(_obj_newObject... | apache-2.0 |
vasilenkomike/tarantool | test/app/tap.test.lua | 8 | 3499 | #!/usr/bin/env tarantool
--
-- Test suite for The Test Anything Protocol module implemented
-- using module itself.
--
-- Load 'tap' module
local tap = require "tap"
--
-- Create a root test
--
test = tap.test("root test")
-- Disable stack traces for this test because Tarantool test system also
-- checks test output... | bsd-2-clause |
KlonD90/tarantool | test/app/tap.test.lua | 8 | 3499 | #!/usr/bin/env tarantool
--
-- Test suite for The Test Anything Protocol module implemented
-- using module itself.
--
-- Load 'tap' module
local tap = require "tap"
--
-- Create a root test
--
test = tap.test("root test")
-- Disable stack traces for this test because Tarantool test system also
-- checks test output... | bsd-2-clause |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Tormenta 20/output/rdkObjs/Ficha Tormenta 20/DiceRoll.lfm.lua | 3 | 4456 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmDiceRoll()
local obj = GUI.fromHandle(_obj_newObject("... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Port_Bastok/npcs/Latifah.lua | 34 | 1288 | -----------------------------------
-- Area: Port Bastok
-- NPC: Latifah
-- Involved in Quest: Stamp Hunt
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
en... | gpl-3.0 |
otservme/global1053 | data/npc/scripts/Fa'hradin.lua | 2 | 3214 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, ms... | gpl-2.0 |
APItools/monitor | lua/spec/event_observers_spec.lua | 2 | 4186 | local Event = require 'models.event'
local EventObserver = require 'models.event_observer'
local old_EventObserver_all = EventObserver.all
local old_Event_get_unprocessed = Event.get_unprocessed
local function set_observers(observers)
for i=1,#observers do
observers[i] = EventObserver:create(observe... | mit |
PyryM/truss | src/lib/lulpeg.lua | 1 | 89407 | -- LuLPeg, a pure Lua port of LPeg, Roberto Ierusalimschy's
-- Parsing Expression Grammars library.
--
-- Copyright (C) Pierre-Yves Gerardy.
-- Released under the Romantic WTF Public License (cf. the LICENSE
-- file or the end of this file, whichever is present).
--
-- See http://www.inf.puc-rio.br/~roberto/lpeg/ for... | mit |
The-HalcyonDays/darkstar | scripts/zones/Mhaura/npcs/Take.lua | 17 | 4364 | -----------------------------------
-- Area: Mhaura
-- NPC: Take
-- Involved In Quest: RYCHARDE_THE_CHEF
-- Starts and finishes quest: Expertice
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
... | gpl-3.0 |
githubmereza/reza | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
strongprotection/strong3 | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/mobskills/Seismostomp.lua | 7 | 1152 | ---------------------------------------------
-- Seismostomp
--
-- Description: Damage varies with TP. Additional effect: "Stun."
-- Type: Physical (Blunt)
--
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmov... | gpl-3.0 |
ldevl/DEVKEEPER | plugins/masg.lua | 3 | 10837 | local function pre_process(msg)
-- Begin 'RondoMsgChecks' text checks by @rondoozle
if is_chat_msg(msg) or is_super_group(msg) then
if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user
local data = load_data(_config.moderation.data)
local print_name = user_print_name(msg.from)... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Leafallia/Zone.lua | 34 | 1267 | -----------------------------------
--
-- Zone: Leafallia
--
-----------------------------------
package.loaded["scripts/zones/Leafallia/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Leafallia/TextIDs");
-----------------------------------
... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Warhammer Fantasy/output/rdkObjs/WarhammerFantasy/Armadura.lfm.lua | 1 | 3714 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmArmadura()
local obj = GUI.fromHandle(_obj_newObject("... | apache-2.0 |
shahabsaf1/beni-dalton | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Gerenciador de Campanha/output/rdkObjs/GerenciadorDeCampanha/01.Introducao.lfm.lua | 2 | 11051 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmGerenciador01()
local obj = GUI.fromHandle(_obj_newObj... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Northern_San_dOria/npcs/Pala_Korin.lua | 36 | 1428 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pala_Korin
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/ques... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Pack Old Dragon/output/rdkObjs/TSC/4.lfm.lua | 1 | 55252 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmTSC4_svg()
local obj = GUI.fromHandle(_obj_newObject("... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Cloister_of_Frost/npcs/Cermet_Headstone.lua | 17 | 2638 | -----------------------------------
-- Area: Cloister of Frost
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Ice Fragment)
-- @pos 566 0 606 203
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
zhaozg/luvit | tests/test-tls-sni-server-client.lua | 2 | 3150 | --[[
Copyright 2012-2015 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | apache-2.0 |
opatut/stackedfortress | src/core/resources.lua | 1 | 2333 | -- resources
require("core/helper")
Resources = class("Resources")
function Resources:__init(prefix)
self.prefix = prefix
self.imageQueue = {}
self.musicQueue = {}
self.fontQueue = {}
self.shaderQueue = {}
self.images = {}
self.music = {}
self.fonts = {}
self.shaders = {}
end
fu... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.