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
jshackley/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Porter_Moogle.lua
41
1553
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 50 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urh...
gpl-3.0
jshackley/darkstar
scripts/globals/items/bowl_of_witch_soup.lua
35
1381
----------------------------------------- -- ID: 4333 -- Item: witch_soup -- Food Effect: 4hours, All Races ----------------------------------------- -- Magic Points 25 -- Strength -1 -- Mind 2 -- MP Recovered While Healing 1 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
jshackley/darkstar
scripts/globals/items/coeurl_sub.lua
35
1832
----------------------------------------- -- ID: 5166 -- Item: coeurl_sub -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic 10 -- Strength 5 -- Agility 1 -- Intelligence -2 -- Health Regen While Healing 1 -- Attack % 20 -- Attack Cap 75 -- Ranged ATT % 20 -- Ranged ATT Cap...
gpl-3.0
jac8/TelebitsTG
plugins/inpm.lua
1114
3008
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
jshackley/darkstar
scripts/zones/Northern_San_dOria/npcs/Taulenne.lua
34
4855
----------------------------------- -- Area: Northern San d'Oria -- NPC: Taulenne -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; package.loaded["scripts/globals/armorstorage"] = nil; ----------------------------------- require("script...
gpl-3.0
slanska/flexilite
test_lua/classSchema.lua
1
1657
--- --- Created by slanska. --- DateTime: 2017-12-26 11:56 AM --- -- Validates class and property definition against schema require 'util' -- to set paths local path = require 'pl.path' local schema = require 'schema' local JSON = cjson or require 'cjson' local ClassDef = require 'ClassDef' --- Read file ---@param f...
mpl-2.0
jshackley/darkstar
scripts/globals/spells/bluemagic/stinking_gas.lua
18
1403
----------------------------------------- -- Spell: Stinking Gas -- Lowers Vitality of enemies within range -- Spell cost: 37 MP -- Monster Type: Undead -- Spell Type: Magical (Wind) -- Blue Magic Points: 2 -- Stat Bonus: AGI+1 -- Level: 44 -- Casting Time: 4 seconds -- Recast Time: 60 seconds -- Magic Burst...
gpl-3.0
Shrike78/Shilke2D
Shilke2D/Display/BaseQuad.lua
1
4575
--[[--- BaseQuad is a displayObj, base class for all the displayObject that can be rapresented by a quad of fixed size (so Quad, Image, Movieclip and so on) It's not a real 'renderable' because has no MOAIDeck binded to the main prop, it can be considered as a middle class that has no meeaning to be instantiated by ...
mit
LiberatorUSA/GUCEF
dependencies/agar/tests/premake.lua
1
1837
-- -- Do not edit! -- This file was generated from Makefile by BSDbuild 3.2. -- -- To regenerate this file, get the latest BSDbuild release from -- http://hypertriton.com/bsdbuild/, the latest Premake release -- (v3 series) from http://premake.sourceforge.net/, and execute: -- -- $ make proj -- project.name = "agar...
apache-2.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/applications/luci-statistics/luasrc/statistics/i18n.lua
5
2446
--[[ Luci statistics - diagram i18n helper (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
gpl-2.0
Ombridride/minetest-minetestforfun-server
mods/darkage/stairs.lua
5
10390
if stairsplus then stairsplus:register_all("darkage", "basalt", "darkage:basalt", { description = "Basalt", tiles = {"darkage_basalt.png"}, groups = {cracky=3}, sounds = default.node_sound_stone_defaults(), sunlight_propagates = true, }) stairsplus:register_all("darkage", "marble", "darkage:marble", { ...
unlicense
jshackley/darkstar
scripts/zones/Davoi/Zone.lua
17
3157
----------------------------------- -- -- Zone: Davoi (149) -- ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/missions"); require("scripts/globals/quests"); require("sc...
gpl-3.0
SpRoXx/GTW-RPG
[resources]/GTWgroups/s_colors.lua
2
2684
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Sebbe (smart), Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.4...
bsd-2-clause
iofun/treehouse
luerl/35df8f645cb528bf632ff50950235480.lua
1
2089
-- Our unit function table local this_unit = {} -- Where we are and fast we move local x, y, dx, dy -- Our name local name = "Protoss_Nexus" -- Our color local color = "yellow" -- Our BWAPI unit type local type = 154 -- Size of a clock tick msec local tick -- It's me, the unit structure local me = unit.self() -- Th...
agpl-3.0
jshackley/darkstar
scripts/zones/Abyssea-Tahrongi/npcs/qm16.lua
51
1857
----------------------------------- -- Zone: Abyssea-Konschtat -- NPC: ??? -- Spawns: Chloris ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(pla...
gpl-3.0
jshackley/darkstar
scripts/globals/items/cheese_sandwich_+1.lua
35
1207
----------------------------------------- -- ID: 5687 -- Item: cheese_sandwich_+1 -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 10 -- Agility 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
jshackley/darkstar
scripts/globals/items/dhalmel_pie_+1.lua
35
1882
----------------------------------------- -- ID: 4322 -- Item: dhalmel_pie_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 25 -- Strength 4 -- Agility 2 -- Vitality 1 -- Intelligence -2 -- Mind 1 -- Attack % 25 -- Attack Cap 50 -- Ranged ATT % 25 -- Ranged ATT Cap 5...
gpl-3.0
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Miogique.lua
36
2134
----------------------------------- -- Area: Southern San d'Oria -- NPC: Miogique -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/sho...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/armys_paeon_iii.lua
31
1391
----------------------------------------- -- Spell: Army's Paeon III -- Gradually restores target's HP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingChe...
gpl-3.0
rmhartog/thrift
lib/lua/TSocket.lua
113
2996
---- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you may...
apache-2.0
mohammad12344/powerdark
bot/seedbot.lua
2
14068
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
jshackley/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Wahnid.lua
19
1180
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Wahnid -- Type: Guild Merchant: Fishing Guild -- @pos -31.720 -6.000 -94.919 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/plantlife_modpack/3dmushrooms/init.lua
8
1488
-- 3D Mushroom mod by VanessaE -- -- License: WTFPL for everything. mushroom = {} minetest.override_item("flowers:mushroom_brown", { drawtype = "mesh", mesh = "3dmushrooms.obj", tiles = {"3dmushrooms_brown.png"}, selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} }, inventory_image ...
unlicense
jshackley/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/qm2.lua
24
2318
----------------------------------- -- Area: The_Garden_of_RuHmet -- NPC: ??? (Ix'aern (Dark Knight) Spawn) -- Allows players to spawn the Ix'aern (Dark Knight) by checking ??? only after killing the required mobs in the same room as the ???. -- @pos ,-560 5 239 ----------------------------------- package.loaded["scri...
gpl-3.0
10sa/Advanced-Nutscript
nutscript/plugins/realisticmovement/cl_plugin.lua
1
4059
local PLUGIN = PLUGIN or {}; PLUGIN:SetPluginConfig("isUseRealistic", PLUGIN:GetPluginConfig("isUseRealistic") or true); PLUGIN:SetPluginConfig("realisticScale", PLUGIN:GetPluginConfig("realisticScale") or 1); PLUGIN:SetPluginConfig("realisticMaxScale", 3); PLUGIN.currAng = PLUGIN.currAng or Angle( 0, 0, 0 ) PLUGIN....
mit
anoidgit/reading-comprehension
utils/Logger.lua
2
3281
--[[ Logger is a class used for maintaining logs in a log file. --]] local Logger = torch.class('Logger') --[[ Construct a Logger object. Parameters: * `logFile` - Outputs logs to a file under this path instead of stdout. [''] * `disableLogs` - If = true, output nothing. [false] * `logLevel` - Outputs logs at this...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/spears/functions.lua
3
4844
function spears_shot(itemstack, player) local spear = itemstack:get_name() .. '_entity' local playerpos = player:get_pos() local obj = minetest.add_entity({x=playerpos.x,y=playerpos.y+1.5,z=playerpos.z}, spear) local dir = player:get_look_dir() local sp = 14 local dr = .3 local gravity = 9.8 obj:set_velocity({x...
unlicense
Victek/wrt1900ac-aa
feeds/xwrt/webif-iw-lua-chillispot/files/usr/lib/lua/lua-xwrt/chillispot.lua
19
24512
require("lua-xwrt.addon.string") require("lua-xwrt.addon.uci") require("lua-xwrt.html.form") require("lua-xwrt.xwrt.translator") require("lua-xwrt.html.messages") local string = string local io = io local os = os local pairs, ipairs = pairs, ipairs local table = table local uci = uci local util = util local tr = tr lo...
gpl-2.0
wilhantian/catui
catui/Core/UIDefine.lua
1
1831
--[[ The MIT License (MIT) Copyright (c) 2016 WilhanTian 田伟汉 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, me...
mit
jshackley/darkstar
scripts/commands/exec.lua
54
1121
--------------------------------------------------------------------------------------------------- -- func: exec -- desc: Allows you to execute a Lua string directly from chat. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 4, para...
gpl-3.0
Th2Evil/SuperPlus
plugins/lock_bot.lua
1
3048
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ ANTI BOT : منع بوتات ▀▄ ▄▀ ▀▄...
gpl-2.0
Ombridride/minetest-minetestforfun-server
mods/throwing/tools.lua
8
3119
if not DISABLE_WOODEN_BOW then throwing_register_bow ('bow_wood', 'Wooden bow', {x=1, y=1, z=0.5}, 11, 1.6, 50, false, { {'', 'default:stick', ''}, {'farming:string', '', 'default:stick'}, {'', 'default:stick', ''}, }) end if not DISABLE_LONGBOW then throwing_register_bow ('longbow', 'Longbow', {x=1, y=2....
unlicense
LiberatorUSA/GUCEF
dependencies/toluapp/src/bin/lua/verbatim.lua
44
1667
-- tolua: verbatim class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: verbatim.lua,v 1.3 2000/01/24 20:41:16 celes Exp $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to prov...
apache-2.0
salamader/ffxi-a
scripts/zones/Northern_San_dOria/npcs/Taurette.lua
19
1820
----------------------------------- -- Area: Northern San d'Oria -- NPC: Taurette -- Involved in Quests: Riding on the Clouds -- @zone 231 -- @pos -159 0 91 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
wiremod/wire-extras
lua/entities/gmod_wire_expression2/core/custom/cl_holoanim.lua
2
1092
local poseParams = {} local function hologramPoseParams() if next(poseParams) then for ent, poses in pairs(poseParams) do if ent:IsValid() then for pose, value in pairs(poses) do ent:SetPoseParameter(pose, value) end end end else hook.Remove("Think","wire_hologram_poseparameters") end end n...
apache-2.0
mas90/nginx-rtmp-debian
debian/modules/nginx-lua/t/lib/CRC32.lua
57
5575
--Copyright (c) 2007-2008 Neil Richardson (nrich@iinet.net.au) -- --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...
bsd-2-clause
g0g0dancer/searework
LuaUI/Widgets/gui_chili_rejoin_progress_2.lua
4
3288
function widget:GetInfo() return { name = "Chili Rejoining Progress Bar 2", desc = "v1.132 Show the progress of rejoining and temporarily turn-off Text-To-Speech while rejoining", author = "msafwan (use UI from KingRaptor's Chili-Vote) ", date = "Oct 10, 2012", license = "GNU G...
gpl-2.0
g0g0dancer/searework
LuaUI/Widgets/gui_chili_chat2_1.lua
2
33843
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- TODO : extract code that can be shared between widgets (parsing) and maybe move it to cawidget and add new callin -- TODO (maybe) : extract code that can ...
gpl-2.0
salamader/ffxi-a
scripts/globals/items/grilled_lik.lua
3
1092
----------------------------------------- -- ID: 5648 -- Item: Grilled Lik -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Dexterity 4 -- Mind -1 ---------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------...
gpl-3.0
salamader/ffxi-a
scripts/zones/Ordelles_Caves/npcs/Treasure_Chest.lua
2
3194
----------------------------------- -- Area: Ordelles Caves -- NPC: Treasure Chest -- Involved In Quest: Signed In Blood ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
salamader/ffxi-a
scripts/zones/North_Gustaberg/npcs/Ennigreaud_RK.lua
4
2901
----------------------------------- -- Area: North Gustaberg -- NPC: Ennigreaud, R.K. -- Outpost Conquest Guards -- @pos -584.687 39.107 54.281 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest")...
gpl-3.0
jb1717/Algorithm-Implementations
Best_First_Search/Lua/Yonaba/utils/bheap.lua
78
2454
-- Binary Heap data structure implementation -- See: http://www.policyalmanac.org/games/binaryHeaps.htm -- Adapted from: https://github.com/Yonaba/Binary-Heaps local PATH = (...):gsub('%.bheap$','') local class = require (PATH .. '.class') -- Looks for item in an array local function findIndex(array, item) for k,v ...
mit
cardentity/DarkRP
entities/weapons/ls_sniper/shared.lua
1
2401
AddCSLuaFile() if SERVER then AddCSLuaFile("cl_init.lua") end if CLIENT then SWEP.PrintName = "Silenced Sniper" SWEP.Author = "DarkRP Developers" SWEP.Slot = 0 SWEP.SlotPos = 0 SWEP.IconLetter = "n" killicon.AddFont("ls_sniper", "CSKillIcons", SWEP.IconLetter, Color(200, 200, 200, 255)) end SWEP.Base = "weap...
mit
hackres/hackrebot
plugins/azan.lua
1
3692
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! # Developer : Aziz < @TH3_GHOST > # our channel: @DevPointTeam # Version: 1.1 #:)) #ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ # ]] do...
gpl-2.0
Baylamon/Illarion-Content
monster/race_6_drow/base.lua
4
3020
--[[ 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/Sacrarium/mobs/Keremet.lua
2
1376
----------------------------------- -- Area: sacrarium -- NPC: Keremet ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); ----------------------------------- -- onMobSpawn ----------------------------------- function OnMobSpawn(mob) end; ---...
gpl-3.0
linuxdaemon/OpenComputers-programs
libs/goto/init.lua
1
1922
local location = require("location") local robot = require("robot") local lib = {} function lib.move_vector(vector) local function go_forward(n) for _=1,math.abs(n) do while not robot.forward() do while not robot.up() do robot.swingUp() end vector.y = vector.y + 1 e...
gpl-3.0
Baylamon/Illarion-Content
quest/madeline_clarbelis_334_runewick.lua
3
2790
--[[ 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
lxl1140989/6291-xl
feeds/luci/libs/nixio/docsrc/CHANGELOG.lua
95
1036
--- Changes and improvements. module "CHANGELOG" --- Service Release. -- <ul> -- <li>Added getifaddrs() function.</li> -- <li>Added getsockopt(), setsockopt(), getsockname() and getpeername() -- directly to TLS-socket objects unifying the socket interface.</li> -- <li>Added support for CyaSSL as cryptographical backen...
gpl-2.0
Baylamon/Illarion-Content
item/id_1168_potionbottle.lua
3
6370
--[[ 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
whinis/OpenRA
mods/ra/maps/soviet-04a/soviet04a-AI.lua
19
3060
IdleHunt = function(unit) if not unit.IsDead then Trigger.OnIdle(unit, unit.Hunt) end end IdlingUnits = function() local lazyUnits = Greece.GetGroundAttackers() Utils.Do(lazyUnits, function(unit) Trigger.OnDamaged(unit, function() Trigger.ClearAll(unit) Trigger.AfterDelay(0, function() IdleHunt(unit) end) ...
gpl-3.0
g0g0dancer/searework
LuaRules/Configs/cai/unitarrays.lua
6
2374
local raider = { "armpw", "spherepole", "corak", "armflash", "corfav", "corgator", "amphraider3", "corpyro", "panther", "logkoda", "armsh", "corsh", "chicken", "chicken_leaper", } local assault = { "corthud", "corraid", "armzeus", --"armcrabe", "spiderassault", "corcan", --"corsumo", "arm...
gpl-2.0
Baylamon/Illarion-Content
craft/intermediate/sawing.lua
1
1626
--[[ 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/RoMaeve/npcs/qm3.lua
2
1230
----------------------------------- -- Area: Ro'Maeve -- NPC: ??? -- Moongatepass -- @pos -277 -3 -17 and <many pos> ----------------------------------- package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RoMaeve/TextIDs"); --------------------...
gpl-3.0
Skyscanner/kong
kong/cli/utils/dnsmasq.lua
15
1412
local IO = require "kong.tools.io" local cutils = require "kong.cli.utils" local constants = require "kong.constants" local stringy = require "stringy" local _M = {} function _M.stop(kong_config) local pid_file = kong_config.nginx_working_dir.."/"..constants.CLI.DNSMASQ_PID local _, code = IO.kill_process_by_pid_...
mit
Baylamon/Illarion-Content
monster/race_13_black_beholder/base.lua
4
1317
--[[ 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/LaLoff_Amphitheater/mobs/Ark_Angel_GK.lua
2
1569
----------------------------------- -- Area: LaLoff Amphitheater -- NPC: Ark Angel GK -- ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); -- TODO: Allegedly has a 12 hp/sec regen. Determine if true, and add to onMobInitialize if so. ---------------------------------...
gpl-3.0
g0g0dancer/searework
scripts/corbats.lua
8
5269
include 'constants.lua' -------------------------------------------------------------------- --pieces -------------------------------------------------------------------- local hull, turret1, turret2, turret3, radar = piece('hull', 'turret1', 'turret2', 'turret3', 'radar') local wake1, wake2, ground = piece('wake1', '...
gpl-2.0
g0g0dancer/searework
scripts/shipheavyarty.lua
8
5269
include 'constants.lua' -------------------------------------------------------------------- --pieces -------------------------------------------------------------------- local hull, turret1, turret2, turret3, radar = piece('hull', 'turret1', 'turret2', 'turret3', 'radar') local wake1, wake2, ground = piece('wake1', '...
gpl-2.0
Baylamon/Illarion-Content
quest/ssiguss_171_wilderness.lua
3
3333
--[[ 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
Xamla/torch-moveit
examples/orbit_move.lua
1
3554
ros = require 'ros' moveit = require 'moveit' tf = ros.tf --[[ Comupte points along an arc on a plane around a center point and normal. You can use rviz to display the moving 'eye' transform with the TF display. Please make sure 'Fixed Frame' is set to 'world'. ]] function normalize(v) return v / torch.norm(v) e...
bsd-3-clause
salamader/ffxi-a
scripts/zones/Bastok_Markets/npcs/Synergy_Furnace.lua
2
1044
----------------------------------- -- Area: Bastok Markets -- NPC: Synergy Furnace -- Synergy NPC -- @zone 235 -- @pos many ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets/TextIDs"); ...
gpl-3.0
salamader/ffxi-a
scripts/zones/Ifrits_Cauldron/npcs/claustrum.lua
2
1780
----------------------------------- -- Area: Ifrit's Cauldron -- NPC: ??? claustrum final stage ----------------------------------- package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Ifrits_Cauldron/Tex...
gpl-3.0
male-puppies/luci
applications/luci-app-firewall/luasrc/model/cbi/firewall/zone-details.lua
19
6061
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010-2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local nw = require "luci.model.network" local fw = require "luci.model.firewall" local ds = require "luci.dispatcher" local ut = require "luci.util" loca...
apache-2.0
CapsAdmin/goluwa
game/lua/modules/lang/bytecode.lua
1
33028
--[=[ dump = header proto+ 0U header = ESC 'L' 'J' versionB flagsU [namelenU nameB*] proto = lengthU pdata pdata = phead bcinsW* uvdataH* kgc* knum* [debugB*] phead = flagsB numparamsB framesizeB numuvB numkgcU numknU numbcU [debuglenU [firstlineU numlineU]] kgc = kgctypeU { ktab | (loU hiU) | (...
gpl-3.0
GreatBigBushyBeard/PAYDAY-2-BeardLib
Classes/Managers/SoundManager.lua
2
13404
BeardLibSoundManager = BeardLibSoundManager or BeardLib:ManagerClass("Sound") function BeardLibSoundManager:init() self.sources = {} self.stop_ids = {} self.float_ids = {} self.engine_sources = {} self.create_source_hooks = {} self.sound_ids = {} self.buffers = {} self.redirects = {} ...
mit
jb1717/Algorithm-Implementations
Bogosort/Lua/Yonaba/bogosort_test.lua
27
1956
-- Tests for bogosort.lua local bogosort = require 'bogosort' 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 end local stat...
mit
salamader/ffxi-a
scripts/zones/Phomiuna_Aqueducts/npcs/_0rv.lua
2
1069
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- @pos -60 -23 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiuna...
gpl-3.0
salamader/ffxi-a
scripts/zones/Port_San_dOria/npcs/Coribalgeant.lua
36
1378
----------------------------------- -- Area: Port San d'Oria -- NPC: Coribalgeant -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/...
gpl-3.0
youfearm3/vlc
share/lua/playlist/soundcloud.lua
42
2054
--[[ $Id$ Copyright © 2012 the VideoLAN team Authors: Cheng Sun <chengsun9atgmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) an...
gpl-2.0
GreatBigBushyBeard/PAYDAY-2-BeardLib
Hooks/UI/BeardLibModsMenuButton.lua
2
4177
Hooks:PostHook(BLTNotificationsGui, "_setup", "BeardLibModsManagerSetup", function(self) local node = MenuHelperPlus:GetNode(nil, "options") if not node:item("BeardLibMenu") then MenuCallbackHandler.BeardLibMenu = ClassClbk(BeardLib.Menus.Mods, "SetEnabled", true) MenuHelperPlus:AddButton({ ...
mit
salamader/ffxi-a
scripts/zones/Upper_Jeuno/npcs/Constance.lua
20
1814
----------------------------------- -- Area: Upper Jeuno -- NPC: Constance -- Involved in Quests: Save the Clock Tower -- @zone 244 -- @pos -48 0 4 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setti...
gpl-3.0
Skyscanner/kong
kong/api/routes/apis.lua
11
2737
local validations = require "kong.dao.schemas_validation" local crud = require "kong.api.crud_helpers" local syslog = require "kong.tools.syslog" local constants = require "kong.constants" return { ["/apis/"] = { GET = function(self, dao_factory) crud.paginated_set(self, dao_factory.apis) end, PUT...
mit
salamader/ffxi-a
scripts/globals/weaponskills/vorpal_scythe.lua
6
1446
----------------------------------- -- Vorpal Scythe -- Scythe weapon skill -- Skill level: 150 -- Delivers a single-hit attack. params.crit varies with TP. -- Modifiers: STR:35% -- 100%TP 200%TP 300%TP -- 1.0 1.0 1.0 ----------------------------------- require("/scripts/globals/settings"); require(...
gpl-3.0
salamader/ffxi-a
scripts/globals/weaponskills/dulling_arrow.lua
6
1249
----------------------------------- -- Dulling Arrow -- Archery weapon skill -- Skill level: 80 -- Lowers enemy's INT. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: STR:16% ; AGI:25% ...
gpl-3.0
g0g0dancer/searework
LuaUI/Widgets/chili_new/headers/autolocalizer.lua
35
3776
--------------------------------------------------------------------------- -- -- Lua Namespace Localizer -- -- author: jK (2009) -- -- License: GPLv2 -- -- Info: -- overrides VFS.Include with a function that autolocalize the used namespaces -- -- Settings local maxLocals = 50 local namespaces = { {"Spring.MoveCtrl...
gpl-2.0
salamader/ffxi-a
scripts/zones/Yhoator_Jungle/Zone.lua
2
1623
----------------------------------- -- -- Zone: Yhoator_Jungle (124) -- ----------------------------------- package.loaded[ "scripts/zones/Yhoator_Jungle/TextIDs"] = nil; require( "scripts/zones/Yhoator_Jungle/TextIDs"); require( "scripts/globals/icanheararainbow"); ----------------------------------- --...
gpl-3.0
nublet/WoWCache
WTF/Account/Poesboi/SavedVariables/Pawn.lua
1
38622
PawnCommon = { ["ShowUpgradesOnTooltips"] = true, ["AlignNumbersRight"] = false, ["ShowBagUpgradeAdvisor"] = true, ["ShowItemID"] = false, ["ShowRelicUpgrades"] = false, ["ShowValuesForUpgradesOnly"] = false, ["ShownGettingStarted"] = true, ["Debug"] = false, ["ColorTooltipBorder"] = true, ["ShowTooltipIcons...
mit
CapsAdmin/goluwa
framework/bin/shared/mime.lua
1
2377
----------------------------------------------------------------------------- -- MIME support for the Lua language. -- Author: Diego Nehab -- Conforming to RFCs 2045-2049 ----------------------------------------------------------------------------- -----------------------------------------------------------------------...
gpl-3.0
whinis/OpenRA
mods/cnc/maps/gdi01/gdi01.lua
25
3583
MCVReinforcements = { "mcv" } InfantryReinforcements = { "e1", "e1", "e1" } VehicleReinforcements = { "jeep" } NodPatrol = { "e1", "e1" } GDIBaseBuildings = { "pyle", "fact", "nuke" } SendNodPatrol = function() Reinforcements.Reinforce(enemy, NodPatrol, { nod0.Location, nod1.Location }, 15, function(soldier) soldie...
gpl-3.0
raboof/notion
contrib/statusd/statusd_bitcoin.lua
6
1268
-- Authors: Voker57 <voker57@gmail.com> -- License: Public domain -- Last Changed: Unknown -- -- Bitcoin (฿) daemon monitor -- %bitcoin_speed - current speed in khash/s -- %bitcoin_balance - current balance -- by Voker57 <voker57@gmail.com> -- Public domain local defaults={ update_interval=30 * 1000 } local set...
lgpl-2.1
nublet/WoWCache
WTF/Account/Poesboi/SavedVariables/AstralKeys.lua
1
5961
AstralKeys = { } AstralCharacters = { { ["weekly_best"] = 0, ["class"] = "DEATHKNIGHT", ["unit"] = "Bonniè-Darksorrow", ["faction"] = 0, }, -- [1] { ["weekly_best"] = 0, ["class"] = "PALADIN", ["faction"] = 0, ["unit"] = "Bravehèarth-Darksorrow", }, -- [2] { ["weekly_best"] = 0, ["class"] = "W...
mit
salamader/ffxi-a
scripts/zones/Apollyon/mobs/Water_Elemental.lua
2
2431
----------------------------------- -- Area: Apollyon SW -- NPC: Water Elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); --------------------...
gpl-3.0
Baylamon/Illarion-Content
monster/race_115_fairy/id_1154_elemental_fairy.lua
1
1068
--[[ 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
nucleargen/factorio_cross_mod
final_fixes/big_bags.lua
1
1135
if settings.startup[fcm_defines.keys.names.settings.big_bags_enable].value then function new_size( oldvalue, offset, factor ) if oldvalue == nil then oldvalue = 1 end local v = offset + oldvalue * factor if v > oldvalue then return( v ) else return oldvalue end end -- item stacks local my_stack_factor = setti...
mit
salamader/ffxi-a
scripts/globals/items/yellow_curry_bun_+1.lua
2
1941
----------------------------------------- -- ID: 5763 -- Item: yellow_curry_bun_+1 -- Food Effect: 30minutes, All Races ----------------------------------------- -- Health Points 30 -- Strength 5 -- Agility 2 -- Vitality 2 -- Intelligence -2 -- Attack 23% (caps @ 80) -- Ranged Attack 23% (caps @ 80) -- Resi...
gpl-3.0
male-puppies/luci
protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua
47
3995
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local encaps, atmdev, vci, vpi, username, password local ipv6, defaultroute, metric, peerdns, dns, keepalive_failure, keepalive_interval, demand, mtu encaps = section:tabop...
apache-2.0
1st8/prosody-modules
mod_auth_any/mod_auth_any.lua
32
1863
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local datamanager = require "util.datamanager"; local log = require "util.logger".init("auth_any"); local ...
mit
ArmanIr/olalala
plugins/groupmanager.lua
1
11397
-- 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 not is_admin(msg) then return "Hi For Creating Group Join Here↙️\https://telegram.me/joinchat/B4ghtgIvpYlMkBZTG57OhQn" end loca...
gpl-2.0
g0g0dancer/searework
LuaUI/Widgets/gui_chili_keyboardmenu.lua
4
32011
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Chili Keyboard Menu", desc = "v0.035 Chili Keyboard Menu", author = "CarRepairer", ...
gpl-2.0
salamader/ffxi-a
scripts/zones/Tahrongi_Canyon/npcs/Shattered_Telepoint.lua
2
1731
----------------------------------- -- Area: Tahrongi_Canyon -- NPC: Shattered telepoint -- @pos 179 35 255 117 ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Ta...
gpl-3.0
botnex1122/uzzbot
plugins/autoleave.lua
125
1025
--[[ 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. No switch available. You need to turn it on or off using !plugins command....
gpl-2.0
g0g0dancer/searework
LuaRules/Configs/StartBoxes/Sands of War v2.lua
9
15392
return { [0] = { nameLong = "East", nameShort = "E", startpoints = {{3811, 1916}}, boxes = { { {4095, 1565}, {4085, 1566}, {4074, 1568}, {4063, 1568}, {4053, 1567}, {4043, 1564}, {4032, 1560}, {4021, 1555}, {4011, 1549}, {4000, 1541}, {3990, 1533}, {3980, 1523...
gpl-2.0
wuhuatianbao007/orange
bin/utils/db_util.lua
4
1067
local mysql = require("resty.mysql") local cjson = require("cjson") local logger = require("bin.utils.logger") local _M = {} function _M:new(conf) local instance = {} instance.conf = conf setmetatable(instance, { __index = self}) return instance end function _M:exec(sql) local conf = self.conf ...
mit
Baylamon/Illarion-Content
quest/nimbur_goldhand_313_noobia.lua
3
3745
--[[ 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/Bastok_Markets/npcs/Synergy_Engineer.lua
2
1336
----------------------------------- -- Area: Bastok Markets -- NPC: Synergy Engineer -- Standard Info NPC -- @zone 235 -- @pos many ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requi...
gpl-3.0
g0g0dancer/searework
LuaUI/Configs/sounds_noises.lua
1
20877
-- needs select[1] and ok[1] (and build for cons) local sounds = { -- Misc default = { ok = { [1] = "light_bot_move", }, select = { [1] = "light_bot_select", }, }, armasp = { select = { [1] = "building_select1", }, }, armcsa = { build = "builder_start", ok = { [1] = "gunship_move", ...
gpl-2.0
salamader/ffxi-a
scripts/zones/RuLude_Gardens/npcs/Maat.lua
2
8825
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Maat -- Starts and Finishes Quest: Limit Break Quest 1-5 -- Involved in Quests: Beat Around the Bushin -- @zone 243 -- @pos 8 3 118 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; -----------...
gpl-3.0
g0g0dancer/searework
LuaUI/Widgets/map_edge_barrier.lua
9
7596
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Map Edge Barrier", version = "v0.22", desc = "Draws a vertical grid along map edge", ...
gpl-2.0
Baylamon/Illarion-Content
npc/base/condition/money.lua
4
1965
--[[ 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