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 |
|---|---|---|---|---|---|
marcelstoer/nodemcu-firmware | lua_modules/ds18b20/ds18b20.lua | 2 | 7654 | --------------------------------------------------------------------------------
-- DS18B20 one wire module for NODEMCU
-- NODEMCU TEAM
-- LICENCE: http://opensource.org/licenses/MIT
-- @voborsky, @devsaurus, TerryE 26 Mar 2017
--------------------------------------------------------------------------------
local modn... | mit |
Baylamon/Illarion-Content | item/id_313_glassmeltoven.lua | 4 | 1704 | --[[
Illarion Server
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
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
g0g0dancer/searework | scripts/armbrtha.lua | 11 | 1839 | local ground = piece 'ground'
local base = piece 'base'
local flare = piece 'flare'
local muzzle = piece 'muzzle'
local turret = piece 'turret'
local barrel = piece 'barrel'
local barrel_back = piece 'barrel_back'
local sleeve = piece 'sleeve'
include "constants.lua"
include "pieceControl.lua"
local spGetUnit... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Horlais_Peak/bcnms/horns_of_war.lua | 6 | 1766 | -----------------------------------
-- Area: Horlias peak
-- Name: horns of war
-- KSNM99
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/Horl... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Carpenters_Landing/mobs/Cryptonberry_Assassin.lua | 2 | 1350 | -----------------------------------
-- Area: Carpenters' Landing
-- NPC: Cryptonberry_Assassin
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function OnMobSpawn(mob)
end;
-----------------------------------
-- onMobFight... | gpl-3.0 |
salamader/ffxi-a | scripts/globals/spells/boost-chr.lua | 2 | 1040 | --------------------------------------
-- Spell: Boost-CHR
-- Boosts targets CHR stat
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
----------------... | gpl-3.0 |
Skyscanner/kong | kong/plugins/request_transformer/access.lua | 17 | 3899 | local utils = require "kong.tools.utils"
local stringy = require "stringy"
local Multipart = require "multipart"
local _M = {}
local CONTENT_LENGTH = "content-length"
local FORM_URLENCODED = "application/x-www-form-urlencoded"
local MULTIPART_DATA = "multipart/form-data"
local CONTENT_TYPE = "content-type"
local fun... | mit |
Baylamon/Illarion-Content | lte/debuff_perception.lua | 5 | 1184 | --[[
Illarion Server
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
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
poire-z/koreader | frontend/ui/elements/refresh_menu_table.lua | 4 | 5210 | local Event = require("ui/event")
local UIManager = require("ui/uimanager")
local _ = require("gettext")
local T = require("ffi/util").template
local function custom(refresh_rate_num)
local default_value
if refresh_rate_num == "refresh_rate_1" then
default_value = 12
elseif refresh_rate_num == "ref... | agpl-3.0 |
salamader/ffxi-a | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Water.lua | 7 | 2265 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Water
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/global... | gpl-3.0 |
kennykwok1/PlaygroundOSS | Tutorial/24.Canvas/.publish/iphone/Canvas.lua | 3 | 3460 | function setup()
syslog("a")
tskCanvas = UI_Canvas(
nil,
7000,
20,
20,
2000,
2000,
"drawfunc"
)
syslog("b")
sysCommand(tskCanvas, UI_CANVAS_ADDRESOURCE, "asset://TileA.png.imag") -- 0
sysCommand(tskCanvas, UI_CANVAS_ADDRESOURCE, "asset://TileB.png.imag") -- 1
sysCommand(tskCanvas, UI_CANVAS_ADDRESO... | apache-2.0 |
SirFrancisBillard/stupid-ttt | stupid-ttt/lua/weapons/weapon_ttt_sipistol.lua | 1 | 1748 | AddCSLuaFile()
SWEP.HoldType = "pistol"
if CLIENT then
SWEP.PrintName = "sipistol_name"
SWEP.Slot = 6
SWEP.ViewModelFlip = false
SWEP.ViewModelFOV = 54
SWEP.EquipMenuData = {
type = "item_weapon",
desc = "sipistol_desc"
};
SWEP.Icon = "vgui/tt... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/West_Sarutabaruta/npcs/Harvesting_Point.lua | 6 | 1123 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/West_Sarutabaruta/T... | gpl-3.0 |
ryan404000/Tides-of-Darkness | common/defines.lua | 1 | 77089 | NDefines = {
NDiplomacy = {
PRESTIGE_LOSS_ON_SEND_GIFT_DECLINE = 10, -- OBSOLETE
PIETY_FROM_CHURCH_GIFTS = 3, -- OBSOLETE
BREAK_TRUCE_PRESTIGE_PERC_COST = 0.5, -- Percent of current prestige lost before the base prestige cost (below)
BREAK_TRUCE_PRESTIGE_COST = 200, -- Base Prestige cost for breaking a truce... | gpl-2.0 |
g0g0dancer/searework | LuaUI/Widgets/unit_ghostSite.lua | 1 | 7211 | -- $Id$
local versionNumber = "1.03"
local devCompat = Spring.Utilities.IsCurrentVersionNewerThan(100, 0)
function widget:GetInfo()
return {
name = "Ghost Site",
desc = "[v" .. string.format("%s", versionNumber) .. "] Displays ghosted buildings in progress and features",
author = "very_bad_soldier"... | gpl-2.0 |
spark051/sparkbot | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
botnex1122/uzzbot | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
NathanLawrence/keys | Build/VSCOKeys.lrplugin/halfway_server/socket/tp.lua | 146 | 3608 | -----------------------------------------------------------------------------
-- Unified SMTP/FTP subsystem
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: tp.lua,v 1.22 2006/03/14 09:04:15 diego Exp $
-----------------------------------------------------------------------------
--------------------------... | gpl-2.0 |
1st8/prosody-modules | mod_limit_auth/mod_limit_auth.lua | 31 | 1377 | -- mod_limit_auth
local st = require"util.stanza";
local new_throttle = require "util.throttle".create;
local period = math.max(module:get_option_number(module.name.."_period", 30), 0);
local max = math.max(module:get_option_number(module.name.."_max", 5), 1);
local tarpit_delay = module:get_option_number(module.nam... | mit |
salamader/ffxi-a | scripts/zones/Lower_Jeuno/npcs/Home_Point.lua | 3 | 1187 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Home Point
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
Piotr3k1447/forgottenserver | data/npc/scripts/The Oracle.lua | 4 | 3587 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local vocation = {}
local town = {}
local destination = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreat... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Al_Zahbi/npcs/Allard.lua | 37 | 1186 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Allard
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/zones/Al_Zahbi/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
davedevils/MineClone | mods/builtin_item/init.lua | 3 | 4940 | minetest.register_entity(":__builtin:item", {
initial_properties = {
hp_max = 1,
physical = true,
collisionbox = {-0.07,-0.07,-0.07, 0.07,0.07,0.07},
visual = "sprite",
visual_size = {x=0.5, y=0.5},
textures = {""},
spritediv = {x=1, y=1},
initial_sprite_basepos = {x=0, y=0},
is_visible = false,
ti... | lgpl-2.1 |
ArmanIr/olalala | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/abilities/pets/water_ii.lua | 2 | 1159 | ---------------------------------------------------
-- Aero 2
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
------------------------------------------... | gpl-3.0 |
salamader/ffxi-a | scripts/globals/spells/learned_etude.lua | 2 | 1640 | --------------------------------------
-- Spell: Learned Etude
-- Boosts targets INT stat
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
------------... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Port_Windurst/npcs/Panja-Nanja.lua | 5 | 1038 | -----------------------------------
-- Area: Port Windurst
-- NPC: Panja-Nanja
-- Type: Head Craftsman
-- @zone: 240
-- @pos: -194.499 -3 58.692
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------... | gpl-3.0 |
salamader/ffxi-a | scripts/globals/weaponskills/seraph_blade.lua | 6 | 1226 | -----------------------------------
-- Seraph Blade
-- Sword weapon skill
-- Skill Level: 125
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Ignores shadows.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: Light
-- Modifiers: STR:30% ; MND:30%
-- 100%... | gpl-3.0 |
poire-z/koreader | plugins/coverimage.koplugin/main.lua | 4 | 32431 | --[[--
@module koplugin.coverimage
Plugin for saving a cover image to a file and scaling it to fit the screen.
]]
local Device = require("device")
if not (Device.isAndroid() or Device.isEmulator() or Device.isRemarkable() or Device.isPocketBook()) then
return { disabled = true }
end
local A, android = pcall(req... | agpl-3.0 |
boyuegame/skynet | lualib/mqueue.lua | 115 | 1798 | -- This is a deprecated module, use skynet.queue instead.
local skynet = require "skynet"
local c = require "skynet.core"
local mqueue = {}
local init_once
local thread_id
local message_queue = {}
skynet.register_protocol {
name = "queue",
-- please read skynet.h for magic number 8
id = 8,
pack = skynet.pack,
u... | mit |
hurricup/WoW-Ace3 | AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua | 12 | 7255 | --[[-----------------------------------------------------------------------------
EditBox Widget
-------------------------------------------------------------------------------]]
local Type, Version = "EditBox", 26
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or... | bsd-3-clause |
ArmanIr/olalala | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
poire-z/koreader | frontend/apps/reader/modules/readerfont.lua | 3 | 38045 | local BD = require("ui/bidi")
local CenterContainer = require("ui/widget/container/centercontainer")
local ConfirmBox = require("ui/widget/confirmbox")
local Device = require("device")
local Event = require("ui/event")
local Font = require("ui/font")
local FontList = require("fontlist")
local InfoMessage = require("ui/... | agpl-3.0 |
CapsAdmin/goluwa | game/lua/examples/barcode.lua | 1 | 1276 | local tex = render.CreateTextureFromPath("http://lempickarecords.com/wp-content/uploads/2013/01/oz-barcodes.png")
event.AddListener("PostDrawGUI", "test", function()
gfx.DrawRect(0, 0, tex:GetSize().x, tex:GetSize().y, tex)
local mpos = window.GetMousePosition()
local i = 0
local avg = 0
local w = 100
local h = ... | gpl-3.0 |
nickbock/ElvUI_Enhanced_Again | modules/unitframes/healglow.lua | 1 | 4723 | local E, L, V, P, G = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local HG = E:NewModule('HealGlow', 'AceEvent-3.0')
local UF = E:GetModule('UnitFrames')
local GetNumGroupMembers, GetNumSubgroupMembers = GetNumGroupMembers, GetNumSubgroupMembers
local IsInRaid, I... | mit |
Biofreak1987/OpenRA | mods/ra/maps/top-o-the-world/scu36ea.lua | 2 | 14454 | --[[
Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Windurst_Woods/npcs/Erpolant.lua | 5 | 1039 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Erpolant
-- Type: Standard NPC
-- @zone: 241
-- @pos: -63.224 -0.749 -33.424
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
----------... | gpl-3.0 |
g0g0dancer/searework | LuaUI/Widgets/unit_factory_guard.lua | 2 | 8055 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: unit_factory_guard.lua
-- brief: assigns new builder units to guard their source factory
-- author: Dave Rodgers
--
-- Copyright (C) 200... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Windurst_Walls/npcs/Shinchai-Tocchai.lua | 5 | 1052 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Shinchai-Tocchai
-- Type: Moghouse Renter
-- @zone: 239
-- @pos: -220.551 -0.001 -116.916
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = ni... | gpl-3.0 |
CapsAdmin/goluwa | engine/lua/modules/luacheck/expand_rockspec.lua | 1 | 1099 | local utils = require("luacheck.utils")
local function extract_lua_files(rockspec)
if type(rockspec) ~= "table" then return nil, "rockspec is not a table" end
local build = rockspec.build
if type(build) ~= "table" then return nil, "rockspec.build is not a table" end
local res = {}
local function scan(t)
if ... | gpl-3.0 |
salamader/ffxi-a | scripts/globals/weaponskills/stringing_pummel.lua | 2 | 3989 | -----------------------------------
-- Stringing Pummel
-- Hand-to-Hand weapon skill
-- Skill Level: NA
-- Delivers an sixfold attack. Chance of critical varies with TP.
-- Kenkonken:Aftermath effect varies with TP.
-- In order to obtain Stringing Pummel, the quest Unlocking a Myth must be completed.
-- Alig... | gpl-3.0 |
male-puppies/luci | protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua | 72 | 1073 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local ipaddr, defaultroute, metric, ttl, mtu
ipaddr = section:taboption("general", Value, "ipaddr",
translate("Local IPv4 address"),
translate("Leave empty to use the current W... | apache-2.0 |
salamader/ffxi-a | scripts/globals/spells/gain-int.lua | 2 | 2580 | --------------------------------------
-- Spell: Gain-INT
-- Boosts targets INT stat
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------... | gpl-3.0 |
lxl1140989/6291-xl | feeds/luci/libs/nixio/docsrc/nixio.lua | 151 | 15824 | --- General POSIX IO library.
module "nixio"
--- Look up a hostname and service via DNS.
-- @class function
-- @name nixio.getaddrinfo
-- @param host hostname to lookup (optional)
-- @param family address family [<strong>"any"</strong>, "inet", "inet6"]
-- @param service service name or port (optional)
-- @return ... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Kazham/npcs/Ghemi_Sinterilo.lua | 37 | 1391 | -----------------------------------
-- Area: Kazham
-- NPC: Ghemi Senterilo
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onT... | gpl-3.0 |
spark051/sparkbot | plugins/moderation.lua | 336 | 9979 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
local username = v.username
data[tostring(m... | gpl-2.0 |
Baylamon/Illarion-Content | quest/lotte_silberstreif_672.lua | 3 | 2793 | --[[
Illarion Server
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
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
g0g0dancer/searework | LuaUI/Widgets/unit_clippy.lua | 3 | 14751 | local playerID = Spring.GetMyPlayerID()
local customkeys = playerID and select(10, Spring.GetPlayerInfo(playerID))
local rank = (customkeys and tonumber(customkeys.level) or 0) or select(9, Spring.GetPlayerInfo(playerID))
function widget:GetInfo()
return {
name = "Clippy Comments",
desc = "v0.4 Makes units give t... | gpl-2.0 |
Isogash/metalframe | lua/mfevents.lua | 1 | 2925 |
-- Table containing the event framework functions
_mf.events = {}
-- We store our events in this table
_mf.eventlist = {}
-- We make the hooks table local since we don't want the user to have direct access to them.
-- Each mod is added to one of these tables if it requires a hook callback.
_mf.events.Instance = {}
_... | gpl-2.0 |
g0g0dancer/searework | scripts/corroach.lua | 7 | 4860 |
--by Chris Mackey
--include "lua/test.lua"
--pieces
local body = piece "body"
local digger = piece "digger"
local jet = piece "jet"
local lf_leg = piece "legflup"
local lf_knee = piece "legflmid"
local lf_foot = piece "legflshin"
local rf_leg = piece "legfrup"
local rf_knee = piece "legfrmid"
local rf_foot = piece... | gpl-2.0 |
Baylamon/Illarion-Content | monster/race_76_green_skeleton/base.lua | 4 | 1201 | --[[
Illarion Server
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
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
salamader/ffxi-a | scripts/globals/items/steamed_catfish.lua | 2 | 1444 | -----------------------------------------
-- ID: 4557
-- Item: steamed_catfish
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 30
-- Magic % 1
-- Vitality 3
-- Intelligence 1
-- Mind -3
-- Earth Res 10
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
male-puppies/luci | applications/luci-app-ddns/luasrc/controller/ddns.lua | 1 | 7490 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2013 Manuel Munz <freifunk at somakoma dot de>
-- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed to the public under the Apache License 2.0.
module("luci.c... | apache-2.0 |
boyuegame/skynet | lualib/snax.lua | 59 | 3683 | local skynet = require "skynet"
local snax_interface = require "snax.interface"
local snax = {}
local typeclass = {}
local interface_g = skynet.getenv("snax_interface_g")
local G = interface_g and require (interface_g) or { require = function() end }
interface_g = nil
skynet.register_protocol {
name = "snax",
id =... | mit |
Thermadyle/ships | entities/entities/ship/model/c.lua | 1 | 20892 | local translate = Vector(-512, 0, 0)
local floor = {
translate = translate,
levels = 2,
-- TOP
{
size = Vector(216, 276, 6),
pos = Vector(148, 246, 0),
},
{
size = Vector(216, 372, 6),
pos = Vector(148, -198, 0),
},
{
size = Vector(29... | mit |
liu-xing/vlc | share/lua/playlist/bbc_co_uk.lua | 112 | 1468 | --[[
$Id$
Copyright © 2008 the VideoLAN team
Authors: Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
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 Licens... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Windurst_Waters_[S]/npcs/Pelsey-Holsey.lua | 4 | 1053 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pelsey-Holsey
-- Type: Standard NPC
-- @zone: 94
-- @pos: 119.755 -4.5 209.754
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
JohnAdders/domoticz | dzVents/runtime/device-adapters/rgbw_device.lua | 3 | 6304 | local TimedCommand = require('TimedCommand')
return {
baseType = 'device',
name = 'RGB(W) device adapter',
matches = function (device, adapterManager)
local res = device.deviceType == 'Color Switch'
adapterManager.addDummyMethod(device, 'setKelvin')
adapterManager.addDummyMethod(device, 'setWhiteMode')
a... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Windurst_Woods/npcs/Etsa_Rhuyuli.lua | 5 | 1043 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Etsa Rhuyuli
-- Type: Standard NPC
-- @zone: 241
-- @pos: 62.482 -8.499 -139.836
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Windurst_Woods/npcs/Hae_Jakkya.lua | 19 | 1330 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Hae Jakkya
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--... | gpl-3.0 |
raboof/notion | contrib/styles/look_asm.lua | 7 | 4238 | -- Authors: Unknown
-- License: Unknown
-- Last Changed: Unknown
if not gr.select_engine("de") then return end
de.reset()
de.defstyle("*", {
foreground_colour = "#ffffff",
background_colour = "#708090",
shadow_colour = "#405060",
highlight_colour = "#708090",
padding_colour= "#405060",
paddi... | lgpl-2.1 |
salamader/ffxi-a | scripts/globals/items/serving_of_marbled_steak.lua | 2 | 1705 | -----------------------------------------
-- ID: 5157
-- Item: serving_of_marbled_steak
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 6
-- Agility 1
-- Intelligence -3
-- Attack % 18
-- Attack Cap 95
-- Ranged ATT % 32
-- Ranged ATT Cap 95
-- Lizard Killer 5
------... | gpl-3.0 |
g0g0dancer/searework | units/arm_spider.lua | 3 | 3091 | unitDef = {
unitname = [[arm_spider]],
name = [[Weaver]],
description = [[Construction Spider, Builds at 7.5 m/s]],
acceleration = 0.2,
activateWhenBuilt = true,
brakeRate = 0.6,
buildCostEnergy = 200,
buildCostMetal =... | gpl-2.0 |
poire-z/koreader | frontend/dump.lua | 4 | 2394 | --[[--
A simple serialization function which won't do uservalues, functions, or loops.
If you need a more full-featured variant, serpent is available in ffi/serpent ;).
]]
local insert = table.insert
local indent_prefix = " "
local function _serialize(what, outt, indent, max_lv, history, pairs_func)
if not ma... | agpl-3.0 |
salamader/ffxi-a | scripts/zones/Castle_Zvahl_Keep/npcs/_4i5.lua | 23 | 1492 | -----------------------------------
-- Area: Castle Zvahl Keep
-- NPC: Ore door
-- Involved In Quest: Recollections
-- @pos -14 0 69 162
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Kuftal_Tunnel/npcs/qm6.lua | 2 | 1971 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: ???
-- Involved in Mission: Bastok 8-2
-- @zone 32
-- @pos -27, -10, -185
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems"... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Palborough_Mines/npcs/_3z6.lua | 14 | 1039 | -----------------------------------
-- Elevator in Palborough
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Palborough_Mines/T... | gpl-3.0 |
nublet/WoWCache | WTF/Account/869497#2/Darksorrow/Ishotbambi/SavedVariables/Details.lua | 1 | 26696 |
_detalhes_database = {
["savedbuffs"] = {
},
["mythic_dungeon_id"] = 164,
["tabela_historico"] = {
["tabelas"] = {
},
},
["last_version"] = "v8.3.0.7356",
["character_data"] = {
["logons"] = 5445,
},
["tabela_instancias"] = {
},
["local_instances_config"] = {
{
["segment"] = 0,
["sub_attribute... | mit |
salamader/ffxi-a | scripts/zones/Jade_Sepulcher/Zone.lua | 8 | 1287 | -----------------------------------
--
-- Zone: Jade_Sepulcher (67)
--
-----------------------------------
package.loaded["scripts/zones/Jade_Sepulcher/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Jade_Sepulcher/TextIDs");
-----------------------------------
-- onInitialize
... | gpl-3.0 |
gbruer15/spaceSurvivors | Love Space Survivor/Levels/level5.lua | 1 | 5164 | local level = {}
local upgrade = require('Game/upgrade')
function level.load()
level.number = 5
level.playerLives = 5
level.cycleEnemies = false
level.enemyMissileColor = {254, 35,40}--{255,255,100}
level.enemyMissileMotionSensor = 400
level.enemyMissileFire = true
level.maxBossHealth = 1000
level.maxBoss... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/items/clump_of_beaugreens.lua | 2 | 1153 | -----------------------------------------
-- ID: 4571
-- Item: clump_of_beaugreens
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
--... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Port_Bastok/npcs/Treasure_Coffer.lua | 2 | 1068 | -----------------------------------
-- Area: Port Bastok
-- NPC: Treasure Coffer
-- Type: Goblin Mystery Box
-- @zone 236
-- @pos 39.000, 8.000, -211.000
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/P... | gpl-3.0 |
Baylamon/Illarion-Content | magic/lte/frozen.lua | 4 | 2254 | --[[
Illarion Server
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
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
thorbenk/dotfiles | nvim/lua/user/bufferline.lua | 1 | 6137 | local status_ok, bufferline = pcall(require, "bufferline")
if not status_ok then
return
end
bufferline.setup({
options = {
numbers = "none", -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
... | mit |
1st8/prosody-modules | mod_checkcerts/mod_checkcerts.lua | 29 | 2809 | local ssl = require"ssl";
local datetime_parse = require"util.datetime".parse;
local load_cert = ssl.loadcertificate;
local st = require"util.stanza"
-- These are in days.
local nag_time = module:get_option_number("checkcerts_notify", 7) * 86400;
if not load_cert then
module:log("error", "This version of LuaSec (%s)... | mit |
KohaiKhaos/modified-MWDF | MWDF Project/Dwarf Fortress/hack/scripts/masterwork/unit/wound-change.lua | 2 | 6660 | --unit/wound-change.lua v2.0
local utils = require 'utils'
validArgs = validArgs or utils.invert({
'help',
'unit',
'corpse',
'animate',
'remove',
'recent',
'regrow',
'resurrect',
'fitForResurrect',
'fitForAnimate',
'syndrome',
'dur',
})
local args = utils.processArgs({...}, validArgs)
... | mit |
salamader/ffxi-a | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Kasim.lua | 2 | 1832 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: Kasim
-- @pos -46 0 -148 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_Zitah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conq... | gpl-3.0 |
salamader/ffxi-a | scripts/globals/items/choco-ligar.lua | 3 | 1095 | -----------------------------------------
-- ID: 5919
-- Item: Choco-ligar
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Vitality 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
g0g0dancer/searework | units/hoverdepthcharge.lua | 3 | 7156 | unitDef = {
unitname = [[hoverdepthcharge]],
name = [[Claymore]],
description = [[Anti-Sub Hovercraft]],
acceleration = 0.048,
activateWhenBuilt = true,
brakeRate = 0.043,
buildCostEnergy = 330,
buildCostMetal = 330,
builder = f... | gpl-2.0 |
g0g0dancer/searework | units/armcybr.lua | 2 | 4675 | unitDef = {
unitname = [[armcybr]],
name = [[Wyvern]],
description = [[Singularity Bomber]],
--autoheal = 25,
brakerate = 0.4,
buildCostEnergy = 2000,
buildCostMetal = 2000,
builder = false,
buildPic = [[ARMCYBR.png]],
b... | gpl-2.0 |
poire-z/koreader | frontend/ui/widget/horizontalscrollbar.lua | 4 | 4576 | local BD = require("ui/bidi")
local Blitbuffer = require("ffi/blitbuffer")
local Device = require("device")
local Geom = require("ui/geometry")
local GestureRange = require("ui/gesturerange")
local InputContainer = require("ui/widget/container/inputcontainer")
local Size = require("ui/size")
local Screen = require("dev... | agpl-3.0 |
nublet/WoWCache | WTF/Account/869497#2/Darksorrow/Beepbeep/SavedVariables/PremadeGroupsFilter.lua | 1 | 6289 |
PremadeGroupsFilterState = {
["t2c2f0"] = {
["enabled"] = true,
["tanks"] = {
["max"] = "",
["min"] = "",
["act"] = false,
},
["ilvl"] = {
["max"] = "",
["min"] = "",
["act"] = false,
},
["dps"] = {
["max"] = "",
["min"] = "",
["act"] = false,
},
["noilvl"] = {
["act"] = ... | mit |
Biofreak1987/OpenRA | mods/d2k/maps/ordos-03a/ordos03a-AI.lua | 8 | 1862 | --[[
Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
Baylamon/Illarion-Content | quest/zassaria_riverbank_701_runewick.lua | 3 | 6666 | --[[
Illarion Server
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
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
Baylamon/Illarion-Content | npc/base/trade.lua | 1 | 9908 | --[[
Illarion Server
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
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
g0g0dancer/searework | units/chicken_digger_b.lua | 3 | 4336 | unitDef = {
unitname = [[chicken_digger_b]],
name = [[Digger (burrowed)]],
description = [[Burrowing Scout/Raider]],
acceleration = 0.26,
activateWhenBuilt = false,
brakeRate = 0.205,
buildCostEnergy = 0,
buildCostMetal = 0,
builder ... | gpl-2.0 |
nickbock/ElvUI_Enhanced_Again | locales/korean.lua | 1 | 6609 | local L = ElvUI[1].Libs.ACL:NewLocale("ElvUI", "koKR")
if not L then return end
-- Init
L["ENH_LOGIN_MSG"] = "You are using |cff1784d1ElvUI Enhanced Again|r |cffff8000|r version %s%s|r."
L["ENH_LOGIN_MSG_WRATH"] = "You are using |cff1784d1ElvUI Enhanced Again|r |cffff8000(Wrath Classic)|r version %s%s|r."
L["Yo... | mit |
LuaDist2/hdf5 | gcc-lua-cdecl/test/variable.lua | 4 | 1632 | --
-- C declaration composer for the GCC Lua plugin.
-- Copyright © 2013–2015 Peter Colberg.
-- Distributed under the MIT license. (See accompanying file LICENSE.)
--
local gcc = require("gcc")
local cdecl = require("gcc.cdecl")
gcc.set_asm_file_name(gcc.HOST_BIT_BUCKET)
local test = {}
gcc.register_callback(gcc.... | mit |
hfjgjfg/seed58 | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
mahdikord/mahdib77 | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
poire-z/koreader | frontend/ui/widget/virtualkeyboard.lua | 3 | 39352 | local Blitbuffer = require("ffi/blitbuffer")
local BottomContainer = require("ui/widget/container/bottomcontainer")
local CenterContainer = require("ui/widget/container/centercontainer")
local Device = require("device")
local FocusManager = require("ui/widget/focusmanager")
local Font = require("ui/font")
local FrameCo... | agpl-3.0 |
salamader/ffxi-a | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm4.lua | 15 | 1197 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Wulgaru(ZNM T2))
-- @pos -22 -4 204 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/T... | gpl-3.0 |
CapsAdmin/goluwa | core/lua/modules/nattlua/nattlua/parser/teal.lua | 1 | 14055 | local META = ...
--[[#local type { Node, statement } = import("~/nattlua/parser/nodes.nlua")]]
--[[#local type { TokenType } = import("~/nattlua/lexer/token.lua")]]
local runtime_syntax = require("nattlua.syntax.runtime")
local typesystem_syntax = require("nattlua.syntax.typesystem")
local math_huge = math.huge
loca... | gpl-3.0 |
CapsAdmin/goluwa | engine/lua/zerobrane/config.lua | 1 | 5403 | local G = ...
editor.usetabs = true
editor.tabwidth = 4
editor.usewrap = false
editor.fontsize = 9
editor.menuicon = true
toolbar.icons = {}
bordersize = 4
markersinactivity = false
outlineinactivity = false
acandtip.droprest = false
staticanalyzer.luacheck = true
filetree.mousemove = false
ini = FileNormalizePath(".zb... | gpl-3.0 |
g0g0dancer/searework | LuaRules/Gadgets/unit_tactical_ai_commands.lua | 1 | 25015 |
function gadget:GetInfo()
return {
name = "Tactical Unit AI Commands",
desc = "Implements tactial AI for some units. Uses commands.",
author = "Google Frog",
date = "April 20 2010",
license = "GNU GPL, v2 or later",
layer = 0,
enabled = true,
}
end
---------------------------------------------------------... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/items/aymur.lua | 2 | 1771 | -----------------------------------------
-- ID: 18999 - 19086 - 19088 - 19620 - 19718 - 19827 - 19956
-- Item: Aymur
-- Item Effect: Pet Attack Bonus
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
fegimanam/bbb | plugins/welcome.lua | 6 | 3579 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
Baylamon/Illarion-Content | item/id_2830_chest.lua | 1 | 5414 | --[[
Illarion Server
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
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
salamader/ffxi-a | scripts/zones/La_Theine_Plateau/npcs/Equesobillot.lua | 2 | 2307 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Equesobillot
-- Involved in Mission: The Rescue Drill
-- @zone 102
-- @pos -287 9 284
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
salamader/ffxi-a | scripts/globals/items/bowl_of_stamina_soup.lua | 2 | 1487 | -----------------------------------------
-- ID: 4337
-- Item: bowl_of_stamina_soup
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP % 10
-- Dexterity 4
-- Vitality 6
-- Mind -3
-- HP Recovered While Healing 10
-----------------------------------------
require("scripts/global... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.