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
adde88/Nerdpack-Zylla
rotations/paladin/protection.lua
1
8873
local _, Zylla = ... local unpack = _G.unpack local NeP = _G.NeP local Mythic_Plus = _G.Zylla.Mythic_Plus local GUI = { unpack(Zylla.Logo_GUI), -- Header {type = 'header', size = 16, text = 'Keybinds', align = 'center'}, {type = 'checkbox', text = 'Left Shift: '..Zylla.ClassColor..'Pause|...
mit
Lleafll/sws-lleaf
libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
15
56930
--- AceConfigDialog-3.0 generates AceGUI-3.0 based windows based on option tables. -- @class file -- @name AceConfigDialog-3.0 -- @release $Id: AceConfigDialog-3.0.lua 1126 2014-11-10 06:38:01Z nevcairiel $ local LibStub = LibStub local MAJOR, MINOR = "AceConfigDialog-3.0", 60 local AceConfigDialog, oldminor = LibStub...
mit
Joshalexjacobs/fantastic-guacamole
bullets.lua
1
6902
-- bullets.lua -- --local hit = love.audio.newSource("sound/bullet sound/hit.wav", static) --hit:setVolume(0.1) --love.audio.play(hit) local pbullet = { type = "invincible", owner = "player", hitSound = nil, hit = false, x = nil, y = nil, w = 4, -- 8 h = 4, -- 8 dx = 0, dy = 0, speed = 400, di...
mit
Laterus/Darkstar-Linux-Fork
scripts/zones/RuLude_Gardens/npcs/Radeivepart.lua
1
2766
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Radeivepart -- Starts and Finishes Quest: Northward -- Involved in Quests: Save the Clock Tower -- @zone 243 -- @pos 5 9 -39 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); packa...
gpl-3.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Network/Packets/PacketEntityTeleport.lua
1
1883
--[[ Title: PacketEntityTeleport Author(s): LiXizhi Date: 2014/7/4 Desc: use the lib: ------------------------------------------------------- NPL.load("(gl)script/apps/Aries/Creator/Game/Network/Packets/PacketEntityTeleport.lua"); local Packets = commonlib.gettable("MyCompany.Aries.Game.Network.Packets"); local packet...
gpl-2.0
monkoose/neovim-setup
lua/statusline.lua
1
4991
local diagn = vim.diagnostic local M = {} local augroup = vim.api.nvim_create_augroup("StatusLine", {}) local autocmd = vim.api.nvim_create_autocmd local colors = { green = 1, yellow = 2, blue = 3, magenta = 4, red = 5, bold_red = 6, } -- UTILS ------------------------------ local function colorize(str,...
mit
Laterus/Darkstar-Linux-Fork
scripts/zones/Bastok_Mines/npcs/Leonie.lua
5
1046
----------------------------------- -- Area: Bastok Mines -- NPC: Leonie -- Type: Room Renters -- @zone: 234 -- @pos: 118.871 -0.004 -83.916 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scrip...
gpl-3.0
koenwtje/dotfiles
config/awesome/battery.lua
1
3149
-- This function returns a formatted string with the current battery status. It -- can be used to populate a text widget in the awesome window manager. Based -- on the "Gigamo Battery Widget" found in the wiki at awesome.naquadah.org local naughty = require("naughty") local beautiful = require("beautiful") function r...
mit
TerminalShell/zombiesurvival
entities/entities/prop_aegisboard/cl_init.lua
1
1568
include("shared.lua") ENT.RenderGroup = RENDERGROUP_TRANSLUCENT function ENT:SetBoardHealth(health) self:SetDTFloat(0, health) end //local matOutlineWhite = Material("white_outline") //local ScaleNormal = 1 //local ScaleOutline = 1.09 function ENT:Draw() if MySelf:IsValid() and MySelf:Team() == TEAM_HUMAN then /...
gpl-3.0
madpilot78/ntopng
attic/scripts/plugins/alerts/network/threshold_cross/user_scripts/interface/throughput.lua
2
1434
-- -- (C) 2019-21 - ntop.org -- local alerts_api = require("alerts_api") local alert_consts = require("alert_consts") local user_scripts = require("user_scripts") local alert_severities = require "alert_severities" local script = { -- Script category category = user_scripts.script_categories.network, default_e...
gpl-3.0
TerminalShell/zombiesurvival
entities/entities/gmod_player_start/init.lua
1
1561
-- This makes old gmod9 ZS maps playable ENT.Type = "point" function ENT:Initialize() if self.RedTeam or self.GreenTeam or self.YellowTeam or self.BlueTeam then self.BlueTeam = self.BlueTeam or false self.GreenTeam = self.GreenTeam or false self.YellowTeam = self.YellowTeam or false self.RedTeam = self.RedTe...
gpl-3.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Common/Files.lua
1
26984
--[[ Title: World Files Author(s): LiXizhi Date: 2014/5/7 Desc: use the lib: ------------------------------------------------------- NPL.load("(gl)script/apps/Aries/Creator/Game/Common/Files.lua"); local Files = commonlib.gettable("MyCompany.Aries.Game.Common.Files"); -- search and cache the relative path local filepa...
gpl-2.0
pakoito/ToME---t-engine4
game/modules/tome/data/maps/vaults/32-chambers.lua
3
1763
-- 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
derkling/dotfiles
awesome/lain/util/init.lua
7
6701
--[[ Lain Layouts, widgets and utilities for Awesome WM Utilities section ...
mit
Laterus/Darkstar-Linux-Fork
scripts/zones/Silver_Sea_route_to_Nashmau/Zone.lua
1
1162
----------------------------------- -- -- Zone: Silver_Sea_route_to_Nashmau -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil; require("scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"); -----------------...
gpl-3.0
abasshacker/abbas00
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
M4J1D/Tabchi_robotsazTeam
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-3.0
NPLPackages/paracraft
script/kids/3DMapSystemUI/MsgProc_profile.lua
1
2043
--[[ Title: user profile message processor Author(s): LiXizhi Date: 2007/10/19 use the lib: ------------------------------------------------------------ NPL.load("(gl)script/kids/3DMapSystemUI/MsgProc_obj.lua"); Map3DSystem.SendMessage_profile({type = Map3DSystem.msg.USER_AddPoint, value=10}) --------------------------...
gpl-2.0
DashingStrike/Automato-ATITD
scripts/fishing.lua
1
41069
-- Pin up your Lures menu 'Self Click, Skills, Fishing, Use Lure' (no other pinned up windows can exist) -- In Interface Options ensure 'Interface is Small' -- Should have (Chat-Related): 'Chat and Inventory can be minimized' AND 'Minimized chat-channels are still visible' AND 'Console Messages are Indented' -- You mus...
mit
jsj2008/ValyriaTear
dat/maps/layna_forest/layna_forest_cave2_map.lua
4
94807
map_data = {} -- The number of rows, and columns that compose the map map_data.num_tile_cols = 64 map_data.num_tile_rows = 48 -- The tilesets definition files used. map_data.tileset_filenames = {} map_data.tileset_filenames[1] = "dat/tilesets/desert_cave_ground.lua" map_data.tileset_filenames[2] = "dat/tilesets/deser...
gpl-2.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/NplMod/NplModConfig.lua
1
1512
--[[ Title: NplModConfig Author(s): leio Date: 2021/1/7 Desc: define nplm config use the lib: ------------------------------------------------------------ local NplModConfig = NPL.load("(gl)script/apps/Aries/Creator/Game/NplMod/NplModConfig.lua"); ------------------------------------------------------------ --]] NPL.l...
gpl-2.0
fegimanam/best
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
fmassa/nn
SpatialUpSamplingNearest.lua
36
1914
local SpatialUpSamplingNearest, parent = torch.class('nn.SpatialUpSamplingNearest', 'nn.Module') --[[ Applies a 2D up-sampling over an input image composed of several input planes. The upsampling is done using the simple nearest neighbor technique. The Y and X dimensions are assumed to be the last 2 tensor dimension...
bsd-3-clause
pakoito/ToME---t-engine4
game/modules/tome/data/general/npcs/xorn.lua
3
7595
-- 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
Joshalexjacobs/fantastic-guacamole
humpCamera.lua
1
6430
--[[ Copyright (c) 2010-2015 Matthias Richter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
mit
osamaalbsraoy/osama_albsraoy1989
plugins/robot.lua
1
1957
--[[ # For More Information ....! # Developer : osama < @os_Aa23 > #Dev # our channel: @os_Aa23 ]] 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[...
gpl-2.0
pakoito/ToME---t-engine4
game/modules/tome/data/gfx/particles/stone_shards.lua
3
1495
-- 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/zones/unremarkable-cave/npcs.lua
3
5035
-- 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
eXhausted/Ovale
scripts/ovale_priest_spells.lua
1
15325
local OVALE, Ovale = ... local OvaleScripts = Ovale.OvaleScripts do local name = "ovale_priest_spells" local desc = "[7.0] Ovale: Priest spells" local code = [[ # Priest spells and functions. # Learned spells Define(borrowed_time 52798) SpellInfo(borrowed_time learn=1 level=10 specialization=discipline) Define(ra...
mit
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Movie/QRCodeWnd.lua
1
1056
--[[ Title: minimap UI window Author(s): Date: Desc: use the lib: ------------------------------------------------------------ NPL.load("(gl)script/apps/Aries/Creator/Game/Movie/QRCodeWnd.lua"); local QRCodeWnd = commonlib.gettable("MyCompany.Aries.Game.Movie.QRCodeWnd"); QRCodeWnd:Show(); --------------------------...
gpl-2.0
jsj2008/ValyriaTear
dat/tilesets/building_interior_objects_01.lua
4
12426
tileset = {} tileset.image = "img/tilesets/building_interior_objects_01.png" tileset.num_tile_cols = 16 tileset.num_tile_rows = 16 -- The general walkability of the tiles in the tileset. Zero indicates walkable. One tile has four walkable quadrants listed as: NW corner, NE corner, SW corner, SE corner. tileset.walkab...
gpl-2.0
pakoito/ToME---t-engine4
game/modules/tome/data/general/objects/lore/sunwall.lua
3
1077
-- 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/Code/NplCad/NplCadDef/NplCadDef_Animation.lua
1
7183
--[[ Title: NplCadDef_Animation Author(s): leio Date: 2019/8/2 Desc: a set of commands to animate joints use the lib: ------------------------------------------------------- NPL.load("(gl)script/apps/Aries/Creator/Game/Code/NplCad/NplCadDef/NplCadDef_Animation.lua"); local NplCadDef_Animation = commonlib.gettable("MyCo...
gpl-2.0
vince06fr/prosody-modules
mod_auth_dovecot/auth_dovecot/mod_auth_dovecot.lua
32
2974
-- Dovecot authentication backend for Prosody -- -- Copyright (C) 2010-2011 Waqas Hussain -- Copyright (C) 2011 Kim Alvefur -- local name = "Dovecot SASL"; local log = require "util.logger".init("auth_dovecot"); local socket_path = module:get_option_string("dovecot_auth_socket", "/var/run/dovecot/auth-login"); local ...
mit
RyMarq/Zero-K
effects/gundam_missile_explosion.lua
26
2926
-- missile_explosion return { ["missile_explosion"] = { dirt = { count = 4, ground = true, properties = { alphafalloff = 2, alwaysvisible = true, color = [[0.2, 0.1, 0.05]], pos = [[r-10 r10, 0, r-10...
gpl-2.0
p00ria/Grandex
plugins/Google_Image.lua
2
3167
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
RyMarq/Zero-K
LuaRules/Gadgets/unit_spherical_los.lua
2
3109
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
vince06fr/prosody-modules
mod_admin_web/admin_web/mod_admin_web.lua
31
9425
-- Copyright (C) 2010 Florian Zeitz -- -- This file is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- -- <session xmlns="http://prosody.im/streams/c2s" jid="alice@example.com/brussels"> -- <encrypted/> -- <compressed/> -- </session> -- <session xmlns="http://prosod...
mit
madpilot78/ntopng
scripts/lua/inc/users.lua
1
1781
local page_utils = require("page_utils") local get_users_url = ntop.getHttpPrefix().."/lua/admin/get_users.lua" local users_type = {ntopng=ternary(ntop.isnEdge(), i18n("nedge.system_users"), i18n("login.web_users"))} local title = users_type["ntopng"] page_utils.print_page_title(title) print [[ <div id="table-u...
gpl-3.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/blocks/BlockLiquidFlow.lua
1
12038
--[[ Title: Flowing Water Block Author(s): LiXizhi Date: 2013/12/1 Desc: To keep track of which blocks are actively flowing, Water and Lava each have a pair of block IDs. For water, there is Water (75) and Still Water (76). Still Water will stay in place until it receives a block update. Water updates periodically a...
gpl-2.0
eXhausted/Ovale
Queue.lua
1
2943
--[[-------------------------------------------------------------------- Copyright (C) 2013, 2014 Johnny C. Lam. See the file LICENSE.txt for copying permission. --]]-------------------------------------------------------------------- -- Double-ended queue. local OVALE, Ovale = ... local OvaleQueue = {} Ovale....
mit
p00ria/Grandex
plugins/ClashOfClans.lua
1
3002
local apikey = '' local function run(msg, matches) if matches[1]:lower() == 'clan' or matches[1]:lower() == 'clash' or matches[1]:lower() == 'clantag' or matches[1]:lower() == 'tag' then local clantag = matches[2] if string.match(matches[2], '^#.+$') then clantag = string.gsub(matches[2], '#', '') end cl...
gpl-2.0
salehvw0011/stfbot
libs/XMLElement.lua
569
4025
-- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence. -- updated for module-free world of lua 5.3 on April 2 2015 -- Not documented at all, but not interesting enough to warrant documentation anyway. local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ...
gpl-2.0
pakoito/ToME---t-engine4
game/modules/tome/data/gfx/particles/slime.lua
3
1217
-- 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/La_Theine_Plateau/Zone.lua
1
2039
----------------------------------- -- -- Zone: La_Theine_Plateau -- ----------------------------------- package.loaded["scripts/globals/quests"] = nil; require("scripts/globals/quests"); require("scripts/globals/settings"); package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; require("scripts/zo...
gpl-3.0
RyMarq/Zero-K
units/vehcapture.lua
1
4212
return { vehcapture = { unitname = [[vehcapture]], name = [[Dominatrix]], description = [[Capture Rover]], acceleration = 0.222, brakeRate = 0.385, buildCostMetal = 420, builder = false, buildPic = [[vehcapture.png]], canGu...
gpl-2.0
TeamHypersomnia/Hypersomnia
hypersomnia/content/gfx/resistance_torso_pistol_shot_2.meta.lua
2
2749
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
RyMarq/Zero-K
LuaRules/Gadgets/factory_anti_slacker.lua
1
1779
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
RyMarq/Zero-K
effects/beamlaser.lua
25
2996
-- beamlaser_violet_hit_200 -- beamlaser_blue_hit_200 return { ["beamlaser_violet_hit_200"] = { usedefaultexplosions = false, pikes = { air = true, class = [[explspike]], count = 4, ground = true, water = true, ...
gpl-2.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Commands/CommandDetect.lua
1
2742
--[[ Title: detect Author(s): LiXizhi Date: 2016/1/13 Desc: detect command use the lib: ------------------------------------------------------- NPL.load("(gl)script/apps/Aries/Creator/Game/Commands/CommandDetect.lua"); ------------------------------------------------------- ]] NPL.load("(gl)script/ide/System/Core/Obje...
gpl-2.0
eriche2016/nn
Padding.lua
17
2404
local Padding, parent = torch.class('nn.Padding', 'nn.Module') -- pad puts in [pad] amount of [value] over dimension [dim], starting at index [index] in that dimension. If pad<0, index counts from the left. If pad>0 index counts from the right -- index = 1 pads before index 1. index = 2 pads starting before index 2 ...
bsd-3-clause
soheil22222222/mm
plugins/lock_fosh.lua
2
1126
local function run(msg, matches) if is_momod(msg) then return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then if data[tostring(msg.to.id)]['settings'] then if data[tostring(msg.to.id)]['settings']['fosh'] then lock_fosh = ...
gpl-2.0
Laterus/Darkstar-Linux-Fork
scripts/zones/The_Eldieme_Necropolis/npcs/Sarcophagus.lua
1
2121
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Sarcophagus -- Involved in Quest: The Requiem (BARD AF2) -- @zone 195 -- @pos -420 8 500 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
TerminalShell/zombiesurvival
entities/entities/prop_messagebeacon/init.lua
1
2352
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") ENT.m_Health = 100 function ENT:Initialize() self:SetModel("models/props_combine/combine_mine01.mdl") --self:PhysicsInit(SOLID_VPHYSICS) self:PhysicsInitBox(Vector(-8.29, -8.29, 0), Vector(8.29, 8.29, 10.13)) self:SetCollisionBounds(Vec...
gpl-3.0
NPLPackages/paracraft
script/apps/Aries/mcml/pe_aries_lobbyservice.lua
1
10019
--[[ Title: Author(s): Leio Date: 2011/08/16 Desc: use the lib: ------------------------------------------------------- NPL.load("(gl)script/apps/Aries/mcml/pe_aries_lobbyservice.lua"); ------------------------------------------------------- ]] NPL.load("(gl)script/apps/Aries/Service/CommonClientService.lua"); loc...
gpl-2.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Tavnazian_Safehold/npcs/Melleupaux.lua
37
1310
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Melleupaux -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ------------...
gpl-3.0
RyMarq/Zero-K
scripts/shieldassault.lua
8
6613
-- original bos animation by Chris Mackey -- converted to lua by psimyn include 'constants.lua' local base = piece 'base' local shield = piece 'shield' local head = piece 'head' local l_gun = piece 'l_gun' local r_gun = piece 'r_gun' local firept1 = piece 'firept1' local r_barrel = piece 'r_barrel' local firept2 = pi...
gpl-2.0
vince06fr/prosody-modules
mod_rawdebug/mod_rawdebug.lua
32
1337
module:set_global(); local tostring = tostring; local filters = require "util.filters"; local def_env = module:shared("admin_telnet/env"); local rawdebug_enabled = module:shared("sessions"); local full_sessions = prosody.full_sessions; local log = module._log; local rawdebug = {}; def_env.rawdebug = rawdebug; local...
mit
Laterus/Darkstar-Linux-Fork
scripts/zones/Fort_Karugo-Narugo_[S]/Zone.lua
1
1147
----------------------------------- -- -- Zone: Fort_Karugo-Narugo_[S] -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil; require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"); --------------------------------...
gpl-3.0
NPLPackages/paracraft
script/kids/3DMapSystemUI/CCS/DefaultAppearance.lua
1
1458
--[[ Title: Character Customization System default appearance Author(s): WangTian Date: 2008/3/12 use the lib: ------------------------------------------------------------ NPL.load("(gl)script/kids/3DMapSystemUI/CCS/DefaultAppearance.lua"); ------------------------------------------------------- Desc: mount a nude CCS ...
gpl-2.0
RyMarq/Zero-K
gamedata/modularcomms/weapons/lightninggun.lua
6
1282
local name = "commweapon_lightninggun" local weaponDef = { name = [[Lightning Gun]], areaOfEffect = 8, beamTTL = 12, craterBoost = 0, craterMult = 0, customParams = { is_unit_weapon = 1, extra_damage_mult = 2.5, slot = [[5]],...
gpl-2.0
TerminalShell/zombiesurvival
gamemode/zombieclasses/fast_headcrab.lua
1
2546
CLASS.Name = "Fast Headcrab" CLASS.Description = "The male headcrab is considerably faster but less beefy than the female.\nEither way, it's equally as annoying and deadly in groups." CLASS.Help = "> PRIMARY: Lunge attack" CLASS.Model = Model("models/headcrab.mdl") CLASS.Wave = 1 / 4 CLASS.SWEP = "weapon_zs_fasthead...
gpl-3.0
pakoito/ToME---t-engine4
game/engines/default/engine/ui/ListColumns.lua
2
25128
-- 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
pakoito/ToME---t-engine4
game/engines/default/modules/boot/ai/player.lua
3
1873
-- ToME - Tales of Middle-Earth -- 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 la...
gpl-3.0
madpilot78/ntopng
scripts/lua/modules/file_utils.lua
1
2763
-- -- (C) 2019-21 - ntop.org -- local file_utils = {} local os_utils = require("os_utils") -- ############################################## function file_utils.copy_file(fname, src_path, dst_path) local src local dst if(fname == nil) then src = os_utils.fixPath(src_path) dst = os_utils.fixPath...
gpl-3.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/mcml/pe_mc_player.lua
1
6607
--[[ Title: player avatar display Author(s): LiXizhi Company: ParaEngine Date: 2013.10.14 Desc: use the lib: ------------------------------------------------------------ NPL.load("(gl)script/apps/Aries/Creator/Game/mcml/pe_mc_player.lua"); ------------------------------------------------------------ ]] NPL.load("(gl...
gpl-2.0
HellBoooy021/HellBot
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
pakoito/ToME---t-engine4
game/modules/tome/data/zones/vor-pride/objects.lua
3
3553
-- 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
Ferk/Dungeontest
mods/dungeon_artefacts/dmaking/tome.lua
1
9468
statuses.register_status("dmaking:maker",{ description = "DungeonMaking", hidden = true, survive_player_death = true, groups = {dmaking=1} }) local pool_selection_array = {"0","1","2","3","4","down","up"} -- Teleport the given player to the X entrance of the room, which is always -- open in unrotated schematics....
gpl-3.0
RyMarq/Zero-K
effects/rome.lua
25
7463
-- rome return { ["rome"] = { air = true, count = 10, ground = true, water = true, debris1 = { air = true, class = [[CSimpleParticleSystem]], count = 20, ground = true...
gpl-2.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Port_San_dOria/Zone.lua
1
2062
----------------------------------- -- -- Zone: Port_San_dOria -- ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/server"); require("scripts/globals/settings"); require("scripts/zones/Port_San_dOr...
gpl-3.0
pakoito/ToME---t-engine4
game/modules/tome/data/maps/zones/reknor-last.lua
3
3437
-- 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
gleachkr/luakit
config/rc.lua
1
6216
------------------------------------------------------------------------------ -- luakit configuration file, more information at https://luakit.github.io/ -- ------------------------------------------------------------------------------ require "lfs" -- Check for lua configuration files that will never be loaded beca...
gpl-3.0
pakoito/ToME---t-engine4
game/modules/tome/data/talents/misc/misc.lua
2
16163
-- 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/Bastok_Mines/npcs/Faustin.lua
1
1415
----------------------------------- -- Area: Bastok_Mines -- NPC: Faustin -- Only sells when Bastok controlls Ronfaure Region ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/z...
gpl-3.0
Max-pbot/Maxbot3
plugins/admin.lua
1
7212
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('User['..user_id..']File download shod dar:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) ...
gpl-2.0
pakoito/ToME---t-engine4
game/modules/tome/data/zones/temporal-rift/npcs.lua
2
8089
-- 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/mage-apprentice-quest.lua
3
5765
-- 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
sagarwaghmare69/dpnn
ArgMax.lua
3
2014
------------------------------------------------------------------------ --[[ ArgMax ]]-- -- Returns the index of the maxima for dimension dim. -- Cannot backpropagate through this module. -- Created for use with ReinforceCategorical. ------------------------------------------------------------------------ local ArgMax...
bsd-3-clause
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Common/QuadTree.lua
1
11628
--[[ Title: QuadTree Author(s): wxa, refined and ported lxz Date: 2020/6/10 Desc: it will split as new objects are added to the tree. And it will only split vertically or horizontally if the number of objects on the parent node is larger than splitThreshold (default to 20). The minimum node size is defined by minWidth...
gpl-2.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Metalworks/npcs/Manilam.lua
5
1034
----------------------------------- -- Area: Metalworks -- NPC: Manilam -- Type: Quest NPC -- @zone: 237 -- @pos: -57.300 -11 22.332 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("scripts/zones/M...
gpl-3.0
hfjgjfg/eli25
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
hfjgjfg/PERSIANGUARD10
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
Har1eyquinn/Watch_Dog
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
terinux/ahhhh
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
llX8Xll/DEVKEEPER1
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Code/NplMicroRobot/NplMicroRobotDef/NplMicroRobotDef_Servo.lua
1
1704
--[[ Title: NplMicroRobotDef_Servo Author(s): leio Date: 2020/12/15 Desc: use the lib: ------------------------------------------------------- NPL.load("(gl)script/apps/Aries/Creator/Game/Code/NplMicroRobot/NplMicroRobotDef/NplMicroRobotDef_Servo.lua"); ------------------------------------------------------- ]] NPL.ex...
gpl-2.0
CerNerCompany/Anti-Spam
bot/utf8.lua
9
26232
-- $Id: utf8.lua 179 2009-04-03 18:10:03Z pasta $ -- -- Provides UTF-8 aware string functions implemented in pure lua: -- * utf8len(s) -- * utf8sub(s, i, j) -- * utf8reverse(s) -- * utf8char(unicode) -- * utf8unicode(s, i, j) -- * utf8gensub(s, sub_len) -- * utf8find(str, regex, init, plain) -- * utf8match(str, regex, ...
lgpl-2.1
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Tasks/ParaWorld/ParaWorldSchools.lua
1
3568
--[[ Title: paraworld list Author(s): chenjinxian Date: 2020/9/8 Desc: use the lib: ------------------------------------------------------------ local ParaWorldSchools = NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/ParaWorld/ParaWorldSchools.lua"); ParaWorldSchools.ShowPage(); ----------------------------------...
gpl-2.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Items/ItemSign.lua
1
2243
--[[ Title: ItemSign Author(s): LiXizhi Date: 2015/6/18 Desc: use the lib: ------------------------------------------------------------ NPL.load("(gl)script/apps/Aries/Creator/Game/Items/ItemSign.lua"); local ItemSign = commonlib.gettable("MyCompany.Aries.Game.Items.ItemSign"); local item = ItemSign:new({icon,}); ----...
gpl-2.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Movie/ActorLight.lua
1
18950
--[[ Title: Actor Light Author(s): LiXizhi Date: 2020/5/11 Desc: actor light object use the lib: ------------------------------------------------------- NPL.load("(gl)script/apps/Aries/Creator/Game/Movie/ActorLight.lua"); local ActorLight = commonlib.gettable("MyCompany.Aries.Game.Movie.ActorLight"); ------------------...
gpl-2.0
knixeur/notion
etc/cfg_notion.lua
2
5459
-- -- Notion main configuration file -- -- This file only includes some settings that are rather frequently altered. -- The rest of the settings are in cfg_notioncore.lua and individual modules' -- configuration files (cfg_modulename.lua). -- -- When any binding and other customisations that you want are minor, it is -...
lgpl-2.1
lyzardiar/seal2d
luasrc/seal/event.lua
1
2083
local sdl_enum = require "seal.sdl_enum" local event = {} local MOUSE_EVENTS = {} local touch_event = {} function touch_event.new(type, x, y, dx, dy) local obj = { type = type, x = x, y = y, dx = dx, dy = dy, captered = {}, current_target = nil, st...
mit
Ferk/Dungeontest
mods/default/mapgen.lua
1
18580
-- -- Aliases for map generator outputs -- minetest.register_alias("mapgen_stone", "default:stone") minetest.register_alias("mapgen_dirt", "default:dirt") minetest.register_alias("mapgen_dirt_with_grass", "default:dirt_with_grass") minetest.register_alias("mapgen_sand", "default:sand") minetest.register_alias("mapgen_...
gpl-3.0
TerminalShell/zombiesurvival
gamemode/vgui/pworth.lua
1
11312
hook.Add("SetWave", "CloseWorthOnWave1", function(wave) if wave > 0 then if pWorth and pWorth:Valid() then pWorth:Close() end hook.Remove("SetWave", "CloseWorthOnWave1") end end) local cvarDefaultCart = CreateClientConVar("zs_defaultcart", "", true, false) local function DefaultDoClick(btn) if cvarDefaul...
gpl-3.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Windurst_Waters/npcs/Lumomo.lua
1
1038
----------------------------------- -- Area: Windurst Waters -- NPC: Lumomo -- Type: Standard NPC -- @zone: 238 -- @pos: -55.770 -5.499 18.914 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -----------...
gpl-3.0
RyMarq/Zero-K
LuaUI/Widgets/chili/Controls/treeview.lua
2
3007
--// ============================================================================= --- TreeView module --- TreeView fields. -- Inherits from Control. -- @see control.Control -- @table TreeView -- @bool[opt = true] autosize whether size is automatically determined -- @int[opt = 1] selected selected item -- @tparam {Tr...
gpl-2.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Castle_Oztroja/Zone.lua
1
1123
----------------------------------- -- -- Zone: Castle_Oztroja -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; require("scripts/zones/Castle_Oztroja/TextIDs"); ----------------------------------- -- onInitialize -...
gpl-3.0
pakoito/ToME---t-engine4
game/engines/default/engine/ui/Separator.lua
3
5157
-- 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
knixeur/notion
contrib/statusd/statusd_iwinfo.lua
6
2844
-- Authors: Relu Patrascu <ikoflexer@gmail.com> -- License: LGPL, version 2.1 or later -- Last Changed: 2004-11-17 -- -- statusd_iwinfo.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 publishe...
lgpl-2.1