repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
qyh214/wow_addons_private_use | AddOns/ElvUI/Core/General/Cooldowns.lua | 1 | 14457 | local E, L, V, P, G = unpack(ElvUI)
local AB = E:GetModule('ActionBars')
local LSM = E.Libs.LSM
local next, ipairs, pairs = next, ipairs, pairs
local floor, tinsert = floor, tinsert
local GetTime = GetTime
local CreateFrame = CreateFrame
local hooksecurefunc = hooksecurefunc
local ICON_SIZE = 36 --the normal size fo... | gpl-3.0 |
Markismus/koreader | spec/unit/httpclient_spec.lua | 9 | 1112 | -- set true to test httpclient
DUSE_TURBO_LIB = false --luacheck: ignore
describe("HTTP client module #notest #nocov", function()
local UIManager
setup(function()
require("commonrequire")
UIManager = require("ui/uimanager")
end)
local requests = 0
local function response_callback(r... | agpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-BfA/SiegeofBoralus/Darkfathom.lua | 1 | 1588 | local mod = DBM:NewMod(2134, "DBM-Party-BfA", 5, 1001)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220116185401")
mod:SetCreatureID(128651)
mod:SetEncounterID(2099)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 257882 276068",
"UNIT_SPELLCAST_SUCCEEDED boss1"
)
local specW... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c77777782.lua | 2 | 4378 | --Aetherial Witchcrafter Isabeau
function c77777782.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(77777782,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Uldir/Vectis.lua | 1 | 20311 | local mod = DBM:NewMod(2166, "DBM-Uldir", nil, 1031)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220116032237")
mod:SetCreatureID(134442)--135016 Plague Amalgam
mod:SetEncounterID(2134)
mod:SetUsedIcons(1, 2, 3, 4)
--mod:SetHotfixNoticeRev(16950)
--mod:SetMinSyncRevision(16950)
mod.respawnTime = 29
mod:Re... | gpl-3.0 |
flyzjhz/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/base/luasrc/http/protocol.lua | 55 | 18445 | --[[
HTTP protocol implementation for LuCI
(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
http://www.apache.org/licen... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Code/CommonDefs/CommonDef_Loops.lua | 1 | 2605 | --[[
Title: CommonDef_Loops
Author(s): leio
Date: 2020/12/14
Desc:
use the lib:
-------------------------------------------------------
local CommonDef_Loops = NPL.load("(gl)script/apps/Aries/Creator/Game/Code/CommonDefs/CommonDef_Loops.lua");
-------------------------------------------------------
]]
NPL.export({
{
... | gpl-2.0 |
schleichdi2/OPENNFR-6.1-CORE | opennfr-meta-openembedded/meta-gnome/recipes-gnome/devilspie/files/default.lua | 40 | 1194 | -- Copyright (c) 2012 Andreas Müller <schnitzeltony@googlemail.com>
--
-- this is an example
-- * undecorating all windows opened maximized
-- * maximizing and undecorating all appplication's windows in apps_list
-- for further information see
-- http://www.gusnan.se/devilspie2/manual.php
wnd_type = get_window_type()... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/zones/shertul-fortress/zone.lua | 3 | 5039 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
flyzjhz/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/freifunk/luasrc/model/cbi/freifunk/basics.lua | 74 | 3518 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2011 Manuel Munz <freifunk at somakoma de>
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:... | gpl-2.0 |
RyMarq/Zero-K | effects/nuke_150.lua | 25 | 15829 | -- nuke_150_seacloud
-- nuke_150_landcloud_ring
-- nuke_150_landcloud
-- nuke_150_landcloud_topcap
-- nuke_150_landcloud_cap
-- nuke_150_seacloud_topcap
-- nuke_150_seacloud_ring
-- nuke_150
-- nuke_150_seacloud_cap
-- nuke_150_seacloud_pillar
-- nuke_150_landcloud_pillar
return {
["nuke_150_seacloud"] = {
usede... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/maps/zones/tempest-peak-top.lua | 3 | 1688 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
madpilot78/ntopng | scripts/lua/modules/alert_definitions/host/host_alert_tcp_syn_flood.lua | 1 | 3480 | --
-- (C) 2019-21 - ntop.org
--
-- ##############################################
local host_alert_keys = require "host_alert_keys"
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
local json = require("dkjson")
local alert_creators = require "alert_creators"
-- Import the classes lib... | gpl-3.0 |
RyMarq/Zero-K | units/energysingu.lua | 1 | 2885 | return { energysingu = {
unitname = [[energysingu]],
name = [[Singularity Reactor]],
description = [[Large Powerplant (+225) - HAZARDOUS]],
acceleration = 0,
activateWhenBuilt = true,
brakeRate =... | gpl-2.0 |
groupforspeed/API-WaderTG | plugins/gps.lua | 14 | 4662 | local function run(msg, matches)
local lat = matches[2]
local lon = matches[3]
local receiver = get_receiver(msg)
if matches[1] == "loc" then
send_location(receiver, lat, lon, ok_cb, false)
elseif matches[1] == "map" then
local zooms = {10, 16}
local urls = {}
for i = 1, #zooms do
local zoom = zooms[i]
... | gpl-2.0 |
BinChengfei/openwrt-3.10.14 | package/ramips/ui/luci-mtk/src/libs/nixio/docsrc/nixio.File.lua | 173 | 4457 | --- Large File Object.
-- Large file operations are supported up to 52 bits if the Lua number type is
-- double (default).
-- @cstyle instance
module "nixio.File"
--- Write to the file descriptor.
-- @class function
-- @name File.write
-- @usage <strong>Warning:</strong> It is not guaranteed that all data
-- in the bu... | gpl-2.0 |
flyzjhz/witi-openwrt | package/ramips/ui/luci-mtk/src/libs/nixio/docsrc/nixio.File.lua | 173 | 4457 | --- Large File Object.
-- Large file operations are supported up to 52 bits if the Lua number type is
-- double (default).
-- @cstyle instance
module "nixio.File"
--- Write to the file descriptor.
-- @class function
-- @name File.write
-- @usage <strong>Warning:</strong> It is not guaranteed that all data
-- in the bu... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/World/WorldInfo.lua | 1 | 5623 | --[[
Title: WorldInfo
Author(s): LiXizhi
Date: 2014/6/30
Desc: base world info. world info is saved to disk file ([worldpath]/tag.xml)
game logic filters:
load_world_info(worldInfo, xmlNode)
save_world_info(worldInfo, xmlNode)
use the lib:
------------------------------------------------------------
NPL.load("(gl)sc... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Code/NplMicrobit/NplMicrobitDef/NplMicrobitDef_Control.lua | 1 | 7061 | --[[
Title: NplMicrobitDef_Control
Author(s): leio
Date: 2019/7/19
Desc:
use the lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Code/NplMicrobit/NplMicrobitDef/NplMicrobitDef_Control.lua");
-------------------------------------------------------
]]
NPL.export(... | gpl-2.0 |
NPLPackages/paracraft | script/kids/3DMapSystemUI/Desktop/StatusBar.lua | 1 | 9098 | --[[
Title: Status Bar for paraworld task bar
Author(s): WangTian
Date: 2008/6/23
Desc: Status task bar is docked on the right most of the task bar
It currently has two distinct function field: Feed and Tasks
(1) Feed can send notifications to the user. Most feeds are associated with user profile and viewable by both... | gpl-2.0 |
RyMarq/Zero-K | LuaRules/Gadgets/unit_terraform.lua | 1 | 130110 | -- $Id: unit_terraform.lua 4610 2009-05-12 13:03:32Z google frog $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Terraformers",
desc = "Terr... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Network/Packets/PacketLoginClient.lua | 1 | 1094 | --[[
Title: PacketLoginClient
Author(s): LiXizhi
Date: 2014/6/25
Desc: base class for all packets
use the lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Network/Packets/PacketLoginClient.lua");
local Packets = commonlib.gettable("MyCompany.Aries.Game.Network.Pa... | gpl-2.0 |
BinChengfei/openwrt-3.10.14 | package/ramips/ui/luci-mtk/src/applications/luci-commands/luasrc/controller/commands.lua | 76 | 5959 | --[[
LuCI - Lua Configuration Interface
Copyright 2012 Jo-Philipp Wich <jow@openwrt.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/LICENSE-2.0
]]--
module("... | gpl-2.0 |
DashingStrike/Automato-ATITD | scripts/menu_helper.lua | 2 | 1395 | dofile("common.inc");
askText = singleLine([[
Menu Helper v1.0 by Tallow -- Brings up building menu(s) and finds/clicks user inputed text on each menu.
-- Instructions: Click Add button then input text you want to find, in building menus.
Repeat if there are multiple/embedded menus per building.
Hover each buildin... | mit |
fyrchik/xlua | exercises/binary-search-tree/binary-search-tree_spec.lua | 3 | 2346 | local BinarySearchTree = require('binary-search-tree')
describe('binary-search-tree', function()
it('should maintain a value for each node', function()
assert.equal(4, BinarySearchTree:new(4).value)
end)
it('should insert lesser values to the left', function()
local tree = BinarySearchTree:new(4)
tr... | mit |
pakoito/ToME---t-engine4 | game/engines/default/modules/boot/data/rooms/greater_vault.lua | 3 | 2194 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
hfjgjfg/eli25 | bot/bot.lua | 1 | 7134 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
TerminalShell/zombiesurvival | entities/entities/prop_forcebarrierfield/init.lua | 1 | 1616 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
ENT.MaxHP = 200
ENT.m_Health = ENT.MaxHP
function ENT:Initialize()
self:DrawShadow(false)
self:SetModel("models/props_c17/streetsign005b.mdl")
self:PhysicsInit(SOLID_VPHYSICS)
self:SetUseType(SIMPLE_USE)
local phys = self:GetPhysicsOb... | gpl-3.0 |
SammyJames/LootDrop | LootDroppable.lua | 1 | 4755 | ------------------------------------------------
-- Loot Drop - show me what I got
--
-- @classmod LootDroppable
-- @author Pawkette ( pawkette.heals@gmail.com )
------------------------------------------------
LootDroppable = ZO_Object:Subclass()
local LMP = LibStub( 'LibMediaProvider-1.0' )
if ( not LMP ) then retu... | mit |
vince06fr/prosody-modules | mod_mam_muc/mod_mam_muc.lua | 20 | 11013 | -- XEP-0313: Message Archive Management for Prosody MUC
-- Copyright (C) 2011-2014 Kim Alvefur
--
-- This file is MIT/X11 licensed.
local xmlns_mam = "urn:xmpp:mam:0";
local xmlns_delay = "urn:xmpp:delay";
local xmlns_forward = "urn:xmpp:forward:0";
local muc_form_enable_logging = "muc#roomconfig_enablelogging"
... | mit |
pakoito/ToME---t-engine4 | game/modules/tome/data/maps/vaults/xorn-trap.lua | 3 | 1375 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/chats/lost-merchant.lua | 3 | 1381 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
madpilot78/ntopng | scripts/lua/hosts_geomap.lua | 1 | 3050 | --
-- (C) 2020 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
local page_utils = require("page_utils")
sendHTTPContentTypeHeader('text/html')
page_utils.set_active_menu_entry(page_utils.menu_entries.geo_map)
dofile(dirs... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/dish_of_spaghetti_boscaiola_+1.lua | 1 | 1655 | -----------------------------------------
-- ID: 5201
-- Item: dish_of_spaghetti_boscaiola_+1
-- Food Effect: 0Min, All Races
-----------------------------------------
-- Health % 18
-- Health Cap 125
-- Magic 40
-- Strength -5
-- Dexterity -2
-- Vitality 2
-- Mind 4
-- Magic Regen While Healing 1
--------... | gpl-3.0 |
madpilot78/ntopng | scripts/lua/modules/discover_utils.lua | 1 | 54422 | --
-- (C) 2017-21 - ntop.org
--
local json = require "dkjson"
local page_utils = require "page_utils"
require "xmlSimple"
local discover = {}
discover.debug = false
discover.progress_string = "discovery.progess"
discover.osinfo = {
[0] = {"Unknown", ''},
[1] = {"Linux", '<i class=\'fab fa-linux f... | gpl-3.0 |
ahemid/openvswitch | net/smartsnmpd/files/mibs/interfaces.lua | 158 | 4833 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- 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 optio... | gpl-2.0 |
knixeur/notion | contrib/statusd/legacy/statusd_iface.lua | 3 | 1941 | -- Authors: Relu Patrascu <ikoflexer@gmail.com>
-- License: LGPL, version 2.1 or later
-- Last Changed: 2004-11-05
--
-- statusd_iface.lua
--
-- Copyright (c) Relu Patrascu 2004.
--
-- Ion is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License as published... | lgpl-2.1 |
RyMarq/Zero-K | units/spideranarchid.lua | 1 | 3702 | return { spideranarchid = {
unitname = [[spideranarchid]],
name = [[Anarchid]],
description = [[Riot EMP Spider]],
acceleration = 0.78,
brakeRate = 4.68,
buildCostMetal = 250,
buildPic = [[spideremp.png]],
canGuard ... | gpl-2.0 |
mysql/mysql-proxy | examples/tutorial-constants.lua | 6 | 1473 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/NplBrowser/pe_nplbrowser.lua | 1 | 6970 | --[[
Title: pe_nplbrowser
Author(s): leio
Date: 2019/5/5
Desc:
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/NplBrowser/pe_nplbrowser.lua");
local pe_nplbrowser = commonlib.gettable("NplBrowser.pe_nplbrowser");
Map3DSystem.mcml_controls.RegisterU... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/zones/rak-shor-pride/objects.lua | 3 | 1091 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
groupforspeed/API-WaderTG | plugins/me2.lua | 15 | 11247 | local function checktodaygr(cb_extra, success, result)
local hash = ''
local thash=''
for k,user in pairs(result.members) do
thash = 'today:'..user.peer_id
if redis:get(thash) then
if redis:get(thash) < os.date("%x",os.time() + 16200) then
hash = 'utmsgst:'..user.peer_id..':'..cb_extra
redis:set(hash,0)
... | gpl-2.0 |
RyMarq/Zero-K | LuaUI/Widgets/gui_nukeButton.lua | 2 | 17132 | local versionNumber = "1.3.4"
function widget:GetInfo()
return {
name = "Nuke Button Zero-K",
desc = "[v" .. string.format("%s", versionNumber ) .. "] Displays Nuke Button",
author = "very_bad_soldier / versus666",
date = "July 19, 2009 / September 08, 2010",
license = "GNU GPL v2",
la... | gpl-2.0 |
madpilot78/ntopng | scripts/lua/modules/timeseries/drivers/influxdb.lua | 1 | 65443 | --
-- (C) 2021 - ntop.org
--
local driver = {}
-- NOTE: this script is required by second.lua, keep the imports minimal!
local ts_common = require("ts_common")
local json = require("dkjson")
local os_utils = require("os_utils")
require("ntop_utils")
--
-- Sample query:
-- select * from "iface:ndpi" where ifid='0'... | gpl-3.0 |
NPLPackages/paracraft | script/apps/Aries/Partners/keepwork/KeepWorkRealname.lua | 1 | 6311 | local KeepWorkRealname = NPL.export()
KeepWorkRealname.haqi_game_timer = nil
KeepWorkRealname.game_time = 0
KeepWorkRealname.m_age = 0
KeepWorkRealname.IsHoliday = false
function KeepWorkRealname.LoadGameTime()
local local_data = MyCompany.Aries.Player.LoadLocalData("KeepWork_Haqi_Game_Time",{},true);
local savetime ... | gpl-2.0 |
fyrchik/xlua | exercises/sublist/sublist_spec.lua | 3 | 1610 | local is_sublist = require('sublist')
describe('sublist', function()
it('should consider an empty list to be a sublist of an empty list', function()
assert.equal(true, is_sublist({}, {}))
end)
it('should consider an empty list to be a sublist of a non-empty list', function()
assert.equal(true, is_sublis... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/engine/eng_kse_a7x.lua | 3 | 2260 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/langlatch/serverobjects.lua | 3 | 2306 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/particle/pt_falling_rock_loop.lua | 3 | 2232 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/terrain/corellia/objects.lua | 3 | 23487 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/ship/tieadvanced_tier5.lua | 3 | 2176 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/reactor/rct_freitek_powerhouse_mk3.lua | 3 | 2324 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/armor/heavy_armor_layer_environmental.lua | 3 | 2312 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/naboo/zim_zam_blattis.lua | 1 | 1110 | zim_zam_blattis = Creature:new {
objectName = "",
customName = "Zim Zam Blattis",
socialGroup = "gungan",
pvpFaction = "gungan",
faction = "gungan",
level = 14,
chanceHit = 0.3,
damageMin = 150,
damageMax = 160,
baseXp = 714,
baseHAM = 2000,
baseHAMmax = 2400,
armor = 0,
resists = {0,0,0,0,10,0,0,-1,-1},
... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/spells/bluemagic/feather_tickle.lua | 2 | 1105 | -----------------------------------------
-- Spell: Feather Tickle
-- Reduces an enemy's TP
-- Spell cost: 48 MP
-- Monster Type: Birds
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+1
-- Level: 64
-- Casting Time: 4 seconds
-- Recast Time: 26 seconds
-- Magic Bursts on: Detonation, Fragmentat... | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Western_Altepa_Desert/mobs/King_Vinegarroon.lua | 2 | 1799 | -----------------------------------
-- Area: Western Altepa Desert
-- NM: King Vinegarroon
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/titles");
require("scripts/globals/weather");
require("scripts/globals/msg");
-----------------------------------
function onMobIn... | gpl-3.0 |
eraffxi/darkstar | scripts/commands/togglegm.lua | 50 | 1876 | ---------------------------------------------------------------------------------------------------
-- func: togglegm
-- desc: Toggles a GMs nameflags/icon.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = ""
};
funct... | gpl-3.0 |
isdom/kong | spec/integration/admin_api/apis_routes_spec.lua | 3 | 13961 | local json = require "cjson"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
local send_content_types = require "spec.integration.admin_api.helpers"
describe("Admin API", function()
setup(function()
spec_helper.prepare_db()
spec_helper.start_kong()
end)... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/loot_schematic/death_watch_bounty_hunter_bicep_l_schematic.lua | 3 | 2376 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Richard857/BadRotations | System/UI/Toggles.lua | 5 | 18828 | -- -- this handles old profiles buttons
-- function TogglesFrame()
-- emptyIcon = [[Interface\FrameGeneral\UI-Background-Marble]]
-- backIconOn = [[Interface\ICONS\Spell_Holy_PowerWordShield]]
-- backIconOff = [[Interface\ICONS\SPELL_HOLY_DEVOTIONAURA]]
-- genericIconOff = [[Interface\GLUES\CREDITS\Arakkoa1]]
-- g... | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Dynamis-Valkurm/Zone.lua | 2 | 2241 | -----------------------------------
--
-- Zone: Dynamis-Valkurm
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
-----------------------------... | gpl-3.0 |
eraffxi/darkstar | scripts/globals/abilities/blitzers_roll.lua | 2 | 2843 | -----------------------------------
-- Ability: Blitzer's Roll
-- Reduces melee attack delay for party members within area of effect.
-- Optimal Job: None
-- Lucky Number: 4
-- Unlucky Number: 9
-- Level: 83
-- Phantom Roll +1 Value: 1
--
-- Die Roll | Delay Reduction %
-- -------- -------
-- 1 |+2
-- 2... | gpl-3.0 |
rigeirani/zus | plugins/id.lua | 4 | 2851 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, resu... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/item/item_painting_tatooine_style_02.lua | 3 | 2260 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/commands/gallopStop.lua | 4 | 2123 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/clothing/clothing_backpack_field_06_quest.lua | 2 | 4106 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
NezzKryptic/Wire | lua/wire/client/hlzasm/hc_optimize.lua | 18 | 4421 | --------------------------------------------------------------------------------
-- HCOMP / HL-ZASM compiler
--
-- Optimizer
--------------------------------------------------------------------------------
local OptimizationPattern = {
--------------------------------------------------------------------------------... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/general/hotel_general_style_1.lua | 2 | 2353 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/player/city/theater_tatooine.lua | 2 | 4284 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/vehicle/civilian/civilian_b.lua | 3 | 2260 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/bio/bio_component_food_medium_filling.lua | 3 | 2764 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/poi/corellia_smashball_large1.lua | 1 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
tectronics/saitohud | src/SaitoHUD/lua/saitohud/modules/resbrowser.lua | 3 | 7563 | -- SaitoHUD
-- Copyright (c) 2009-2010 sk89q <http://www.sk89q.com>
-- Copyright (c) 2010 BoJaN
--
-- 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
... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/mos_taike_cantina_owner.lua | 3 | 2208 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
tectronics/saitohud | src/SaitoHUD/lua/saitohud/modules/spectate.lua | 2 | 6328 | -- SaitoHUD
-- Copyright (c) 2009-2010 sk89q <http://www.sk89q.com>
-- Copyright (c) 2010 BoJaN
--
-- 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
... | gpl-2.0 |
palmettos/cnLuCI | modules/admin-full/luasrc/controller/admin/index.lua | 79 | 1245 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.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/LICENSE-2.0
$Id$
]]--
mod... | apache-2.0 |
eraffxi/darkstar | scripts/globals/spells/regen_ii.lua | 2 | 1530 | -----------------------------------------
-- Spell: Regen II
-- Gradually restores target's HP.
-----------------------------------------
-- Scale down duration based on level
-- Composure increases duration 3x
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status")... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/faction/imperial/imperial_army_captain.lua | 1 | 1437 | imperial_army_captain = Creature:new {
objectName = "@mob/creature_names:imperial_army_captain",
socialGroup = "imperial",
pvpFaction = "imperial",
faction = "imperial",
level = 21,
chanceHit = 0.34,
damageMin = 200,
damageMax = 210,
baseXp = 2006,
baseHAM = 5400,
baseHAMmax = 6600,
armor = 0,
resists = {0... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/space_rebel_tier1.lua | 3 | 2184 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
widelands/widelands | data/tribes/initialization/amazons/starting_conditions/new_world.lua | 1 | 1969 | -- =======================================================================
-- New World starting conditions for Amazons
-- =======================================================================
include "scripting/starting_conditions.lua"
push_textdomain("tribes")
init = {
-- TRANSLATORS: This is the na... | gpl-2.0 |
vvc/mtasa-blue | vendor/lua/src/premake.lua | 38 | 6155 | ----------------------------------------------------
-- The main porpouse of this file is to build linux gcc makefiles.
-- Must have Premake version 3 installed.
-- Original Premake was changed to remove some parameters and add others.
-- Default parameters:
-- premake3s --target gnu --os linux
-- But it can build wi... | gpl-3.0 |
airstruck/luigi | luigi/widget/sash.lua | 3 | 2689 | --[[--
A sash.
Dragging this widget resizes the widgets adjacent to it.
A sash should be adjacent to a widget with a specified size
in the same direction as the parent element's @{attribute.flow|flow}.
For example, if the parent of the sash is `flow = 'x'`
then either or both of the siblings adjacent to the sash
shou... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_tatooine_boshek.lua | 3 | 2208 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Codinablack/forgottenserver | data/talkactions/scripts/add_skill.lua | 6 | 1356 | local function getSkillId(skillName)
if skillName == "club" then
return SKILL_CLUB
elseif skillName == "sword" then
return SKILL_SWORD
elseif skillName == "axe" then
return SKILL_AXE
elseif skillName:sub(1, 4) == "dist" then
return SKILL_DISTANCE
elseif skillName:sub(1, 6) == "shield" then
return SKILL_S... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/ship/tieoppressor_tier3.lua | 3 | 2180 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Port_Windurst/npcs/Alizabe.lua | 1 | 1408 | -----------------------------------
-- Area: Port Windurst
-- NPC: Alizabe
-- Only sells when Windurst controls the Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-- Confirmed shop stock, August 2013
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] ... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/dantooine/grassland_voritor_tracker.lua | 1 | 1094 | grassland_voritor_tracker = Creature:new {
objectName = "@mob/creature_names:grassland_voritor_tracker",
socialGroup = "voritor",
pvpFaction = "",
faction = "",
level = 45,
chanceHit = 0.44,
damageMin = 375,
damageMax = 460,
baseXp = 4370,
baseHAM = 8700,
baseHAMmax = 10700,
armor = 0,
resists = {65,65,30,... | lgpl-3.0 |
nashory/gans-collection.torch | __0_dcgan/script/dcgan.lua | 1 | 6770 | -- For training loop and learning rate scheduling.
-- standard DCGAN.
-- last modified : 2017.08.31, nashory
require 'sys'
require 'optim'
require 'image'
require 'math'
local optimizer = require '__0_dcgan.script.optimizer'
local DCGAN = torch.class('DCGAN')
function DCGAN:__init(model, criterion, opt, optimstat... | mit |
ForbiddenJ/minetest_game | mods/dungeon_loot/mapgen.lua | 1 | 5585 | minetest.set_gen_notify({dungeon = true, temple = true})
local function noise3d_integer(noise, pos)
return math.abs(math.floor(noise:get3d(pos) * 0x7fffffff))
end
local function random_sample(rand, list, count)
local ret = {}
for n = 1, count do
local idx = rand:next(1, #list)
table.insert(ret, list[idx])
ta... | lgpl-2.1 |
eraffxi/darkstar | scripts/globals/items/crepe_delice.lua | 2 | 1283 | -----------------------------------------
-- ID: 5767
-- Item: Crepe Delice
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +10% (cap 15)
-- Magic Accuracy +21% (cap 30)
-- Magic Defense +2
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
valentindavid/luagll | gll/utils.lua | 1 | 2556 | -- Copyright 2013 Valentin David
-- This file is part of Luagll.
-- Luagll is free software: you can redistribute it and/or modify it
-- under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
-- Lu... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_dathomir_nightsister_guardian.lua | 3 | 2264 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/mission/quest_item/garm_beliblis_q2_needed.lua | 3 | 2292 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Decarabia.lua | 7 | 1300 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Marquis Decarabia
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
function onMobEngaged(mob,target)
end;
function onMobFight(mob,targe... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/weapon/geonosian_power_cube_green.lua | 3 | 2296 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/chemistry/medpack_cure_disease_area_a.lua | 2 | 3650 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Davoi/TextIDs.lua | 2 | 1866 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6381; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6387; -- Obtained: <item>.
GIL_OBTAINED = 6388; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_sith_shadow_aqualish_m_02.lua | 3 | 2248 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/general/bunker_imperial_02.lua | 3 | 2232 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
renatohsc/keys | VSCOKeys.lrdevplugin/halfway_server/ltn12.lua | 127 | 8177 | -----------------------------------------------------------------------------
-- LTN12 - Filters, sources, sinks and pumps.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: ltn12.lua,v 1.31 2006/04/03 04:45:42 diego Exp $
-----------------------------------------------------------------------------
-------... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.