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 |
|---|---|---|---|---|---|
The-HalcyonDays/darkstar | scripts/globals/weaponskills/leaden_salute.lua | 12 | 4484 | -----------------------------------
-- Leaden Salute
-- Sword weapon skill
-- Skill Level: N/A
-- Delivers a Twofold attack. Damage varies with TP. Death Penalty: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Corsair) quest.
-- Aligned with the Shadow Gorget, Soil Gorge... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Pathfinder 2e/output/rdkObjs/FichaPathfinder2e/05.Magias.Descricao.lfm.lua | 3 | 6367 | 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_frmFichaRPGmeister5D_svg()
local obj = GUI.fromHandle(_ob... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Pathfinder/output/rdkObjs/FichaPathfinder/05.Magias.Descricao.lfm.lua | 3 | 6367 | 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_frmFichaRPGmeister5D_svg()
local obj = GUI.fromHandle(_ob... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Windurst_Woods/npcs/Orlaine.lua | 28 | 2049 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Orlaine
-- Chocobo Vendor
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
eric-tramel/rbm_toolbox_lua | code/dataset-mnist.lua | 4 | 7465 | require 'torch'
require 'paths'
mnist = {}
mnist.path_remote = 'https://www.dropbox.com/s/zdq98audyn8j845/mnist_lua.tar.gz?dl=0'
mnist.path_dataset = 'mnist-th7'
mnist.path_trainset = paths.concat(mnist.path_dataset, 'train.th7')
mnist.path_testset = paths.concat(mnist.path_dataset, 'test.th7')
function mnist.downlo... | bsd-3-clause |
shahabsaf1/beni-dalton | plugins/isup.lua | 741 | 3095 | do
local socket = require("socket")
local cronned = load_from_file('data/isup.lua')
local function save_cron(msg, url, delete)
local origin = get_receiver(msg)
if not cronned[origin] then
cronned[origin] = {}
end
if not delete then
table.insert(cronned[origin], url)
else
for k,v in pairs(cronned[... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/commands/completemission.lua | 25 | 1238 | ---------------------------------------------------------------------------------------------------
-- func: @completemission <logID> <missionID> <player>
-- desc: Completes the given mission for the target player, if that mission is currently active.
-----------------------------------------------------------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/RuLude_Gardens/npcs/Pakh_Jatalfih.lua | 19 | 2721 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Pakh Jatalfih
-- @pos 34 8 -35 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/slice_of_cerberus_meat.lua | 17 | 1495 | -----------------------------------------
-- ID: 5565
-- Item: slice_of_cerberus_meat
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Magic -10
-- Strength 6
-- Intelligence -6
-----------------------------------------
require("scripts/globals/status");
--------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Port_Jeuno/npcs/Dohhel.lua | 38 | 1031 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Dohhel
-- Type: Event Scene Replayer
-- @zone: 246
-- @pos -156.031 -2 6.051
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
------------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Mhaura/npcs/Lacia.lua | 17 | 3134 | -----------------------------------
-- Area: Mhaura
-- NPC: Lacia
-- Starts Quest: Trial Size Trial By Lightning
-- The "TrialSizeLightning_date" still needs to be set at the BCNM/Mob level to reflect defeat by the Avatar
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
... | gpl-3.0 |
spezi77/android_external_skia | tools/lua/glyph-counts.lua | 91 | 2733 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | bsd-3-clause |
mamaddeveloper/ghs | plugins/channels.lua | 356 | 1732 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
otservme/global1053 | data/npc/scripts/Kroox.lua | 2 | 1340 | 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, msg) npcH... | gpl-2.0 |
otservme/global1053 | data/globalevents/scripts/spawn/BossSpawn.lua | 3 | 1624 | local spawns = {
-- Vampires
[1] = {x = 32962, y = 32412, z = 12, mob="Arachir The Ancient One"},
[2] = {x = 32009, y = 32795, z = 10, mob="Diblis The Fair"},
[3] = {x = 33266, y = 31767, z = 10, mob="Sir Valorcrest"},
[4] = {x = 32788, y = 31673, z = 14, mob="Zevelon Duskbringer"},
-- Bosses
[5] = {x = 33234, ... | gpl-2.0 |
telldus/tellstick-lua-examples | basics/DorrBellBlink.lua | 1 | 1152 | -- This script can be used to make a device blink
-- It will blink for as many times configured in repeats
-- Each on/off period will be as long as configured in delay
-- Define your devices and settings here:
local blink = "Blink" -- Name of the device that should be controlled
local trigger = "Door" -- Name of the D... | mit |
rrpgfirecast/firecast | Plugins/Sheets/Ficha RPG meister/output/rdkObjs/FichaRPGmeister/03.Pericias.Pericia.lfm.lua | 1 | 14361 | 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_frmFichaRPGmeister3p_svg()
local obj = GUI.fromHandle(_ob... | apache-2.0 |
hxw804781317/MT7620N | package/ralink/ui/luci-mtk/src/modules/base/luasrc/http/protocol/conditionals.lua | 88 | 4757 | --[[
HTTP protocol implementation for LuCI - RFC2616 / 14.19, 14.24 - 14.28
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
... | gpl-2.0 |
hxw804781317/MT7620N | package/ralink/ui/luci-mtk/src/modules/base/luasrc/sgi/uhttpd.lua | 54 | 2488 | --[[
LuCI - Server Gateway Interface for the uHTTPd server
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
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/LICENS... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Southern_San_dOria/npcs/Collione.lua | 36 | 1684 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Collione
-- General Info NPC
-- @zone 230
-- @pos 10 2 -66
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
coltonj96/UsefulCombinators | UsefulCombinators_0.3.5/prototypes/recipe/recipes.lua | 7 | 4503 | data:extend({
{
type = "recipe",
name = "timer-combinator",
enabled = "false",
ingredients =
{
{"arithmetic-combinator", 1},
{"constant-combinator", 1}
},
result = "timer-combinator"
},
{
type = "recipe",
name = "counting-combinator",
enabled = "f... | mit |
rrpgfirecast/firecast | Macros/Storytelling/v5.lua | 1 | 3463 | -- MACRO [V:AM - V5 2.0] RRPG8
-- INICIALIZANDO E CAPTANDO VARIÁVEIS E ARGUMENTOS
local dados = tonumber(arg[1]) or 1;
local fome = tonumber(arg[2]) or 0;
local teste = 0;
local dificuldade = 6;
-- TRATANDO VARIÁVEIS
if dados < 1 then dados = 1 end;
if fome < 0 then fome = 0 end;
-- ANUNC... | apache-2.0 |
eric-tramel/rbm_toolbox_lua | code/dataset-from-tensor.lua | 5 | 2354 | require 'torch'
require 'paths'
datatensor = {}
function datatensor.createDataset(tensor,labels,classes,geometry)
local cdataset = {}
if tensor:dim() ~= 3 then
print("Tensor dim must be batches X datadim1 X datadim2")
error()
end
local tensor = tensor:clone()
local labels = labels:clone()... | bsd-3-clause |
Zarty55/gumnating | gun/materials/liquid.lua | 1 | 1139 | local Material = require("gun.materials.material")
local Liquid = Material:inh{
specificheat = 40, -- in cal/kg*K -- calories per kilogram per kelvin
heatconductivity = 9, -- in cal/s*dT -- calories per second per (diference of temperature) -- this is for all 4 directions
--Example: {temperature, r, g, b}
co... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/serving_of_goblin_stir-fry.lua | 35 | 1286 | -----------------------------------------
-- ID: 5143
-- Item: serving_of_goblin_stir-fry
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 5
-- Vitality 2
-- Charisma -5
-----------------------------------------
require("scripts/globals/status");
---------------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/_5a0.lua | 8 | 2391 | -----------------------------------
-- Area: King Ranperre's Tomb
-- DOOR: _5a0 (Heavy Stone Door)
-- @pos -39.000 4.823 20.000 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
re... | gpl-3.0 |
Zarty55/gumnating | libs/lovebird/lovebird.lua | 5 | 17982 | --
-- lovebird
--
-- Copyright (c) 2014, rxi
--
-- This library is free software; you can redistribute it and/or modify it
-- under the terms of the MIT license. See LICENSE for details.
--
local socket = require "socket"
local lovebird = { _version = "0.3.0" }
lovebird.loadstring = loadstring or load
lovebird.inite... | apache-2.0 |
TomyLobo/routes | docgen/docgen.lua | 1 | 9091 | dofile("docgen/libextra.lua")
dofile("docgen/template.lua")
-- constants
JAVA_IDENTIFIER = "[A-Za-z_][A-Za-z0-9_]*"
-- states
NONE = 0
IN_COMMENT = 1
AFTER_COMMENT = 2
-- constants that might show up in annotations
Command = { DISABLED = "DISABLED" }
-- folders to scan for commands and config items
l... | lgpl-3.0 |
zhaozg/luvit | tests/test-tls-connect-simple-twice.lua | 11 | 1173 | require('tap')(function (test)
local fixture = require('./fixture-tls')
local tls = require('tls')
local options = {
cert = fixture.certPem,
key = fixture.keyPem
}
local serverConnected = 0
local clientConnected = 0
test("tls connect simple twice", function()
local server
server = tls.c... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Isdebaaq.lua | 30 | 3597 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Isdebaaq
-- Type: Assault Mission Giver
-- @pos 127.565 0.161 -43.846 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/ke... | gpl-3.0 |
Therzok/WhatToDo | WhatToDo.lua | 1 | 19528 | --[[
TODO: UI for 'finishing' quests.
TODO: Small tracker.
TODO: Node coloring.
TODO: Minimum Level option and levelup.
TODO: Investigate Quest:GetPathQuestType()
]]
require "CraftingLib"
require "GameLib"
require "Money"
require "PlayerPathLib"
require "Quest"
require "math"
require "os"
require "table"
local D... | mit |
The-HalcyonDays/darkstar | scripts/globals/spells/wind_carol.lua | 13 | 1501 | -----------------------------------------
-- Spell: Wind Carol
-- Increases wind resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e2.lua | 7 | 1332 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Cermet Gate - Mea
-- @pos 280 -86 -19
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Hall_o... | gpl-3.0 |
GoblinInventor/Snail | camera.lua | 2 | 2980 | --[[
Copyright (c) 2010 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribu... | mit |
rgieseke/scintillua | lexers/nim.lua | 1 | 4440 | -- Copyright 2006-2018 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Nim 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('nim', {fold_by_indentation = true})
-- Whitespace.
lex:add_rule('whitespace', ... | mit |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/blade_teki.lua | 30 | 1242 | -----------------------------------
-- Blade Teki
-- Katana weapon skill
-- Skill Level: 70
-- Decription: Deals water elemental damage. Damage varies with TP.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: Water
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300%TP
-- 0.5... | gpl-3.0 |
vasilenkomike/tarantool | test/box/update.test.lua | 6 | 9750 | s = box.schema.space.create('tweedledum')
index = s:create_index('pk')
-- test delete field
s:insert{1000001, 1000002, 1000003, 1000004, 1000005}
s:update({1000001}, {{'#', 1, 1}})
s:truncate()
-- test arithmetic
s:insert{1, 0}
s:update(1, {{'+', 2, 10}})
s:update(1, {{'+', 2, 15}})
s:update(1, {{'-', 2, 5}})
s:updat... | bsd-2-clause |
The-HalcyonDays/darkstar | scripts/globals/abilities/charm.lua | 28 | 1164 | -----------------------------------
-- Ability: Charm a monster
-- Tames a monster to fight by your side.
-- Obtained: Beastmaster Level 1
-- Recast Time: 0:15
-- Duration: Varies
-- Check |Duration
-- ---------------- |--------------
-- Too Weak |30 Minutes
-- Easy Prey |20 Minutes
... | gpl-3.0 |
zhaozg/luvit | deps/http.lua | 2 | 14470 | --[[
Copyright 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 agr... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Shadowrun 5E/output/rdkObjs/Shadowrun5E/Main.lfm.lua | 1 | 430279 | 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_frmTemplate()
local obj = GUI.fromHandle(_obj_newObject("... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Herois d20/output/rdkObjs/FichaHerois/08.Companheiro.Select.lfm.lua | 4 | 3474 | 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_frmFichaRPGmeister8CS_svg()
local obj = GUI.fromHandle(_o... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/burning_claymore.lua | 16 | 1034 | -----------------------------------------
-- ID: 16929
-- Item: Burning Claymore
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
---------------------------... | gpl-3.0 |
coltonj96/UsefulCombinators | UsefulCombinators_0.3.5/prototypes/item/items.lua | 7 | 6509 | data:extend(
{
{
type = "item",
name = "timer-combinator",
icon = "__UsefulCombinators__/graphics/icons/timer-combinator.png",
flags = { "goes-to-quickbar" },
group = "useful-combinators",
subgroup = "main",
place_result="timer-combinator",
order = "a[timer]",
stack_siz... | mit |
coltonj96/UsefulCombinators | UsefulCombinators_0.0.4/prototypes/recipe/recipes.lua | 4 | 1160 | data:extend({
{
type = "recipe",
name = "timer-combinator",
enabled = "false",
ingredients =
{
{"arithmetic-combinator", 1},
{"constant-combinator", 1}
},
result = "timer-combinator"
},
{
type = "recipe",
name = "counting-combinator",
enabled = "f... | mit |
Stanzilla/prat-3-0 | fonts/fonts.lua | 1 | 1359 | local LSM = LibStub("LibSharedMedia-3.0")
if not LSM then return end -- Oh No Mr. Nil!
local folder = [[Prat-3.0\fonts\]]
-- From SharedMedia
LSM:Register("font", "Bazooka", [[Interface\Addons\]] .. folder .. [[Bazooka.ttf]])
LSM:Register("font", "DorisPP", [[Interface\Addons\]] .. folder ..... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/ChatMods/Dealer/Dealer.lua | 1 | 26733 | require("rrpg.lua");
require("vhd.lua");
require("utils.lua");
require("ndb.lua");
require("internet.lua");
require("locale.lua");
dealerDB = NDB.load("dealer.xml");
if (dealerDB.rooms == nil) then
dealerDB.rooms = {};
end;
-- FUNCTIONS
local function initializeRoom(mesa)
if dealerDB.rooms[mesa.codigoInterno] =... | apache-2.0 |
coltonj96/UsefulCombinators | UsefulCombinators_0.2.5/prototypes/technology/technology.lua | 4 | 2256 | 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/globals/items/rolanberry_(881_ce).lua | 35 | 1205 | -----------------------------------------
-- ID: 4529
-- Item: rolanberry_881_ce)
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha 13º Era/sdk/ndb.lua | 89 | 20615 | local objs = require("rrpgObjs.lua");
local vhd = require("vhd");
require("utils.lua");
ndb = {}
NDB = ndb;
local localNDB = {};
local _localOpenNDBs = {}
setmetatable(_localOpenNDBs, objs.weakMetatable);
function localNDB.ndbFromHandle(handle)
local ctrl;
if handle ~= nil then
ctrl = objs.tryFindFromHandle(h... | apache-2.0 |
rrpgfirecast/firecast | Plugins/ChatMods/RoletaRussa/sdk/ndb.lua | 89 | 20615 | local objs = require("rrpgObjs.lua");
local vhd = require("vhd");
require("utils.lua");
ndb = {}
NDB = ndb;
local localNDB = {};
local _localOpenNDBs = {}
setmetatable(_localOpenNDBs, objs.weakMetatable);
function localNDB.ndbFromHandle(handle)
local ctrl;
if handle ~= nil then
ctrl = objs.tryFindFromHandle(h... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Cyberpunk 2020/sdk/ndb.lua | 89 | 20615 | local objs = require("rrpgObjs.lua");
local vhd = require("vhd");
require("utils.lua");
ndb = {}
NDB = ndb;
local localNDB = {};
local _localOpenNDBs = {}
setmetatable(_localOpenNDBs, objs.weakMetatable);
function localNDB.ndbFromHandle(handle)
local ctrl;
if handle ~= nil then
ctrl = objs.tryFindFromHandle(h... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Tormenta Imperio De Jade/sdk/ndb.lua | 89 | 20615 | local objs = require("rrpgObjs.lua");
local vhd = require("vhd");
require("utils.lua");
ndb = {}
NDB = ndb;
local localNDB = {};
local _localOpenNDBs = {}
setmetatable(_localOpenNDBs, objs.weakMetatable);
function localNDB.ndbFromHandle(handle)
local ctrl;
if handle ~= nil then
ctrl = objs.tryFindFromHandle(h... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha RPG meister/sdk/ndb.lua | 89 | 20615 | local objs = require("rrpgObjs.lua");
local vhd = require("vhd");
require("utils.lua");
ndb = {}
NDB = ndb;
local localNDB = {};
local _localOpenNDBs = {}
setmetatable(_localOpenNDBs, objs.weakMetatable);
function localNDB.ndbFromHandle(handle)
local ctrl;
if handle ~= nil then
ctrl = objs.tryFindFromHandle(h... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha 3D&T RAT/sdk/ndb.lua | 89 | 20615 | local objs = require("rrpgObjs.lua");
local vhd = require("vhd");
require("utils.lua");
ndb = {}
NDB = ndb;
local localNDB = {};
local _localOpenNDBs = {}
setmetatable(_localOpenNDBs, objs.weakMetatable);
function localNDB.ndbFromHandle(handle)
local ctrl;
if handle ~= nil then
ctrl = objs.tryFindFromHandle(h... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Lobisomem O Apocalipse/sdk/ndb.lua | 89 | 20615 | local objs = require("rrpgObjs.lua");
local vhd = require("vhd");
require("utils.lua");
ndb = {}
NDB = ndb;
local localNDB = {};
local _localOpenNDBs = {}
setmetatable(_localOpenNDBs, objs.weakMetatable);
function localNDB.ndbFromHandle(handle)
local ctrl;
if handle ~= nil then
ctrl = objs.tryFindFromHandle(h... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Pokemon D20/sdk/ndb.lua | 89 | 20615 | local objs = require("rrpgObjs.lua");
local vhd = require("vhd");
require("utils.lua");
ndb = {}
NDB = ndb;
local localNDB = {};
local _localOpenNDBs = {}
setmetatable(_localOpenNDBs, objs.weakMetatable);
function localNDB.ndbFromHandle(handle)
local ctrl;
if handle ~= nil then
ctrl = objs.tryFindFromHandle(h... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Mighty Blade 3e/sdk/ndb.lua | 89 | 20615 | local objs = require("rrpgObjs.lua");
local vhd = require("vhd");
require("utils.lua");
ndb = {}
NDB = ndb;
local localNDB = {};
local _localOpenNDBs = {}
setmetatable(_localOpenNDBs, objs.weakMetatable);
function localNDB.ndbFromHandle(handle)
local ctrl;
if handle ~= nil then
ctrl = objs.tryFindFromHandle(h... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ordem Paranormal/sdk/ndb.lua | 89 | 20615 | local objs = require("rrpgObjs.lua");
local vhd = require("vhd");
require("utils.lua");
ndb = {}
NDB = ndb;
local localNDB = {};
local _localOpenNDBs = {}
setmetatable(_localOpenNDBs, objs.weakMetatable);
function localNDB.ndbFromHandle(handle)
local ctrl;
if handle ~= nil then
ctrl = objs.tryFindFromHandle(h... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Travonce.lua | 38 | 1047 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Travonce
-- Type: Standard NPC
-- @zone: 26
-- @pos -89.068 -14.367 -0.030
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
--... | gpl-3.0 |
Tenrys/mgn | lua/entities/mgn_floor_lights/cl_init.lua | 1 | 1304 | include("shared.lua")
ENT.Sprite = Material("sprites/light_glow02_add")
ENT.Green = Color(0, 255, 0, 255)
function ENT:Initialize()
self:AddEffects(bit.bor(EF_NOSHADOW, EF_NORECEIVESHADOW))
self.CurrentLight = 0
end
function ENT:Think()
if self:GetEnabled() then
self.CurrentLight = (self.CurrentLight + 1) % se... | bsd-3-clause |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Cyberpunk 2020/output/rdkObjs/Cyberpunk2020/Blank.lfm.lua | 2 | 2424 | 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_frmBlank()
local obj = GUI.fromHandle(_obj_newObject("for... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Ragnarock/sdk/rrpgRequests.lua | 2 | 2174 | local rrpg = require("rrpg.lua");
local rrpgObjs = require("rrpgObjs.lua");
require("rrpgUtil");
local messaging = rrpg.messaging;
local requests = rrpgObjs.objectFromHandle(_obj_newObject("TRRPGLuaRequests"));
rrpgObjs.registerHandle(requests.handle, requests);
local sessionLostMessage = "A conexão com o servidor fo... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Shadowrun 5E/output/rdkObjs/Shadowrun5E/Blank.lfm.lua | 2 | 2424 | 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_frmBlank()
local obj = GUI.fromHandle(_obj_newObject("for... | apache-2.0 |
otservme/global1053 | data/actions/scripts/shadows of yalahar quest/ritual09.lua | 2 | 4889 | -- Script feito por Yuri Lagrotta --
-- Não retire os creditos --
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.actionid == 59530 then
if(item.itemid == 10111) then
if(getPlayerStorageValue(cid, 95592) == 23) and getPlayerStorageValue(cid, 91325) < 1 then
doCreatureSay(cid, "Yo... | gpl-2.0 |
ccw808/mtasa-blue | utils/buildactions/install_discord.lua | 4 | 1798 | require 'utils'
premake.modules.install_discord = {}
-- Config variables
local DISCORD_BASEURL = "https://github.com/multitheftauto/discord_game_sdk/releases/download/"
local DISCORD_FILENAME = "cpp_x86.zip"
local DISCORD_VENDOR = "vendor/discordgsdk"
-- Change these to update the version
local DISCORD_TAG = "v2020-... | gpl-3.0 |
rgieseke/scintillua | lexers/css.lua | 1 | 8616 | -- Copyright 2006-2018 Mitchell mitchell.att.foicica.com. See LICENSE.
-- CSS LPeg lexer.
local lexer = require('lexer')
local token, word_match = lexer.token, lexer.word_match
local P, R, S, V = lpeg.P, lpeg.R, lpeg.S, lpeg.V
local lex = lexer.new('css')
-- Whitespace.
lex:add_rule('whitespace', token(lexer.WHITESP... | mit |
rrpgfirecast/firecast | Plugins/Sheets/Ficha RPG meister/output/rdkObjs/FichaRPGmeister/RecordListForm.lfm.lua | 1 | 4820 | 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_frmRecordListForm()
local obj = GUI.fromHandle(_obj_newOb... | apache-2.0 |
rainfiel/ejoy2d | examples/ex08.lua | 20 | 1363 | -- This example show how user defined shader works
local ej = require "ejoy2d"
local fw = require "ejoy2d.framework"
local pack = require "ejoy2d.simplepackage"
pack.load {
pattern = fw.WorkDir..[[examples/asset/?]],
"sample",
}
-- define a shader
local s = ej.define_shader {
name = "EXAMPLE",
fs = [[
varying v... | mit |
The-HalcyonDays/darkstar | scripts/globals/items/jar_of_marinara_sauce.lua | 36 | 1162 | -----------------------------------------
-- ID: 5747
-- Item: Jar of Marinara Sauce
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Mind 2
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Pokemon D20/output/rdkObjs/FichaPKMN/PKMN.3.MOVE.lfm.lua | 1 | 31507 | 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_frmPKMN3MOVE()
local obj = GUI.fromHandle(_obj_newObject(... | apache-2.0 |
saik0/openwrt-packages | net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/memberconfig.lua | 110 | 1317 | -- ------ extra functions ------ --
function cbi_add_interface(field)
uci.cursor():foreach("mwan3", "interface",
function (section)
field:value(section[".name"])
end
)
end
-- ------ member configuration ------ --
dsp = require "luci.dispatcher"
arg[1] = arg[1] or ""
m5 = Map("mwan3", translate("MWAN Membe... | gpl-2.0 |
FluffyGods/IBG-Afghan-War-TDM-Content | IBG Afghan War TDM Content/lua/entities/wac_pl_base/init.lua | 1 | 6846 |
include("shared.lua")
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
ENT.IgnoreDamage = true
ENT.UsephysRotor = true
ENT.Submersible = false
ENT.CrRotorWash = true
ENT.RotorWidth = 10
ENT.rotorDir = 1
ENT.BackRotorDir = 1
ENT.rotorPos = Vector(83, 0, 0.5)
ENT.BackRotorPos = Vector(-400,5,137)
EN... | apache-2.0 |
rrpgfirecast/firecast | Macros/Cards/Uno.lua | 1 | 5054 | local Resultados = {
"[§k4]S[§k1]ete [§k4]V[§k1]ermelho",
"[§k8]N[§k1]ove [§k8]A[§k1]marelo",
"[§k9]D[§k1]ois [§k9]V[§k1]erde",
"[§k12]+2 [§k12]A[§k1]zul",
"[§k4]Z[§k1]ero [§k4]V[§k1]ermelho",
"[§k8]Q[§k1]uatro [§k8]A[§k1]marelo",
"[§k4]Co[§k9]rin[§k8]ga",
"[§k9]U[§k1]m [§k9]V[§k1]erde",
"[§k12]N[§k1]ove [§k12]A[§k1]zu... | apache-2.0 |
rgieseke/scintillua | lexers/powershell.lua | 1 | 2009 | -- Copyright 2015-2018 Mitchell mitchell.att.foicica.com. See LICENSE.
-- PowerShell LPeg lexer.
-- Contributed by Jeff Stone.
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('powershell')
-- Whitespace.
lex:add_rule(... | mit |
The-HalcyonDays/darkstar | scripts/zones/Sea_Serpent_Grotto/Zone.lua | 20 | 1928 | -----------------------------------
--
-- Zone: Sea_Serpent_Grotto (176)
--
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Se... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Lobisomem O Apocalipse/sdk/rrpgWrappers.lua | 89 | 25868 | local objs = require("rrpgObjs.lua");
local SharedObjects = require("rrpgSharedObjects.lua");
local rrpgWrappers = {};
local localStrongRefContextoObjects = {};
local SHARED_OBJECT_TYPE = "rrpgObject";
--[ Anti Flood System ]--
local function newTimedJobQueue(interval)
local o = {};
o.interval = interval;... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Call Of Cthulhu Dark Ages/sdk/rrpgWrappers.lua | 89 | 25868 | local objs = require("rrpgObjs.lua");
local SharedObjects = require("rrpgSharedObjects.lua");
local rrpgWrappers = {};
local localStrongRefContextoObjects = {};
local SHARED_OBJECT_TYPE = "rrpgObject";
--[ Anti Flood System ]--
local function newTimedJobQueue(interval)
local o = {};
o.interval = interval;... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Tormenta 20/sdk/rrpgWrappers.lua | 89 | 25868 | local objs = require("rrpgObjs.lua");
local SharedObjects = require("rrpgSharedObjects.lua");
local rrpgWrappers = {};
local localStrongRefContextoObjects = {};
local SHARED_OBJECT_TYPE = "rrpgObject";
--[ Anti Flood System ]--
local function newTimedJobQueue(interval)
local o = {};
o.interval = interval;... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Log Horizon/sdk/rrpgWrappers.lua | 89 | 25868 | local objs = require("rrpgObjs.lua");
local SharedObjects = require("rrpgSharedObjects.lua");
local rrpgWrappers = {};
local localStrongRefContextoObjects = {};
local SHARED_OBJECT_TYPE = "rrpgObject";
--[ Anti Flood System ]--
local function newTimedJobQueue(interval)
local o = {};
o.interval = interval;... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha 13º Era/sdk/rrpgWrappers.lua | 89 | 25868 | local objs = require("rrpgObjs.lua");
local SharedObjects = require("rrpgSharedObjects.lua");
local rrpgWrappers = {};
local localStrongRefContextoObjects = {};
local SHARED_OBJECT_TYPE = "rrpgObject";
--[ Anti Flood System ]--
local function newTimedJobQueue(interval)
local o = {};
o.interval = interval;... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Demônio A Queda/sdk/rrpgWrappers.lua | 89 | 25868 | local objs = require("rrpgObjs.lua");
local SharedObjects = require("rrpgSharedObjects.lua");
local rrpgWrappers = {};
local localStrongRefContextoObjects = {};
local SHARED_OBJECT_TYPE = "rrpgObject";
--[ Anti Flood System ]--
local function newTimedJobQueue(interval)
local o = {};
o.interval = interval;... | apache-2.0 |
rrpgfirecast/firecast | Plugins/ChatMods/Memes Saver/sdk/rrpgWrappers.lua | 89 | 25868 | local objs = require("rrpgObjs.lua");
local SharedObjects = require("rrpgSharedObjects.lua");
local rrpgWrappers = {};
local localStrongRefContextoObjects = {};
local SHARED_OBJECT_TYPE = "rrpgObject";
--[ Anti Flood System ]--
local function newTimedJobQueue(interval)
local o = {};
o.interval = interval;... | apache-2.0 |
rrpgfirecast/firecast | Plugins/ChatMods/MacroButtons/sdk/rrpgWrappers.lua | 89 | 25868 | local objs = require("rrpgObjs.lua");
local SharedObjects = require("rrpgSharedObjects.lua");
local rrpgWrappers = {};
local localStrongRefContextoObjects = {};
local SHARED_OBJECT_TYPE = "rrpgObject";
--[ Anti Flood System ]--
local function newTimedJobQueue(interval)
local o = {};
o.interval = interval;... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/mobskills/PW_Pinning_Shot.lua | 25 | 1177 | ---------------------------------------------
-- Pinning Shot
--
-- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Bind
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown
-- Notes: Used only by Medusa.
----------------------------------... | gpl-3.0 |
JohnTM/Craft-Examples | Learn Craft.codea/Cameras.lua | 1 | 1865 | -- Craft Camera
function setup()
-- Create a new craft scene
scene = craft.scene()
scene.sky.active = false
createGround(-1.125)
-- The scene.camera entity only lets you control the camera postion / rotation
-- The camera component has settings for things like the field of view and helper me... | apache-2.0 |
ZDragonBot/DragonFull | plugins/banhammer.lua | 60 | 11556 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/tavnazian_sheep_liver.lua | 36 | 1221 | -----------------------------------------
-- ID: 5154
-- Item: Tavnazian Sheep Liver
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 2
-- Intelligence -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnI... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/serving_of_shallops_tropicale.lua | 35 | 1552 | -----------------------------------------
-- ID: 4554
-- Item: serving_of_shallops_tropicale
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Dexterity 1
-- Vitality 4
-- Intelligence 1
-- Defense % 25
-- Defense Cap 100
-----------------------------------------
r... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/loaf_of_iron_bread.lua | 35 | 1197 | -----------------------------------------
-- ID: 4499
-- Item: loaf_of_iron_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 4
-- Vitality 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
leafo/luarocks | src/luarocks/util.lua | 5 | 17506 |
--- Assorted utilities for managing tables, plus a scheduler for rollback functions.
-- Does not requires modules directly (only as locals
-- inside specific functions) to avoid interdependencies,
-- as this is used in the bootstrapping stage of luarocks.cfg.
--module("luarocks.util", package.seeall)
local util = {}
... | mit |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Shadowrun 5E/output/rdkObjs/Shadowrun5E/03.Qualities.Quality.lfm.lua | 1 | 5257 | 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_frmQuality()
local obj = GUI.fromHandle(_obj_newObject("f... | apache-2.0 |
APItools/monitor | lua/error_handler.lua | 2 | 1439 | local luajson = require 'json'
local error_handler = {}
local function get_status_and_message_from(err)
local status, message, traceback = ngx.HTTP_INTERNAL_SERVER_ERROR, "Unknown error"
if type(err) == 'table' then
status = err.status or status
message = err.message or message
traceback = err.tr... | mit |
laroccrj/BattleStratego | game/dota_addons/Battle Stratego/scripts/vscripts/internal/util.lua | 9 | 1866 | function DebugPrint(...)
local spew = Convars:GetInt('barebones_spew') or -1
if spew == -1 and BAREBONES_DEBUG_SPEW then
spew = 1
end
if spew == 1 then
print(...)
end
end
function DebugPrintTable(...)
local spew = Convars:GetInt('barebones_spew') or -1
if spew == -1 and BAREBONES_DEBUG_SPEW then... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Windurst_Waters/npcs/Hakeem.lua | 53 | 1824 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Hakeem
-- Type: Cooking Image Support
-- @pos -123.120 -2.999 65.472 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requir... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/shadow_of_death.lua | 29 | 1260 | -----------------------------------
-- 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 20... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Apollyon/bcnms/Central_Apollyon.lua | 13 | 1179 | -----------------------------------
-- Area: Appolyon
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[Central_Apollyon]UniqueID",G... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Silver_Sea_Remnants/Zone.lua | 36 | 1134 | -----------------------------------
--
-- Zone: Silver_Sea_Remnants
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Silver_Sea_Remnants/TextIDs"] = nil;
require("scripts/zones/Silver_Sea_Remnants/TextIDs");
-----------------------------------
-- ... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Port_Windurst/npcs/Zoreen.lua | 36 | 1467 | -----------------------------------
-- Area: Port Windurst
-- NPC: Zoreen
-- Regional Marchant NPC
-- Only sells when Windurst controls Valdeaunia
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["sc... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Attohwa_Chasm/mobs/Alastor_Antlion.lua | 14 | 1929 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Alastor Antlion
-- ID:
-----------------------------------
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
... | gpl-3.0 |
mcodegeeks/OpenKODE-Framework | 03_Tutorial/T02_XMCocos2D-v3-Lua/Resource/luaScript/ExtensionTest/ExtensionTest.lua | 3 | 48250 | require "luaScript/ExtensionTest/CocosBuilderTest"
require "luaScript/ExtensionTest/WebProxyTest"
local LINE_SPACE = 40
local kItemTagBasic = 1000
local ExtensionTestEnum =
{
TEST_NOTIFICATIONCENTER = 0,
TEST_CCCONTROLBUTTON = 1,
TEST_COCOSBUILDER = 2,
TEST_WEBSOCKET = 3,
TEST_E... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.