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
g0g0dancer/searework
LuaRules/Configs/StartBoxes/Aum_1.1.lua
6
4745
local layout = { [0] = { boxes = { { {1955.5284423828, 4691.412109375}, {3044.5961914063, 4640.3276367188}, {2946.1135253906, 4585.0356445313}, {2840.8408203125, 4588.5498046875}, {2812.3791503906, 4543.7133789063}, {2801.9182128906, 4500.4814453125}, {2797.1865234375, 4446.4350585938}...
gpl-2.0
g0g0dancer/searework
scripts/armzeus.lua
15
15279
local base = piece 'base' local chest = piece 'chest' local aim = piece 'aim' local flare = piece 'flare' local hips = piece 'hips' local lthigh = piece 'lthigh' local rthigh = piece 'rthigh' local lforearm = piece 'lforearm' local rforearm = piece 'rforearm' local rshoulder = piece 'rshoulder' local lshoulde...
gpl-2.0
poire-z/koreader
frontend/ui/widget/container/scrollablecontainer.lua
4
17506
--[[-- ScrollableContainer allows scrolling its content (1 widget) within its own dimensions This scrollable container needs to be known as widget.cropping_widget in the widget using it that is passed to UIManager:show() for UIManager to ensure proper interception of inner widget self-repainting/invert (mostly used wh...
agpl-3.0
ESX-Org/es_extended
modules/society/server/events.lua
1
9508
-- Copyright (c) Jérémie N'gadi -- -- All rights reserved. -- -- Even if 'All rights reserved' is very clear : -- -- You shall not use any piece of this software in a commercial product / service -- You shall not resell this software -- You shall not provide any facility to install this particular software in a c...
gpl-3.0
Baylamon/Illarion-Content
quest/francine_leonard_714_runewick.lua
3
9660
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
salamader/ffxi-a
scripts/zones/Tavnazian_Safehold/npcs/Enaremand.lua
4
1048
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Enaremand -- Type: Standard NPC -- @zone: 26 -- @pos: 95.962 -42.003 51.613 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; -...
gpl-3.0
JohnAdders/domoticz
dzVents/runtime/device-adapters/Adapters.lua
3
4277
local genericAdapter = require('generic_device') local deviceAdapters = { 'airquality_device', 'alert_device', 'ampere_1_phase_device', 'ampere_3_phase_device', 'barometer_device', 'counter_device', 'custom_sensor_device', 'distance_device', 'electric_usage_device', 'evohome_device', 'gas_device', 'generic...
gpl-3.0
g0g0dancer/searework
units/hoverriot.lua
3
4636
unitDef = { unitname = [[hoverriot]], name = [[Mace]], description = [[Riot Hover]], acceleration = 0.022, activateWhenBuilt = true, brakeRate = 0.03, buildCostEnergy = 400, buildCostMetal = 400, builder = false, buildPic ...
gpl-2.0
TahaLord/Eagle
plugins/welcome.lua
114
3529
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
GreatBigBushyBeard/PAYDAY-2-BeardLib
Modules/Utils/ScriptReplacementsModule.lua
2
1389
ScriptReplacementsModule = ScriptReplacementsModule or BeardLib:ModuleClass("ScriptMods", ModuleBase) ScriptReplacementsModule.auto_load = false function ScriptReplacementsModule:PostInit() self.ScriptDirectory = self._config.directory and Path:Combine(self._mod.ModPath, self._config.directory) or self._mod.ModPath ...
mit
CapsAdmin/goluwa
framework/lua/libraries/window/window.lua
1
6589
local window = _G.window or {} window.active = window.active or {} do local META = prototype.CreateTemplate("window") META:GetSet("Title", "no title") META:GetSet("Position", Vec2()) META:GetSet("Size", Vec2()) META:GetSet("MousePosition", Vec2()) META:GetSet("MouseDelta", Vec2()) META:GetSet("MouseTrapped", fa...
gpl-3.0
nikunn/pinion
Build/premake.lua
1
3662
------------------------------------ Option ------------------------------------ newoption { trigger = "device", value = "Device", description = "Choose a device for data acquisition", allowed = { { "uxb", "LinuxBoard" }, } } -- Define device compilation flag for all devices local device_def = {} devi...
mit
KohaiKhaos/modified-MWDF
MWDF Project/Dwarf Fortress/hack/scripts/warn-starving.lua
2
4596
-- Pause and warn if a unit is starving -- By Meneth32, PeridexisErrant, Lethosor --@ module = true --[====[ warn-starving ============= If any (live) units are starving, very thirsty, or very drowsy, the game will be paused and a warning shown and logged to the console. Use with the `repeat` command for reg...
mit
salamader/ffxi-a
scripts/zones/Middle_Delkfutts_Tower/Zone.lua
2
4991
----------------------------------- -- -- Zone: Middle_Delkfutts_Tower -- ----------------------------------- package.loaded["scripts/zones/Middle_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/gl...
gpl-3.0
g0g0dancer/searework
units/core_spectre.lua
3
4511
unitDef = { unitname = [[core_spectre]], name = [[Aspis]], description = [[Area Shield Walker]], acceleration = 0.25, activateWhenBuilt = true, brakeRate = 0.75, buildCostEnergy = 600, buildCostMetal = 600, buildPic ...
gpl-2.0
salamader/ffxi-a
scripts/globals/items/head_of_napa.lua
2
1134
----------------------------------------- -- ID: 5235 -- Item: head_of_napa -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItem...
gpl-3.0
Alathad/j-vfm
libs/dateparser.lua
114
6213
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-2.0
saeid0034/test
files/dateparser.lua
114
6213
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-3.0
nublet/WoWCache
WTF/Account/869497#2/SavedVariables/CrossRealmAssist.lua
2
1843
CrossRealmAssistDB = { ["global"] = { ["quickJoinHint"] = false, ["widgetPos"] = { ["y"] = -14.4986619949341, ["x"] = 175.002700805664, ["to"] = "TOPLEFT", }, ["highlightList"] = { }, ["minimap"] = { ["minimapPos"] = 224.738438182978, ["hide"] = true, }, }, ["profileKeys"] = { ["Cloúd...
mit
male-puppies/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua
84
2006
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local device, apn, service, pincode, username, password local ipv6, maxwait, defaultroute, metric, peerdns, dns, keepalive_failure, keepalive_interval, demand mca = s:tabop...
apache-2.0
lxl1140989/6291-xl
feeds/luci/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua
80
1260
--[[ LuCI - Lua Configuration Interface (c) 2009 Daniel Dickinson 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$ ]]-- m = Map("mactodevinfo", lu...
gpl-2.0
male-puppies/luci
modules/luci-mod-failsafe/luasrc/controller/failsafe/failsafe.lua
34
4984
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2012 Daniel Golle <dgolle@allnet.de> -- Licensed to the public under the Apache License 2.0. module("luci.controller.failsafe.failsafe", package.seeall) function index() local root = node() if n...
apache-2.0
sutambe/rticonnextdds-ddsl
src/ddsl/xtypes/utils/to_idl_string_table.lua
2
9632
--[[ Copyright (C) 2015 Real-Time Innovations, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
apache-2.0
szagoruyko/imagine-nn
utils.lua
1
3369
local inn = require 'inn.env' local utils = {} -- a script to simplify trained net by incorporating every Spatial/VolumetricBatchNormalization -- to Spatial/VolumetricConvolution and BatchNormalization to Linear local function BNtoConv(net) for i,v in ipairs(net.modules) do if v.modules then BNtoConv(v) ...
bsd-3-clause
Shayan123456/mm
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
hfjgjfg/seed58
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
matinbot/installbot
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
Shayan123456/botttttt12
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
salamader/ffxi-a
scripts/globals/items/uskumru.lua
3
1194
----------------------------------------- -- ID: 5452 -- Item: Uskumru -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
salamader/ffxi-a
scripts/globals/items/serving_of_flounder_meuniere.lua
2
1520
----------------------------------------- -- ID: 4584 -- Item: serving_of_flounder_meuniere -- Food Effect: 180Min, All Races ----------------------------------------- -- Dexterity 6 -- Mind -1 -- Ranged ACC 15 -- Ranged ATT % 14 -- Ranged ATT Cap 25 -- Enmity -3 ----------------------------------------- ...
gpl-3.0
Piotr3k1447/forgottenserver
data/scripts/actions/others/belongings_of_a_deceased_shargon.lua
7
1220
local config = { {chanceFrom = 0, chanceTo = 2500, itemId = 5741}, -- skull helmet {chanceFrom = 2501, chanceTo = 5000, itemId = 2160}, -- crystal coin {chanceFrom = 5001, chanceTo = 7500, itemId = 2436}, -- skull staff {chanceFrom = 7501, chanceTo = 10000, itemId = 9969} -- black skull } local belongingsShargon =...
gpl-2.0
CapsAdmin/goluwa
game/lua/libraries/steam/steamworks.lua
1
3309
local ffi = require("ffi") local steam = ... or steam if EXTERNAL_DEBUGGER then return end local steamworks = desire("steamworks") if not steamworks then return end for k, v in pairs(steamworks) do steam[k] = v end do local META = prototype.CreateTemplate("steam_friend") for k, v in pairs(steam.steamid_meta) d...
gpl-3.0
salamader/ffxi-a
scripts/globals/weaponskills/flat_blade.lua
6
1385
----------------------------------- -- Flat Blade -- Sword weapon skill -- Skill Level: 75 -- Stuns enemy. Chance of stunning varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:30% -- 100%TP 200%TP 300...
gpl-3.0
salamader/ffxi-a
scripts/zones/Crawlers_Nest_[S]/Zone.lua
2
1349
----------------------------------- -- -- Zone: Crawlers_Nest_[S] (171) -- ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Crawlers_Nest_[S]/TextIDs"); ----------------------------------- -- onI...
gpl-3.0
jb1717/Algorithm-Implementations
Monty_Hall_Problem/Lua/Yonaba/monty_hall_test.lua
26
1603
-- Tests for monty_hall.lua local monty_hall = require 'monty_hall' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 en...
mit
salamader/ffxi-a
scripts/globals/mobskills/Dragon_Breath.lua
2
1423
--------------------------------------------- -- Dragon Breath -- -- Description: Deals Fire damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Fafnir, Nidhogg, Cynoprosopi, and Wyrm. Because of the high damage...
gpl-3.0
GTWCode/GTW-RPG
[traffic]/npc_hlc/actions_s.lua
3
14156
function makeNPCWalkToPos(npc,x,y,z,maxtime) local px,py,pz = getElementPosition(npc) local walk_dist = NPC_SPEED_ONFOOT[getNPCWalkSpeed(npc)]*maxtime*0.001 local dx,dy,dz = x-px,y-py,z-pz local dist = getDistanceBetweenPoints3D(0,0,0,dx,dy,dz) dx,dy,dz = dx/dist,dy/dist,dz/dist local maxtime_unm = maxtime if di...
bsd-2-clause
SirFrancisBillard/stupid-ttt
stupid-ttt/lua/weapons/weapon_zm_sledge.lua
1
2118
AddCSLuaFile() SWEP.HoldType = "crossbow" if CLIENT then SWEP.PrintName = "M249" SWEP.Slot = 2 SWEP.ViewModelFlip = false SWEP.ViewModelFOV = 54 SWEP.Icon = "vgui/ttt/icon_m249" SWEP.IconLetter = "z" end SWEP.Base = "weapon_tttbase" SWEP.Spawnable = true SWEP.AutoSpawnable = ...
gpl-3.0
g0g0dancer/searework
units/armcrabe.lua
3
4882
unitDef = { unitname = [[armcrabe]], name = [[Crabe]], description = [[Heavy Riot/Skirmish Spider - Curls into Armored Form When Stationary]], acceleration = 0.22, brakeRate = 0.18, buildCostEnergy = 1600, buildCostMetal = 16...
gpl-2.0
g0g0dancer/searework
LuaUI/Widgets/gfx_xray_shader.lua
6
6855
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- file: gui_xray_shader.lua -- brief: xray shader -- author: Dave Rodgers -- -- Copyright (C) 2007. -- Licensed under the terms of the GNU GPL,...
gpl-2.0
g0g0dancer/searework
effects/gundam_vulcanhit.lua
26
2034
-- tracerpop return { ["tracerpop"] = { groundflash = { air = true, alwaysvisible = true, circlealpha = 0.0, circlegrowth = 8, flashalpha = 0.9, flashsize = 20, ground = true, ttl = 10, ...
gpl-2.0
g0g0dancer/searework
scripts/nanoaim.h.lua
15
2783
------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------- -- -- Author: jK @ 2010 -- -- How to use: -- -- 1. Add to the start of your script: include "nanoaim.h.lua" -- 2. After you define your piec...
gpl-2.0
wiremod/wire-extras
lua/weapons/gmod_tool/stools/wire_simulate_data.lua
2
12141
TOOL.Category = "Wire Extras/Tools" TOOL.Name = "Simulate Data" TOOL.Tab = "Wire" TOOL.Command = nil TOOL.ConfigName = "" if ( CLIENT ) then language.Add( "Tool.wire_simulate_data.name", "Simulate Data Tool" ) language.Add( "Tool.wire_simulate_data.desc", "Used to debug circuits by simulating da...
apache-2.0
TeslaRus/OpenTomb
scripts/entity/entity_functions_switch.lua
2
22431
-- OPENTOMB ADDITIONAL SWITCH SCRIPT -- by TeslaRus, Lwmte - May 2014 -------------------------------------------------------------------------------- -- Switch script is used to define switch entity begaviour, which assigns -- certain Lara's animations to them. Note that switch entities includes not -- only switches,...
lgpl-3.0
nublet/WoWCache
WTF/Account/869497#2/SavedVariables/MogIt.lua
1
30537
MogItDB = { ["profileKeys"] = { ["Classydma - Genjuros"] = "Poesboi", ["Grimsheepér - Neptulon"] = "Poesboi", ["Bonniè - Darksorrow"] = "Poesboi", ["Chamallow - Neptulon"] = "Poesboi", ["Classywwl - Genjuros"] = "Poesboi", ["Bandagespéc - Darksorrow"] = "Poesboi", ["Aloevera - Neptulon"] = "Poesboi", ...
mit
Biofreak1987/OpenRA
mods/ra/maps/soviet-soldier-volkov-n-chitzkoi/scu35ea.lua
4
16413
--[[ Copyright 2007-2019 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
g0g0dancer/searework
LuaUI/Widgets/chili/simple examples/Widgets/gui_simplewindow.lua
17
3595
function widget:GetInfo() return { name = "chilli example", desc = "example chilli code", author = "smoth", date = "8/26/10", license = "none", layer = 0, enabled = false -- loaded by default? } end local windows = {} local Window local ScrollPanel local Chili local lab local tx = "Man...
gpl-2.0
salamader/ffxi-a
scripts/zones/Misareaux_Coast/npcs/qm1.lua
2
1338
----------------------------------- -- Area: Misareaux_Coast -- NPC: ??? (Spawn Gration) -- Pzone 25 -- @pos 113.563 -16.302 38.912 25 ------------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Misareaux_Coas...
gpl-3.0
jinshiyi11/QuickTest
src/framework/network.lua
1
7944
--[[ Copyright (c) 2011-2014 chukong-inc.com 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, publi...
apache-2.0
male-puppies/luci
build/luadoc/luadoc/init.lua
172
1333
------------------------------------------------------------------------------- -- LuaDoc main function. -- @release $Id: init.lua,v 1.4 2008/02/17 06:42:51 jasonsantos Exp $ ------------------------------------------------------------------------------- local require = require local util = require "luadoc.util" log...
apache-2.0
salamader/ffxi-a
scripts/zones/Meriphataud_Mountains/npcs/Donmo-Boronmo_WW.lua
4
2922
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Donmo-Boronmo, W.W. -- Outpost Conquest Guards -- @pos -294.470 15.806 420.117 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
KohaiKhaos/modified-MWDF
MWDF Project/Dwarf Fortress/hack/lua/class.lua
3
4333
-- A trivial reloadable class system local _ENV = mkmodule('class') -- Metatable template for a class class_obj = class_obj or {} -- Methods shared by all classes common_methods = common_methods or {} -- Forbidden names for class fields and methods. reserved_names = { super = true, ATTRS = true } -- A...
mit
salamader/ffxi-a
scripts/zones/Bastok_Mines/npcs/Tall_Mountain.lua
2
1861
----------------------------------- -- Area: Bastok Mines -- NPC: Tall Mountain -- Involved in Quest: Stamp Hunt -- Finish Mission: Bastok 6-1 -- @pos 71 7 -7 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
luakit/luakit
lib/downloads_chrome.lua
3
9700
--- Downloads for luakit - chrome page. -- -- This module allows you to monitor the progress of ongoing downloads through a -- webpage at <luakit://downloads/>. -- -- @module downloads_chrome -- @copyright 2010-2012 Mason Larobina <mason.larobina@gmail.com> -- @copyright 2010 Fabian Streitel <karottenreibe@gmail.com> ...
gpl-3.0
Baylamon/Illarion-Content
content/gatheringcraft/woolcutting.lua
1
5171
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
g0g0dancer/searework
units/striderhub.lua
3
3725
unitDef = { unitname = [[striderhub]], name = [[Strider Hub]], description = [[Constructs Striders, Builds at 10 m/s]], acceleration = 0, brakeRate = 1.5, buildCostEnergy = 600, buildCostMeta...
gpl-2.0
remspoor/nodemcu-firmware
lua_examples/send_text_message.lua
75
3151
--[[ 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, distribute, sublicense, and/or sell copies...
mit
EvilHero90/OTChronos
data/actions/scripts/other/windows.lua
12
2054
local windows = { [5303] = 6448, [5304] = 6449, [6438] = 6436, [6436] = 6438, [6439] = 6437, [6437] = 6439, [6442] = 6440, [6440] = 6442, [6443] = 6441, [6441] = 6443, [6446] = 6444, [6444] = 6446, [6447] = 6445, [6445] = 6447, [6448] = 5303, [6449] = 5304, [6452] = 6450, [6450] = 6452, [6453] = 6451, [6451] = 645...
gpl-2.0
nublet/WoWCache
WTF/Account/Poesboi/SavedVariables/Rarity.lua
1
562749
RarityDB = { ["profileKeys"] = { ["Grimsheepér - Neptulon"] = "Poesboi", ["Bonniè - Darksorrow"] = "Poesboi", ["Cagstillo - Neptulon"] = "Poesboi", ["Freeboost - Genjuros"] = "Poesboi", ["Shreduction - Neptulon"] = "Poesboi", ["Adas - Genjuros"] = "Poesboi", ["Aloevera - Neptulon"] = "Poesboi", ["Bowj...
mit
mahdib9/mah4
plugins/admin.lua
230
6382
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
gpl-2.0
salamader/ffxi-a
scripts/zones/Monarch_Linn/npcs/Spatial_Displacement.lua
2
1847
----------------------------------- -- Area: Monarch_Linn -- NPC: spatial displacement -- @pos -35 -1 -539 31 ----------------------------------- package.loaded["scripts/zones/Monarch_LinnTextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests")...
gpl-3.0
wiremod/wire-extras
lua/weapons/gmod_tool/stools/gui_wiring.lua
2
23878
TOOL.Category = "Wire Extras/Tools" TOOL.Name = "GUI Wiring" TOOL.Command = nil TOOL.ConfigName = "" TOOL.Tab = "Wire" if ( CLIENT ) then language.Add( "Tool.gui_wiring.name", "GUI Wiring Tool" ) language.Add( "Tool.gui_wiring.desc", "Used to connect wirable props." ) language.Add( "Tool.gui_wiring....
apache-2.0
salamader/ffxi-a
scripts/globals/effects/dark_arts.lua
74
1952
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable(); local bonus = effect:getPower(); local helix = effect...
gpl-3.0
CapsAdmin/goluwa
game/lua/modules/luacheck/format.lua
1
9993
local stages = require("luacheck.stages") local utils = require("luacheck.utils") local format = {} local color_support = not utils.is_windows or os.getenv("ANSICON") local function get_message_format(warning) local message_format = assert(stages.warnings[warning.code], "Unkown warning code " .. warning.code).message...
gpl-3.0
g0g0dancer/searework
effects/feature_poof.lua
22
1425
-- feature_poof return { ["feature_poof_spawner"] = { poof01 = { air = true, class = [[CExpGenSpawner]], count = [[10]], ground = true, properties = { delay = [[i1 x0.1d]], damage = [[d1]],...
gpl-2.0
raboof/notion
etc/cfg_layouts.lua
6
1701
-- -- Layouts for Notion -- -- -- Helper routines and structures -- -- Tiled frame template for the layouts below. local a_frame = { type="WSplitRegion", regparams = { type = "WFrame", frame_style = "frame-tiled" } } -- Helper function for generating splits for layouts. local function mks...
lgpl-2.1
poire-z/koreader
spec/unit/exporter_plugin_main_spec.lua
4
3480
describe("Exporter plugin module", function() local readerui local sample_clippings, sample_epub local DocumentRegistry, Screen setup(function() require("commonrequire") local ReaderUI = require("apps/reader/readerui") DocumentRegistry = require("document/documentregistry") ...
agpl-3.0
salamader/ffxi-a
scripts/zones/West_Ronfaure/npcs/Harvetour.lua
2
1813
----------------------------------- -- Area: West Ronfaure -- NPC: Harvetour -- @pos -448 -19 -214 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); re...
gpl-3.0
jcdenton/mono-ui-cfg
AddOns/m_UI/API/functions.lua
1
2127
local addon, ns = ... local cfg = ns.cfg local A = CreateFrame("Frame") --backdrop tables backdrop_shadow = { bgFile = cfg.media.backdrop_texture, edgeFile = cfg.media.backdrop_edge_texture, tile = false, tileSize = 0, edgeSize = 5, insets = {left = 5, right = 5, top = 5, bottom = 5,} } ...
mit
salamader/ffxi-a
scripts/zones/Port_Bastok/TextIDs.lua
2
5267
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6375; --Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6377; --Try trading again after sorting your inventory. ITEM_OBTAINED = 6378; --Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible...
gpl-3.0
salamader/ffxi-a
scripts/zones/West_Ronfaure/npcs/Stone_Monument.lua
2
1246
----------------------------------- -- Area: West_Ronfaure -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/zones/West_Ronfaure/TextIDs")...
gpl-3.0
Isogash/metalframe
lua/mods/deathphaser.lua
1
4275
local deathphaser = {} -- create our own table to store global functions (so we don't overwrite anything) function deathphaser.load() --Edit the phaser ITEMS.phaserGun.aimRange = 2000 --set the aim range high for long range auto-aim ITEMS.phaserGun.alwaysAim = true --make auto-aim permanently on ATTACKS.physica...
gpl-2.0
botnex1122/uzzbot
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
alomina007/botsgp
plugins/youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
mit
nublet/WoWCache
WTF/Account/869497#2/Darksorrow/Piscan/SavedVariables/ElvUI.lua
1
1054
ElvCharacterDB = { ["ChatHistoryLog"] = { }, ["BodyGuard"] = { ["IsInValidZone"] = true, ["MaxHealth"] = 0, ["Health"] = 0, ["Active"] = false, }, ["ChatEditHistory"] = { "/bw", -- [1] "/1 o/", -- [2] "/g I don't think so", -- [3] "/g we did lists for the last 2/3 expacs and they were never right"...
mit
nemerle/Segs
Data/scripts/Hazard_02_01/TimeCop.lua
3
1822
--TimeCop controls auto-refreshing of map spawners (spawndef-based) local TimeCop = {}; TimeCop.spawned = false; TimeCop.name = "Time Cop"; TimeCop.model = "MaleNpc_230"; TimeCop.location = {}; TimeCop.location.coordinates = vec3.new(-1460, 0, 5620); TimeCop.location.orientation = vec3.new(0, 3.14, 0); TimeCop.variati...
bsd-3-clause
CapsAdmin/goluwa
game/lua/examples/metastruct_chat.lua
1
1138
local client = irc_socket or sockets.CreateIRCClient() client.debug = true client:SetNick(clients.GetLocalClient():GetNick() .. "_GoluwaClient") local players = {} function client:OnMessage(msg, nick) if nick == client:GetNick() then return end msg = msg:gsub("\15", "") msg = msg:gsub("\3%d%d", "") -- color code ...
gpl-3.0
salamader/ffxi-a
scripts/zones/Konschtat_Highlands/npcs/Signpost.lua
2
1491
----------------------------------- -- Area: Konschtat Highlands -- NPC: Signpost -- Involved in Quest: The Signpost Marks the Spot ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); re...
gpl-3.0
salamader/ffxi-a
scripts/globals/weaponskills/sickle_moon.lua
6
1448
----------------------------------- -- Sickle Moon -- Great Sword weapon skill -- Skill level: 200 -- Delivers a two-hit attack. Damage varies with TP. -- Modifiers: STR:20% ; AGI:20% -- 100%TP 200%TP 300%TP -- 1.5 2 2.75 ----------------------------------- require("/scripts/globals/settings"); requi...
gpl-3.0
1st8/prosody-modules
mod_statistics/mod_statistics.lua
32
3681
module:set_global(); local stats = module:require("mod_statistics/stats"); local filters = require "util.filters"; local serialize = require "util.serialization".serialize; local cached_values = {}; local sessions = {}; local function push_stat(conn, name, value) local value_str = serialize(value); return conn:wr...
mit
gbruer15/spaceSurvivors
Love Space Survivor/1stPartyLib/display/outline.lua
1
1613
local outline = {} outline.__index = outline function outline.make(att) local self = {} setmetatable(self,outline) self.corner = att.corner self.cIWidth = self.corner:getWidth() self.cIHeight = self.corner:getHeight() self.straight = att.straight self.sIWidth = self.straight:getWidth() self.sIHe...
gpl-2.0
GTWCode/GTW-RPG
[resources]/GTWcore/accounts.lua
2
1979
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/404rq/GTW-RPG/ Bugtracker: https://discuss.404rq.com/t/issues Suggestions: https://discuss.404rq.com/t/deve...
bsd-2-clause
salamader/ffxi-a
scripts/zones/Valkurm_Dunes/npcs/qm2.lua
2
1345
----------------------------------- -- Area: Valkurm Dunes -- NPC: qm2 (???) -- Involved In Quest: Messenger from Beyond -- @zone 103 -- @pos -716 -10 66 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
jcdenton/mono-ui-cfg
AddOns/m_Bags/cargBags/mixins-add/itemkeys/tooltip.lua
1
2081
--[[ LICENSE cargBags: An inventory framework addon for World of Warcraft Copyright (C) 2010 Constantin "Cargor" Schomburg <xconstruct@gmail.com> cargBags 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 Founda...
mit
salamader/ffxi-a
scripts/globals/items/mushroom_crepe.lua
2
1238
----------------------------------------- -- ID: 5773 -- Item: mushroom_crepe -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind 2 -- MP % 10 (cap 30) ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- O...
gpl-3.0
saeid0034/test
plugins/msg_checks.lua
1
4464
local function run(msg, matches) local addgroup = group[tostring(msg.chat_id)] if addgroup then if is_momod(msg) or is_robot(msg) then return false else local group = load_data('bot/group.json') local group_mute_all = group[tostring(msg.chat_id)]['settings']['mute_all'] if group_mute_all == 'yes' then tg.deleteMessages...
gpl-3.0
Myll/Dota-2-Building-Helper
game/dota_addons/samplerts/scripts/vscripts/buildings/research.lua
7
1806
--[[ Adds the search to the player research list ]] function ResearchComplete( event ) local caster = event.caster local player = caster:GetPlayerOwner() local ability = event.ability local research_name = ability:GetAbilityName() -- It shouldn't be possible to research the same upgrade more than once. player.u...
gpl-3.0
salamader/ffxi-a
scripts/zones/Windurst_Walls/npcs/Komulili.lua
3
1070
----------------------------------- -- Area: Port Windurst -- Komulili -- Warps players to Port Windurst -- Working 100% ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; require("scripts/zones/Windurst_Walls/TextIDs"); ----------------------------------- -- ...
gpl-3.0
salamader/ffxi-a
scripts/globals/weaponskills/shining_blade.lua
6
1205
----------------------------------- -- Shining Blade -- Sword weapon skill -- Skill Level: 100 -- Deals light elemental damage to enemy. Damage varies with TP. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: Light -- Modifiers: STR:20% ; MND:20% -- 100%TP 200%TP 300%T...
gpl-3.0
Baylamon/Illarion-Content
triggerfield/homeland.lua
3
4721
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
salamader/ffxi-a
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ugrihd.lua
2
1160
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ugrihd -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; package.loaded["scripts/globals/besieged"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
CapsAdmin/goluwa
engine/lua/modules/luacheck/main.lua
1
18980
local luacheck = require("luacheck") local argparse = require("luacheck.argparse") local builtin_standards = require("luacheck.builtin_standards") local config = require("luacheck.config") local options = require("luacheck.options") local expand_rockspec = require("luacheck.expand_rockspec") local multithreading = requ...
gpl-3.0
salamader/ffxi-a
scripts/globals/items/windurst_taco.lua
2
1499
----------------------------------------- -- ID: 5172 -- Item: windurst_taco -- Food Effect: 30Min, All Races ----------------------------------------- -- MP 20 -- Vitality -1 -- Agility 5 -- MP Recovered While Healing 1 -- Ranged Accuracy % 8 (cap 10) ----------------------------------------- require("scr...
gpl-3.0
Baylamon/Illarion-Content
magic/learnMagic.lua
3
7928
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
salamader/ffxi-a
scripts/zones/Windurst_Walls/npcs/Shantotto.lua
2
6953
----------------------------------- -- Area: Windurst Walls -- NPC: Shantotto -- Working 100% -- @zone 239 -- @pos x:122 y:-2 z:112 -- CSID's missing in autoEventID please check the old forums under resources for all of shantotto's csid's. I found them all manually. ----------------------------------- requ...
gpl-3.0
CapsAdmin/goluwa
game/lua/gui_panels/esheep.lua
1
6423
local gui = ... or _G.gui local META = prototype.CreateTemplate("sheep") local animations = { sleep = {tiles = {Vec2(0, 0), Vec2(1, 0)}, speed = 1}, walk = {tiles = {Vec2(2, 0), Vec2(3, 0)}, speed = 5}, run = {tiles = {Vec2(4, 0), Vec2(5, 0)}, speed = 8}, blink = {tiles = {Vec2(6, 0), Vec2(7, 0), Vec2(8, 0)}, speed...
gpl-3.0
salamader/ffxi-a
scripts/globals/items/slice_of_cerberus_meat.lua
2
1434
----------------------------------------- -- ID: 5565 -- Item: slice_of_cerberus_meat -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Magic -10 -- Strength 6 -- Intelligence -6 ----------------------------------------- require("scripts/globals/status"); --------...
gpl-3.0
vslotman/EmptyEpsilon
scripts/shipTemplates_Sevcol.lua
1
3246
--[[ Corvette Corvettes are the common large ships. Larger then a frigate, smaller then a dreadnaught. They generally have 4 or more shield sections. Run with a crew of 20 to 250. This class generally has jumpdrives or warpdrives. But lack the manouverbility that is seen in frigates. They come in 3 di...
gpl-2.0
KohaiKhaos/modified-MWDF
MWDF Project/Dwarf Fortress/hack/scripts/masterwork/AddPackToCiv.lua
2
3137
-- Adds a pack animal to the civ. Pack animals brings good on their backs in caravans. --[=[ Adds a pack animal to the civ. Pack animals brings good on their backs in caravans. This allows to add any creature to the list, even if it would be prohibited by the entity raw. Please note that you need to add...
mit
kyle-wang/skynet
lualib/snax/gateserver.lua
16
3320
local skynet = require "skynet" local netpack = require "skynet.netpack" local socketdriver = require "skynet.socketdriver" local gateserver = {} local socket -- listen socket local queue -- message queue local maxclient -- max client local client_number = 0 local CMD = setmetatable({}, { __gc = function() netpack.c...
mit