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 |
|---|---|---|---|---|---|
Laterus/Darkstar-Linux-Fork | scripts/zones/Southern_San_dOria/npcs/Taumila.lua | 1 | 2261 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Taumila
-- Starts and Finishes Quest: Tiger's Teeth (R)
-- @zone 230
-- @pos -140 -5 -8
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
vince06fr/prosody-modules | mod_vjud/mod_vjud.lua | 31 | 5885 | local dm_load = require "util.datamanager".load;
local dm_store = require "util.datamanager".store;
local usermanager = require "core.usermanager";
local dataforms_new = require "util.dataforms".new;
local jid_split = require "util.jid".prepped_split;
local vcard = module:require "vcard";
local rawget, rawset = rawget... | mit |
jkassman/wesnoth | data/campaigns/The_Hammer_of_Thursagan/lua/spawns.lua | 27 | 1324 | -- Used for the bandit spawns in scenario 5
local helper = wesnoth.require "lua/helper.lua"
local wml_actions = wesnoth.wml_actions
local T = helper.set_wml_tag_metatable {}
function wml_actions.spawn_units(cfg)
local x = cfg.x or helper.wml_error("[spawn_units] missing required x= attribute.")
local y = cfg.y or h... | gpl-2.0 |
gleachkr/luakit | lib/formfiller_wm.lua | 3 | 9797 | -- Luakit formfiller - web module.
--
-- @submodule formfiller_wm
-- @copyright 2016 Aidan Holm <aidanholm@gmail.com>
local select = require("select_wm")
local lousy = require("lousy")
local ui = ipc_channel("formfiller_wm")
local filter = lousy.util.table.filter_array
local function element_attributes_match(element,... | gpl-3.0 |
RyMarq/Zero-K | LuaUI/Widgets/gui_chili_resource_bars.lua | 2 | 25472 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Chili Resource Bars Classic",
desc = "",
author = "jK",
date = "2010",
lic... | gpl-2.0 |
RyMarq/Zero-K | LuaUI/Widgets/chili/Controls/progressbar.lua | 2 | 3879 | --// =============================================================================
--- Progressbar module
--- Progressbar fields.
-- Inherits from Control.
-- @see control.Control
-- @table Progressbar
-- @int[opt = 0] min minimum value of the Progressbar
-- @int[opt = 100] max maximum value of the Progressbar
-- @in... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/FeiYin/npcs/qm1.lua | 1 | 1512 | -----------------------------------
-- Area: FeiYin
-- NPC: ???
-- Involved In Quest: Pieuje's Decision
-- @zone 204
-- @pos -55 -16 69
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
ferronrsmith/google-diff-match-patch | lua/diff_match_patch_test.lua | 264 | 39109 | --[[
* Test Harness for Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser
* Ported to Lua by Duncan Cross
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except... | apache-2.0 |
TerminalShell/zombiesurvival | entities/entities/prop_gunturret/shared.lua | 1 | 6411 | ENT.Type = "anim"
ENT.RenderGroup = RENDERGROUP_BOTH
ENT.SearchDistance = 768
ENT.MinimumAimDot = 0.5
ENT.DefaultAmmo = 250
ENT.MaxAmmo = 250
ENT.PosePitch = 0
ENT.PoseYaw = 0
ENT.m_NoNailUnfreeze = true
ENT.NoNails = true
ENT.CanPackUp = true
ENT.IsBarricadeObject = true
ENT.AlwaysGhostable = true
function ENT:G... | gpl-3.0 |
google/gopacket | pcapgo/tests/test901.lua | 5 | 1086 | -- prevent wireshark loading this file as a plugin
if not _G['pcapng_test_gen'] then return end
local block = require "blocks"
local input = require "input"
local test = {
category = 'difficult',
description = "Multible SHB sections, one with invalid version number",
}
local timestamp = UInt64(0x64ca47... | bsd-3-clause |
Laterus/Darkstar-Linux-Fork | scripts/zones/Bastok_Markets/npcs/Aquillina.lua | 1 | 2395 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Aquillina
-- Starts & Finishes Repeatable Quest: A Flash In The Pan
-- Note: Reapeatable every 15 minutes.
-----------------------------------
package.loaded["scripts/globals/quests"] = nil;
require("scripts/globals/quests");
require("scripts... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Metalworks/npcs/Hungry_Wolf.lua | 1 | 1041 | -----------------------------------
-- Area: Metalworks
-- NPC: Hungry Wolf
-- Type: Quest Giver
-- @zone: 237
-- @pos: -25.861 -11 -30.172
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Castle_Zvahl_Keep/Zone.lua | 1 | 1132 | -----------------------------------
--
-- Zone: Castle_Zvahl_Keep
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
require("scripts/zones/Castle_Zvahl_Keep/TextIDs");
-----------------------------------
-- onInit... | gpl-3.0 |
TeamHypersomnia/Hypersomnia | hypersomnia/content/gfx/spell_electric_shield_icon.meta.lua | 14 | 1866 | return {
extra_loadables = {
disabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 60,
light_colors = {},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = true
},
offsets = {
gun = {
bullet_spawn... | agpl-3.0 |
flyzjhz/witi-openwrt | package/ramips/ui/luci-mtk/src/applications/luci-firewall/luasrc/model/cbi/firewall/forward-details.lua | 65 | 3931 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 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/LICENSE-2.0
$Id$
]]--
lo... | gpl-2.0 |
RyMarq/Zero-K | LuaRules/Configs/MetalSpots/Atuminoa.lua | 8 | 2956 | return {
spots = {
{x = 7480, z = 5832, metal = 1.9},
{x = 3352, z = 5656, metal = 1.9},
{x = 3880, z = 2328, metal = 1.9},
{x = 4456, z = 9176, metal = 1.9},
{x = 2296, z = 7896, metal = 1.9},
{x = 7576, z = 2136, metal = 1.9},
{x = 6360, z = 4584, metal = 1.9},
{x = 2072, z = 6024, metal = 1.9},
{x = 1960, z = 8344,... | gpl-2.0 |
tarantool/luarocks | src/luarocks/build/command.lua | 1 | 1115 |
--- Build back-end for raw listing of commands in rockspec files.
local command = {}
local fs = require("luarocks.fs")
local util = require("luarocks.util")
local cfg = require("luarocks.core.cfg")
--- Driver function for the "command" build back-end.
-- @param rockspec table: the loaded rockspec.
-- @return boolean... | mit |
vince06fr/prosody-modules | mod_ipcheck/mod_ipcheck.lua | 31 | 1776 |
-- mod_ipcheck.lua
-- Implementation of XEP-0279: Server IP Check <http://xmpp.org/extensions/xep-0279.html>
local st = require "util.stanza";
module:add_feature("urn:xmpp:sic:0");
module:hook("iq/bare/urn:xmpp:sic:0:ip", function(event)
local origin, stanza = event.origin, event.stanza;
if stanza.attr.type == "g... | mit |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/serving_of_batagreen_sautee.lua | 1 | 1354 | -----------------------------------------
-- ID: 4553
-- Item: serving_of_batagreen_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -2
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
DashingStrike/Automato-ATITD | scripts/watermine.lua | 1 | 4361 | --
--
--
dofile("common.inc");
wind_time = 7920000; -- 2 hours teppy time
check_time = 10000; -- 10 seconds
do_initial_wind = 1; -- default
do_wind = 1; -- default
srdelay = 100; --how long to wait after interacting before assuming the screen has finished changing
delay = 100; --how long to wait when... | mit |
pakoito/ToME---t-engine4 | game/loader/pre-init.lua | 3 | 4103 | -- TE4 - T-Engine 4
-- 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 version.... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Windurst_Waters_[S]/npcs/Ezura-Romazura.lua | 3 | 1504 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Ezura-Romazura
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
require("scripts/zones/Windurst_Waters_[S]/TextIDs");
-----... | gpl-3.0 |
RyMarq/Zero-K | LuaUI/Widgets/chili_old/Themes/theme.lua | 15 | 1466 | --//=============================================================================
--// Theme
theme = {}
theme.name = "default"
--//=============================================================================
--// Define default skins
local defaultSkin = "Evolved"
--local defaultSkin = "DarkGlass"
theme.skin = {
... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/general/npcs/ziguranth.lua | 3 | 4902 | -- 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 |
knixeur/notion | contrib/statusd/legacy/statusd_info.lua | 3 | 5561 | -- Authors: Randall Wald <randy@rwald.com>
-- License: GPL, version 2
-- Last Changed: Unknown
--
-- statusd_info.lua
-- CPU, Mem, and Swap information script
-- Written by Randall Wald
-- email: randy@rwald.com
-- Released under the GPL
--
-- This script is based on parsing 'top' output.
--
-- Unfortunately top output... | lgpl-2.1 |
LiJingBiao/wax | examples/States (without wax.framework)/scripts/StatesTable.lua | 34 | 1447 |
waxClass{"StatesTable", UITableViewController, protocols = {"UITableViewDataSource", "UITableViewDelegate"}}
function init(self)
self.super:init()
-- Loads plist from bundle
self.states = NSArray:arrayWithContentsOfFile("states.plist")
self:setTitle("States")
return self
end
function viewDidLoad(self)
... | mit |
NPLPackages/paracraft | script/kids/3DMapSystemItem/Item_HomeOutdoorParterre.lua | 1 | 2522 | --[[
Title: Home outdoor plant items for CCS customization
Author(s): WangTian
Date: 2009/6/10
Desc:
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/kids/3DMapSystemItem/Item_HomeOutdoorParterre.lua");
------------------------------------------------------------
]]
NPL.lo... | gpl-2.0 |
madpilot78/ntopng | scripts/lua/rest/v1/get/interface/address.lua | 1 | 1115 | --
-- (C) 2013-21 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
local alert_utils = require "alert_utils"
local json = require("dkjson")
local rest_utils = require("rest_utils")
--
-- Read the IP address(es) for an inter... | gpl-3.0 |
RyMarq/Zero-K | scripts/staticradar.lua | 5 | 2155 | include "constants.lua"
local base = piece 'base'
local ground = piece 'ground'
local head = piece 'head'
local smokePiece = {head}
local SCANNER_PERIOD = 1000
local on = false
--[[
local function TargetingLaser()
while on do
Turn(emit1, x_axis, math.rad(-50))
Turn(emit2, x_axis, math.rad(-40))
Turn(emit3, ... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/talents/gifts/corrosive-blades.lua | 3 | 9245 | -- 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 ... | gpl-3.0 |
RyMarq/Zero-K | LuaRules/Gadgets/weapon_noexplode_stopper.lua | 7 | 2335 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
knixeur/notion | contrib/styles/look_atme.lua | 3 | 3877 | -- Authors: Sadrul Habib Chowdhury <imadil@gmail.com>
-- License: Public domain
-- Last Changed: Unknown
--
-- look_atme.lua drawing engine configuration file for Ion.
--
-- Author: Sadrul Habib Chowdhury (Adil)
-- imadil |at| gmail |dot| com
if not gr.select_engine("de") then return end
de.reset()
de.defstyle("*", ... | lgpl-2.1 |
pakoito/ToME---t-engine4 | game/modules/tome/data/talents/cunning/tactical.lua | 2 | 6313 | -- 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 |
ignacio/luasec | src/https.lua | 4 | 3983 | ----------------------------------------------------------------------------
-- LuaSec 0.6a
-- Copyright (C) 2009-2015 PUC-Rio
--
-- Author: Pablo Musa
-- Author: Tomas Guisasola
---------------------------------------------------------------------------
local socket = require("socket")
local ssl = require("ssl")
l... | mit |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Network/Admin/ClassManager/SChatRoomPage.lua | 1 | 5730 | --[[
Title: Class List
Author(s): Chenjinxian
Date: 2020/7/6
Desc:
use the lib:
-------------------------------------------------------
local SChatRoomPage = NPL.load("(gl)script/apps/Aries/Creator/Game/Network/Admin/ClassManager/SChatRoomPage.lua");
SChatRoomPage.ShowPage()
-----------------------------------------... | gpl-2.0 |
TeamHypersomnia/Hypersomnia | hypersomnia/content/gfx/resistance_torso_knife_secd_5.meta.lua | 2 | 2785 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.40000000596046448,
amplification = 100,
light_colors = {
"223 113 38 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = fals... | agpl-3.0 |
triasg/CrownCustomizer | Libs/LibAddonMenu-2.0/controls/divider.lua | 7 | 1437 | --[[dividerData = {
type = "divider",
width = "full", --or "half" (optional)
height = 10, (optional)
alpha = 0.25, (optional)
reference = "MyAddonDivider" -- unique global reference to control (optional)
} ]]
local widgetVersion = 2
local LAM = LibStub("LibAddonMenu-2.0")
if not LAM:RegisterWidget... | mit |
kellabyte/snabbswitch | src/program/firehose/firehose.lua | 6 | 4731 | module(..., package.seeall)
local lib = require("core.lib")
local long_opts = {
help = "h",
example = "e",
["print-header"] = "H",
time = "t",
input = "i",
["ring-size"] = "r",
}
function fatal (reason)
print(reason)
os.exit(1)
end
function run ... | apache-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/talents/spells/shades.lua | 3 | 11226 | -- 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 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Movie/PlayModeController.lua | 1 | 8675 | --[[
Title: A special movie controller
Author(s): LiXizhi
Date: 2015/1/13
Desc: only shown when in read-only play mode.
We can rotate the camera while playing, once untouched, camera returned to original position.
TODO: in future we may add pause/resume/stop for currently playing movie in theater mode?
use the lib:
-... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/chats/elisa-shop.lua | 3 | 2829 | -- 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/sss25 | plugins/anti-bot.lua | 10 | 3214 |
local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, ch... | gpl-2.0 |
Har1eyquinn/Watch_Dog | 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 |
pakoito/ToME---t-engine4 | game/modules/tome/data/talents/psionic/mental-discipline.lua | 3 | 3989 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011, 2012, 2013 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 o... | gpl-3.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Tasks/WorldKey/WorldKeyEncodePage.lua | 1 | 9847 | --[[
Title: WorldKeyEncodePage
Author(s): yangguiyi
Date: 2021/4/28
Desc:
Use Lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/WorldKey/WorldKeyEncodePage.lua").Show();
--]]
local WorldKeyEncodePage = NPL.export();
local KeepworkServiceProject = NPL.load(... | gpl-2.0 |
tempbottle/openlua | src/testlist.lua | 2 | 4087 | --[[----------------------------------------------
Õë¶Ôlist.luaµÄ²âÊÔ´úÂë
--]]----------------------------------------------
dofile("list.lua")
local empty = List{}
assert(empty:Count() == 0)
local number1 = List{1979}
assert(number1:Count() == 1)
assert(number1:Get(1) == 1979)
local string1 = List{"djf"}
assert(stri... | mit |
Laterus/Darkstar-Linux-Fork | scripts/zones/Port_Bastok/npcs/Bartolomeo.lua | 1 | 1561 | -----------------------------------
-- Area: Port Bastok
-- NPC: Bartolomeo
-- Standard Info NPC
-- Involved in Quest: Welcome to Bastok
-----------------------------------
require("scripts/globals/keyitems");
package.loaded["scripts/globals/quests"] = nil;
require("scripts/globals/quests");
package.loaded["... | gpl-3.0 |
BinChengfei/openwrt-3.10.14 | package/ramips/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 |
pakoito/ToME---t-engine4 | game/modules/tome/data/quests/void-gerlyk.lua | 3 | 1297 | -- 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 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Tasks/SchoolCenter/TeacherPage.lua | 1 | 14978 | --[[
Title: TeacherPage
Author(s): yangguiyi
Date: 2021/6/2
Desc:
Use Lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/SchoolCenter/TeacherPage.lua").Show();
--]]
local KeepWorkItemManager = NPL.load("(gl)script/apps/Aries/Creator/HttpAPI/KeepWorkItemMana... | gpl-2.0 |
madpilot78/ntopng | scripts/lua/modules/check_templates/long_lived.lua | 1 | 1697 | --
-- (C) 2019-21 - ntop.org
--
-- ##############################################
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
package.path = dirs.installdir .. "/scripts/lua/modules/check_templates/?.lua;" .. package.path
-- Import the classes library.
local classes = require "cla... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Xarcabard/npcs/qm1.lua | 1 | 1390 | -----------------------------------
-- Area: Xarcabard
-- NPC: ???
-- Involved in Quests: The Three Magi
-- @zone 112
-- @pos -331 -29 -49
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requ... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/bowl_of_wild_stew.lua | 1 | 1668 | -----------------------------------------
-- ID: 4589
-- Item: Bowl of Wild Stew
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 4
-- Agility 1
-- Vitality 2
-- Intelligence -2
-- Attack % 25
-- Attack Cap 50
-- Ranged ATT % 25
-- Ranged ATT Cap 50
------------------... | gpl-3.0 |
RyMarq/Zero-K | gamedata/modularcomms/weapons/torpedo.lua | 1 | 1467 | local name = "commweapon_torpedo"
local weaponDef = {
name = [[Torpedo Launcher]],
areaOfEffect = 16,
avoidFriendly = false,
bouncerebound = 0.5,
bounceslip = 0.5,
burnblow = true,
collideFriendly = false,
craterBoost ... | gpl-2.0 |
eXhausted/Ovale | HonorAmongThieves.lua | 1 | 3581 | --[[--------------------------------------------------------------------
Copyright (C) 2014, 2015 Johnny C. Lam.
See the file LICENSE.txt for copying permission.
--]]-------------------------------------------------------------------
--[[
This addon tracks the hidden cooldown of Honor Among Thieves on a
subt... | mit |
SammyJames/LootDrop | Libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua | 2 | 11309 | -- LibAddonMenu-2.0 & its files © Ryan Lakanen (Seerah) --
-- All Rights Reserved --
-- Permission is granted to use Seerah's LibAddonMenu-2.0 --
-- in your project. Any modifications to LibAddonMenu-2.0 --
-- may not be redistributed. --
-----------------------------------------------------------... | mit |
Laterus/Darkstar-Linux-Fork | scripts/zones/Northern_San_dOria/npcs/Abioleget.lua | 1 | 1084 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Abioleget
-- Type: Quest Giver (Her Memories: The Faux Pas and The Vicasque's Sermon) / Merchant
-- @zone: 231
-- @pos: 128.771 0.000 118.538
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] =... | gpl-3.0 |
eXhausted/Ovale | DataBroker.lua | 1 | 5108 | --[[--------------------------------------------------------------------
Copyright (C) 2014, 2015 Johnny C. Lam.
See the file LICENSE.txt for copying permission.
--]]--------------------------------------------------------------------
local OVALE, Ovale = ...
local OvaleDataBroker = Ovale:NewModule("OvaleDataB... | mit |
pakoito/ToME---t-engine4 | game/modules/tome/data/texts/intro-thalore.lua | 3 | 1817 | -- 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/gates-of-morning-main.lua | 3 | 9921 | -- 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/maps/towns/point-zero.lua | 3 | 7321 | -- 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 | plugins/torrent_search.lua | 411 | 1622 | --[[ NOT USED DUE TO SSL ERROR
-- See https://getstrike.net/api/
local function strike_search(query)
local strike_base = 'http://getstrike.net/api/v2/torrents/'
local url = strike_base..'search/?phrase='..URL.escape(query)
print(url)
local b,c = http.request(url)
print(b,c)
local search = json:decode(b)
v... | gpl-2.0 |
abasshacker/abbasgh | plugins/bot_on_off.lua | 292 | 1641 | -- 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 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Grauberg_[S]/Zone.lua | 1 | 1117 | -----------------------------------
--
-- Zone: Grauberg_[S]
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Grauberg_[S]/TextIDs"] = nil;
require("scripts/zones/Grauberg_[S]/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/class/PartyMember.lua | 3 | 1588 | -- 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 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Metalworks/npcs/Lutia.lua | 5 | 1035 | -----------------------------------
-- Area: Metalworks
-- NPC: Lutia
-- Type: Standard NPC
-- @zone: 237
-- @pos: 24.076 -17 -33.060
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/zones/... | gpl-3.0 |
NPLPackages/paracraft | script/kids/3DMapSystemApp/worlds/RegionMonitorPage.lua | 1 | 2963 | --[[
Title: RegionMonitorPage
Author(s): Leio
Date: 2009/9/27
Desc:
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/kids/3DMapSystemApp/worlds/RegionMonitorPage.lua");
Map3DSystem.App.worlds.RegionMonitorPage.Show();
-------------------------------------------------------... | gpl-2.0 |
flyzjhz/witi-openwrt | package/ramips/ui/luci-mtk/src/libs/nixio/docsrc/nixio.Socket.lua | 157 | 6508 | --- Socket Object.
-- Supports IPv4, IPv6 and UNIX (POSIX only) families.
-- @cstyle instance
module "nixio.Socket"
--- Get the local address of a socket.
-- @class function
-- @name Socket.getsockname
-- @return IP-Address
-- @return Port
--- Get the peer address of a socket.
-- @class function
-- @name Socket.getpe... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/greedie.lua | 1 | 1178 | -----------------------------------------
-- ID: 4500
-- Item: greedie
-- Food Effect: 0Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Mhaura/npcs/Zexu.lua | 3 | 1260 | -----------------------------------
-- Area: Mhaura
-- NPC: Zexu
-- Involved in Quests: The Sand Charm
-- @zone 249
-- @pos 30 -8 25
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
require("scripts/zones/Mhaura/TextIDs");
----... | gpl-3.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Tasks/OnlineStore/OnlineStore.lua | 1 | 5171 | --[[
Title: OnlineStore
Author(s): LiXizhi
Date: 2019/8/13
Desc: online store at: https://keepwork.com/p/comp/system?port=8099
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/OnlineStore/OnlineStore.lua");
local OnlineStore = commonlib.gettab... | gpl-2.0 |
EliasJMote/Endless-Runner | main.lua | 1 | 4624 | -----------------------------------------------------------------------------------------
--
-- main.lua
--
-----------------------------------------------------------------------------------------
-- Endless runner game with grappling hook mechanics
--
-- In this game, a knight runs along an endless strip to land (si... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Davoi/npcs/Disused_Well.lua | 1 | 1321 | -----------------------------------
-- Area: Davoi
-- NPC: Disused Well
-- Involved in Quest: A Knight's Test
-- @zone 149
-- @pos -221 2 -293
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
groupforspeed/API-WaderTG | plugins/azan.lua | 10 | 3158 | --[[
#
# @WaderTGTeam
# @WaderTGTeam
#
]]
do
function run_bash(str)
local cmd = io.popen(str)
local result = cmd:read('*all')
return result
end
local api_key = nil
local base_api = "https://maps.googleapis.com/maps/api"
function get_latlong(area)
local api = base_api .. "/geocode/json?"... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/serving_of_medicinal_quus.lua | 1 | 1337 | -----------------------------------------
-- ID: 4294
-- Item: serving_of_medicinal_quus
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -1
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/slice_of_roast_mutton.lua | 1 | 1331 | -----------------------------------------
-- ID: 4437
-- Item: slice_of_roast_mutton
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
adde88/Nerdpack-Zylla | fakeunits.lua | 1 | 5034 | local _, Zylla = ...
local _G = _G
local NeP = _G.NeP
local function ClassRange(target)
if ( NeP.DSL:Get('range')(target, 'player') <= NeP.DSL:Get('class_range')() )
or ( NeP.DSL:Get('inmelee')(target) and NeP.DSL:Get('class_range')() == 5 ) then
return true
end
return false
end
-- Healing stuff
NeP.FakeUnits:A... | mit |
madpilot78/ntopng | scripts/lua/modules/country_utils.lua | 1 | 1574 | require "lua_utils"
-- Get from redis the throughput type bps or pps
local throughput_type = getThroughputType()
local now = os.time()
function country2record(ifId, country)
local record = {}
record["key"] = tostring(country["country"])
local country_link = "<A HREF='"..ntop.getHttpPrefix()..'/lua/hosts_st... | gpl-3.0 |
metal-bot/metal | metal.lua | 1 | 10460 | 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 = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/engines/default/engine/class.lua | 2 | 10968 | -- TE4 - T-Engine 4
-- 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 version.... | gpl-3.0 |
madpilot78/ntopng | attic/scripts/lua/modules/recipients/recipients.lua | 2 | 2196 | --
-- (C) 2017-21 - ntop.org
--
local json = require "dkjson"
-- ##############################################
local recipients = {}
-- ##############################################
function recipients:create(args)
if args then
-- We're being sub-classed
if not args.key then
return nil
end... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/gfx/particles/flame.lua | 2 | 2187 | -- 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 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Bhaflau_Remnants/Zone.lua | 1 | 1129 | -----------------------------------
--
-- Zone: Bhaflau_Remnants
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Bhaflau_Remnants/TextIDs"] = nil;
require("scripts/zones/Bhaflau_Remnants/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
knixeur/notion | ioncore/ioncore_luaext.lua | 2 | 1856 | --
-- ion/share/ioncore_luaext.lua
--
-- Copyright (c) Tuomo Valkonen 2004-2007.
--
-- See the included file LICENSE for details.
--
--DOC
-- Make \var{str} shell-safe.
function string.shell_safe(str)
return "'"..string.gsub(str, "'", "'\\''").."'"
end
--DOC
-- Make copy of \var{table}. If \var{deep} is unset, ... | lgpl-2.1 |
FihlaTV/C-RTMP-Server | configs/stresstest.lua | 15 | 1873 | -- Start of the configuration. This is the only node in the config file.
-- The rest of them are sub-nodes
configuration=
{
-- if true, the server will run as a daemon.
-- NOTE: all console appenders will be ignored if this is a daemon
daemon=false,
-- the OS's path separator. Used in composing paths
pathSeparato... | gpl-3.0 |
Moodstocks/stnbhwd | demo/Optim.lua | 4 | 9436 | --[[ That would be the license for Optim.lua
BSD License
For fbcunn software
Copyright (c) 2014, Facebook, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
... | mit |
RyMarq/Zero-K | units/empmissile.lua | 1 | 3035 | return { empmissile = {
unitname = [[empmissile]],
name = [[Shockley]],
description = [[EMP missile]],
buildCostMetal = 600,
builder = false,
buildPic = [[empmissile.png]],
category = [[SINK UNARMED]],
collisio... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/general/objects/egos/robe.lua | 2 | 17800 | -- 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 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Dynamis-Valkurm/Zone.lua | 1 | 1126 | -----------------------------------
--
-- Zone: Dynamis-Valkurm
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
require("scripts/zones/Dynamis-Valkurm/TextIDs");
-----------------------------------
-- onInitialize... | gpl-3.0 |
TeamHypersomnia/Hypersomnia | hypersomnia/content/gfx/metropolis_torso_heavy_gtm_4.meta.lua | 2 | 2850 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.43000000715255737,
amplification = 140,
light_colors = {
"89 31 168 255",
"48 42 88 255",
"61 16 123 0"
},
radius = {
x = 80,
y = 80
},
standard_deviati... | agpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/zones/town-iron-council/grids.lua | 3 | 3299 | -- 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 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Windurst_Waters/npcs/Sohdede.lua | 5 | 1040 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Sohdede
-- Type: Standard NPC
-- @zone: 238
-- @pos: -60.601 -7.499 111.639
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
---------... | gpl-3.0 |
notcake/cac-administration | ulxsourcebansbansystem.lua | 1 | 1117 | local self = {}
CAC.ULXSourceBansBanSystem = CAC.MakeConstructor (self, CAC.BanSystem)
function self:ctor ()
end
-- IReadOnlyBanSystem
function self:GetId ()
return "ULXSourceBansBanSystem"
end
function self:GetName ()
return "ULX SourceBans"
end
function self:IsAvailable ()
return istable (SBAN)
end
-- IBanSys... | mit |
fegimanam/best | plugins/autoleave.lua | 16 | 1845 | --[[
Kicking ourself (bot) from unmanaged groups.
When someone invited this bot to a group, the bot then will chek if the group
is in its moderations (moderation.json).
If not, the bot will exit immediately by kicking itself out of that group.
Enable plugin using !plugins plugin. And if your bot already invited into gr... | gpl-2.0 |
padrinoo1/teleunity | plugins/inrealm.lua | 287 | 25005 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Northern_San_dOria/npcs/Maurine.lua | 5 | 1024 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Maurine
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos: 144.852 0.000 136.828
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/zones/gladium/zone.lua | 3 | 1158 | -- 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/texts/tutorial/stats-tier/tier6.lua | 3 | 1425 | -- 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 |
james2doyle/lit | libs/get-installed.lua | 3 | 1582 | --[[
Copyright 2014-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 o... | apache-2.0 |
SammyJames/LootDrop | Libs/LibAddonMenu-2.0/controls/header.lua | 2 | 1617 | --[[headerData = {
type = "header",
name = "My Header",
width = "full", --or "half" (optional)
reference = "MyAddonHeader" --(optional) unique global reference to control
} ]]
local widgetVersion = 4
local LAM = LibStub("LibAddonMenu-2.0")
if not LAM:RegisterWidget("header", widgetVersion) then return e... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.