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 |
|---|---|---|---|---|---|
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/base/poi_all_lair_wooden_fog_mustard.lua | 1 | 2331 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
TerraME/terrame | test/packages/twoerrors/lua/Utils.lua | 3 | 13985 | --#########################################################################################
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2014 INPE and TerraLAB/UFOP -- www.terrame.org
--
-- This code is part of the TerraME framework.
-- This framework is... | lgpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/reactor/rct_sfs_imperial_1.lua | 3 | 2292 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
crazyboy11/newbot | plugins/antifuck.lua | 22 | 4534 | -- By Mohamed_devt { @amirmr33 }
-- how to use inside telegram --
-- if you want to see fuck use this command /fuck lock
-- if you want to disable the protection use this command /fuck unlock
-- if you want to check the protection use this command /link ?
-- a function that i make to cut the command and the / from t... | gpl-2.0 |
frutjus/OpenRA | mods/ra/maps/soviet-05/main.lua | 33 | 8124 | CheckForBase = function()
baseBuildings = Map.ActorsInBox(Map.TopLeft, CFBPoint.CenterPosition, function(actor)
return actor.Type == "fact" or actor.Type == "powr"
end)
return #baseBuildings >= 2
end
CheckForCYard = function()
ConYard = Map.ActorsInBox(mcvGGLoadPoint.CenterPosition, ReinfEastPoint.CenterPositio... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/mobskills/Vorpal_Wheel.lua | 6 | 1072 | ---------------------------------------------
-- Vorpal Wheel
--
-- Description: Throws a slicing wheel at a single target.
-- Type: Physical
-- Utsusemi/Blink absorb: No
-- Range: Unknown
-- Notes: Only used by Gulool Ja Ja, and will use it as a counterattack to any spells cast on him. Damage increases as... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/weaponskills/victory_smite.lua | 4 | 1530 | -----------------------------------
-- Victory Smite
-- Hand-to-Hand Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP.
-- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped.
-- Aligned with the Light Gorget, ... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/spells/bluemagic/wild_oats.lua | 6 | 1208 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,sp... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Port_Windurst/npcs/Jack_of_Clubs.lua | 6 | 1185 | -----------------------------------
-- Area: Port Windurst
-- NPC: Jack of Clubs
-- Adventurer's Assistant
-- Working 100%
-------------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs");
-----------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Southern_San_dOria/npcs/Capucine.lua | 2 | 1468 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Capucine
-- @pos -145.384, -5.999, -11.794
-- @zone 230
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
baslr/ArangoDB | 3rdParty/V8/V8-5.0.71.39/tools/gcmole/gccause.lua | 157 | 2313 | -- Copyright 2011 the V8 project authors. All rights reserved.
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are
-- met:
--
-- * Redistributions of source code must retain the above copyright
-- notice, this list of ... | apache-2.0 |
meshr-net/meshr_win32 | usr/lib/lua/luci/model/cbi/freifunk/meshwizard.lua | 2 | 6953 | -- wizard rewrite wip
local uci = require "luci.model.uci".cursor()
local sys = require "luci.sys"
local util = require "luci.util"
local ip = require "luci.ip"
local community = "profile_" .. (uci:get("freifunk", "community", "name") or "Freifunk")
local mesh_network = ip.IPv4(uci:get_first(community, "community", "... | apache-2.0 |
kidaa/FFXIOrgins | scripts/globals/items/persikos.lua | 1 | 1147 | -----------------------------------------
-- ID: 4274
-- Item: persikos
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Spire_of_Vahzl/npcs/_0n0.lua | 2 | 1414 | -----------------------------------
-- Area: Spire of Vahzl
-- NPC: Web of Recollection
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/mis... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Waughroon_Shrine/bcnms/rank_2_mission.lua | 6 | 1874 | -----------------------------------
-- Area: Waughroon Shrine
-- Name: Mission Rank 2
-- @pos -345 104 -260 144
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Waughroon_Shrine/TextIDs");
-------------------... | gpl-3.0 |
brendangregg/bcc | src/lua/bcc/vendor/posix.lua | 8 | 2147 | --[[
Copyright 2016 GitHub, 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 writing, software
distr... | apache-2.0 |
OmegaBolt/OpenRA | lua/sandbox.lua | 84 | 5098 | local sandbox = {
_VERSION = "sandbox 0.5",
_DESCRIPTION = "A pure-lua solution for running untrusted Lua code.",
_URL = "https://github.com/kikito/sandbox.lua",
_LICENSE = [[
MIT LICENSE
Copyright (c) 2013 Enrique García Cota
Permission is hereby granted, free of charge, to an... | gpl-3.0 |
frutjus/OpenRA | lua/sandbox.lua | 84 | 5098 | local sandbox = {
_VERSION = "sandbox 0.5",
_DESCRIPTION = "A pure-lua solution for running untrusted Lua code.",
_URL = "https://github.com/kikito/sandbox.lua",
_LICENSE = [[
MIT LICENSE
Copyright (c) 2013 Enrique García Cota
Permission is hereby granted, free of charge, to an... | gpl-3.0 |
brendangregg/bcc | src/lua/bcc/tracerpipe.lua | 9 | 1540 | --[[
Copyright 2016 GitHub, 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 writing, software
distr... | apache-2.0 |
actionless/awesome | lib/awful/root.lua | 4 | 3962 | ---------------------------------------------------------------------------
-- @author Emmanuel Lepage-Vallee <elv1313@gmail.com>
-- @copyright 2018-2019 Emmanuel Lepage-Vallee
-- @module root
---------------------------------------------------------------------------
local capi = { root = root }
local gtable = ... | gpl-2.0 |
mrbangi/deviilbot | 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 |
kidaa/FFXIOrgins | scripts/zones/Lower_Jeuno/npcs/_l02.lua | 6 | 1502 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -89.022 -0 -123.317
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
oralius/gto | bot/permissions.lua | 43 | 1333 | local sudos = {
"plugins",
"rank_admin",
"bot",
"lang_install",
"set_lang",
"tosupergroup",
"gban_installer"
}
local admins = {
"rank_mod",
"gban",
"ungban",
"setrules",
"setphoto",
"creategroup",
"setname",
"addbots",
"setlink",
"rank_guest",
"description",
"export_... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Chest.lua | 7 | 2760 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Treasure Chest
-- @zone 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure")... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Woods/npcs/Miiri-Wohri.lua | 38 | 1037 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Miiri-Wohri
-- Type: Standard NPC
-- @zone: 241
-- @pos 106.766 -6 -30.492
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Waters/npcs/Yung_Yaam.lua | 6 | 1666 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Yung Yaam
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -63 -4 27
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/QuBia_Arena/mobs/Maat.lua | 4 | 1091 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/QuBia_Arena/TextIDs");
-----------------------------------
-- onMobSpawn A... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Qulun_Dome/npcs/_440.lua | 4 | 1499 | -----------------------------------
-- Area: Qulun Dome
-- NPC: Door
-- Involved in Mission: Magicite
-- @pos 60 24 -2 147
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Qulun... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/spells/holy_ii.lua | 2 | 1122 | -----------------------------------------
-- Spell: Holy II
-- Deals light damage to an enemy.
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Waters_[S]/npcs/Pogigi.lua | 4 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pogigi
-- Type: Sealed Container
-- @zone: 94
-- @pos: -29.787 -4.499 42.603
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Korroloka_Tunnel/Zone.lua | 1 | 1578 | -----------------------------------
--
-- Zone: Korroloka_Tunnel (173)
--
-----------------------------------
package.loaded["scripts/zones/Korroloka_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Korroloka_Tunnel/TextIDs");
--------------------... | gpl-3.0 |
Clavus/LD32 | engine/lib/loveframes/objects/imagebutton.lua | 12 | 8320 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- get the current require path
local path = string.sub(..., 1, string.len(...) - string.len(".objects.imagebutton"))
local l... | mit |
emoses/hammerspoon | extensions/webview/init.lua | 8 | 7774 | --- === hs.webview ===
---
--- Display web content in a window from Hammerspoon
---
--- This module uses Apple's WebKit WKWebView class to provide web content display with JavaScript injection support. The objective is to provide a functional interface to the WKWebView and WKUserContentController classes.
---
--- This... | mit |
ChaosForge/doomrl | bin/lua/traits.lua | 2 | 17888 | function DoomRL.load_traits()
register_trait "ironman"
{
name = "Ironman",
desc = "Increases hitpoints by 20% starting HP/lv.",
quote = "\"Just a couple of broken ribs, it's nothing. To stop me... you've got to smash my head or take my heart out.\"",
full = "You're a diehard piece of shit. You'll keep... | gpl-2.0 |
rdalkire/computercraft-programs | turtleApps/src/obbyMiner2.lua | 1 | 18119 | --[[ Obsidian Miner 2
Copyright (c) 2016-2017
Robert David Alkire II,
IGN Hephaestus_Page
FKA goatsbuster, ian_xw
Distributed under the MIT License.
(See accompanying file LICENSE or copy
at http://opensource.org/licenses/MIT)
]]
local VERSION = "2.0.4"
--- Set by users (l)imit option, so
-- if they want to do onl... | mit |
kidaa/FFXIOrgins | scripts/zones/West_Ronfaure/npcs/Molting_Moth_IM.lua | 8 | 2938 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Molting Moth, I.M.
-- Border Conquest Guards
-- @pos -560.292 -0.961 -576.655 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
Fatalerror66/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 |
BTAxis/naev | dat/missions/trader/anxiousmerchant.lua | 2 | 13295 | --[[
Anxious Merchant
Author: PhoenixRiver (from an idea on the wiki)
A merchant with a slow ship suddenly realizes he can't make the delivery and
implores the player to do it for him. Since he has to look good with his
employers he'll pay the player a bonus if he does it.
Note: Variant of the Drun... | gpl-3.0 |
flyzjhz/openwrt-bb | feeds/luci/applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua | 36 | 1043 | --[[
LuCI hd-idle
(c) 2008 Yanira <forum-2008@email.de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
require("nixio.fs")
m = Map... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Port_Jeuno/npcs/Omiro-Zamiro.lua | 4 | 1301 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Omiro-Zamiro
-- @zone 246
-- @pos 3 7 -54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/chocobiscuit.lua | 3 | 1370 | -----------------------------------------
-- ID: 5934
-- Item: Chocobiscuit
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Magic Regen While Healing 3
-- Charisma 3
-- Evasion 2
-- Aquan Killer 10
-- Silence Resist 10
-----------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
miotatsu/milton | tundra/scripts/tundra/syntax/bison.lua | 20 | 1173 | module(..., package.seeall)
local path = require "tundra.path"
DefRule {
Name = "Bison",
Command = "", -- Replaced on a per-instance basis.
ConfigInvariant = true,
Blueprint = {
Source = { Required = true, Type = "string" },
OutputFile = { Required = false, Type = "string" },
TokenDefine... | mit |
Fatalerror66/ffxi-a | scripts/globals/spells/jubaku_san.lua | 8 | 1758 | -----------------------------------------
-- Spell: Jubaku: San
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
--------------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Western_Altepa_Desert/npcs/Emerald_Column.lua | 2 | 1722 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: Emerald Column
-- Mechanism for Altepa Gate
-- @pos -775 2 -460 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/We... | gpl-3.0 |
Fatalerror66/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 |
kidaa/FFXIOrgins | scripts/zones/Rabao/npcs/Irmilant.lua | 4 | 3660 | -----------------------------------
-- Area: Rabao
-- NPC: Irmilant
-- Starts and Ends Quests: The Immortal Lu Shang and Indomitable Spirit
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/titles");
require("scripts/globals/settings");
require("scripts/g... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Aht_Urhgan_Whitegate/npcs/Abda-Lurabda.lua | 11 | 1352 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Abda Lurabda
-- Standard Info NPC
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/pets");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTra... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Kazham/npcs/Pahya_Lolohoiv.lua | 2 | 1334 | -----------------------------------
-- Area: Kazham
-- NPC: Pahya Lolohoiv
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTr... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/chocobo_shirt.lua | 2 | 1362 | -----------------------------------------
-- ID: 10293
-- Item: Chocobo Shirt
-- Effect: When used, you will obtain 4-10 of crystals of the day
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
-----------------------------------------
-- OnIte... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Oldton_Movalpolos/Zone.lua | 2 | 1912 | -----------------------------------
--
-- Zone: Oldton_Movalpolos (11)
--
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Oldton_Movalpolos/TextIDs");
require("scripts/globals/missions");
--------... | gpl-3.0 |
exochron/mount-journal-enhanced | Libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua | 1 | 4748 | --[[-----------------------------------------------------------------------------
Label Widget
Displays text and optionally an icon.
-------------------------------------------------------------------------------]]
local Type, Version = "Label", 26
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Castle_Zvahl_Baileys_[S]/Zone.lua | 8 | 1317 | -----------------------------------
--
-- Zone: Castle_Zvahl_Baileys_[S] (138)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Baileys_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Baileys_[S]/TextIDs");
----------------------... | gpl-3.0 |
OmegaBolt/OpenRA | mods/cnc/maps/gdi05b/gdi05b.lua | 19 | 5853 | AllToHuntTrigger =
{
Silo1, Proc1, Silo2, Silo3, Silo4, Afld1, Hand1, Nuke1, Nuke2, Nuke3, Fact1
}
AtkRoute1 = { waypoint4.Location, waypoint5.Location, waypoint6.Location, waypoint7.Location, waypoint8.Location }
AtkRoute2 = { waypoint0.Location, waypoint1.Location, waypoint2.Location, waypoint3.Location }
AutoCrea... | gpl-3.0 |
aliafshar250/b | plugins/spam.lua | 34 | 1560 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/globals/weaponskills/vidohunir.lua | 2 | 4680 | -----------------------------------
-- Vidohunir
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP.
-- Reduces enemy's magic defense by 10%.
-- Available only after completing the Unlocking a Myth (Black Mage)... | gpl-3.0 |
jiang42/Algorithm-Implementations | Fibonacci_series/Lua/Yonaba/fib_test.lua | 27 | 1042 | -- Tests for fib.lua
local fib = (require 'fib').fib
local fib_iter = (require 'fib').fib_iter
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 o... | mit |
TeleMafia/mafia | plugins/PL (17).lua | 2 | 1395 | local function delmsg (i,naji)
msgs = i.msgs
for k,v in pairs(naji.messages_) do
msgs = msgs - 1
tdcli.deleteMessages(v.chat_id_,{[0] = v.id_}, dl_cb, cmd)
if msgs == 1 then
tdcli.deleteMessages(naji.messages_[0].chat_id_,{[0] = naji.messages_[0].id_}, dl_cb, cmd)
... | gpl-3.0 |
actionless/awesome | lib/awful/widget/layoutbox.lua | 1 | 3571 | ---------------------------------------------------------------------------
--- Display the current client layout (`awful.layout`) icon or name.
--
-- @DOC_awful_widget_layoutbox_default_EXAMPLE@
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2009 Julien Danjou
-- @widgetmod awful.widget.layoutbox... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Waters/npcs/Dienger.lua | 38 | 1042 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dienger
-- Type: Melody Minstrel
-- @zone: 238
-- @pos -46.448 -6.312 212.384
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-------... | gpl-3.0 |
basiliscos/lua-gear | src/gear/DeclaredDependency.lua | 1 | 3490 | --[[
Copyright (C) 2016 Ivan Baidakou (basiliscos), http://github.com/basiliscos
This program is free software; you can redistribute it and/or modify it
under the terms of the the Artistic License (2.0). You may obtain a
copy of the full license at:
L<http://www.perlfoundation.org/artistic_license_2_0>
Any use, mod... | artistic-2.0 |
kidaa/FFXIOrgins | scripts/zones/Carpenters_Landing/npcs/Logging_Point.lua | 4 | 1072 | -----------------------------------
-- Area: Carpenters Landing
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Carpenters_Landing/TextIDs");
... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Aht_Urhgan_Whitegate/npcs/Runic_Portal.lua | 2 | 2651 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Runic Portal
-- Aht Urhgan Teleporter to Other Areas
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
package.loaded["scripts/globals/besieged"] = nil;
-------------------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/mobskills/Havoc_Spiral.lua | 10 | 1098 | ---------------------------------------------
-- Havoc Spiral
--
-- Description: Deals damage to players in an area of effect. Additional effect: Sleep
-- Type: Physical
-- 2-3 Shadows
-- Range: Unknown
-- Special weaponskill unique to Ark Angel MR. Deals ~100-300 damage.
-----------------------------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Lower_Jeuno/npcs/Yoskolo.lua | 37 | 1688 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yoskolo
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/weaponskills/one_inch_punch.lua | 6 | 1435 | -----------------------------------
-- One Inch Punch
-- Hand-to-Hand weapon skill
-- Skill level: 75
-- Delivers an attack that ignores target's defense. Amount ignored varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget.
-- Aligned with the Shadow Belt.
-- Element: None ... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Bastok_Markets/npcs/Sinon.lua | 36 | 4438 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Sinon
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorage");
requ... | gpl-3.0 |
emadni/emadoso | 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 |
ceason/epgp-tfatf | libs/AceComm-3.0/ChatThrottleLib.lua | 22 | 15434 | --
-- ChatThrottleLib by Mikk
--
-- Manages AddOn chat output to keep player from getting kicked off.
--
-- ChatThrottleLib:SendChatMessage/:SendAddonMessage functions that accept
-- a Priority ("BULK", "NORMAL", "ALERT") as well as prefix for SendChatMessage.
--
-- Priorities get an equal share of available bandwidth... | bsd-3-clause |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Waters_[S]/npcs/Emhi_Tchaoryo.lua | 4 | 1062 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Emhi Tchaoryo
-- Type: Campaign Ops Overseer
-- @zone: 94
-- @pos: 10.577 -2.478 32.680
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/Text... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/La_Theine_Plateau/npcs/Deaufrain.lua | 2 | 2306 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Deaufrain
-- Involved in Mission: The Rescue Drill
-- @zone 102
-- @pos -304 28 339
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Port_Bastok/npcs/_6k1.lua | 2 | 1085 | -----------------------------------
-- Area: Port Bastok
-- Door: "Galvin's Gear"
-- @zone 236
-- @pos -129.275, -2.845, -26.724
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scrip... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Horlais_Peak/Zone.lua | 3 | 1579 | -----------------------------------
--
-- Zone: Horlais_Peak (139)
--
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Horlais_Peak/TextIDs");
--------------------------------... | gpl-3.0 |
DevSaipa/Oscar | plugin/kick.lua | 1 | 1151 |
do
local function run(msg, matches)
if matches[1] == 'زحلك' and is_momod(msg) then
if type(msg.reply_id) ~= "nil" then
local cbreply_extra = {
get_cmd = 'channel_block',
msg = msg
}
get_message(msg.reply_id, get_message_call... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/zones/VeLugannon_Palace/npcs/qm2.lua | 2 | 1214 | -----------------------------------
-- Area: VeLugannon Palace
-- NPC: ???
-- @pos 0 0 -286 177
-----------------------------------
package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/VeLugannon_Palace/TextIDs");
----------------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Beaucedine_Glacier/npcs/Luck_Rune.lua | 4 | 1047 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos 70.736 -37.778 149.624 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-------------------------------------
require("scripts/zon... | gpl-3.0 |
Fatalerror66/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 |
Fatalerror66/ffxi-a | scripts/globals/items/serving_of_leadafry.lua | 2 | 1142 | -----------------------------------------
-- ID: 5161
-- Item: serving_of_leadafry
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Agility 5
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
zhangshiqian1214/skynet | lualib/skynet/socket.lua | 9 | 9331 | local driver = require "skynet.socketdriver"
local skynet = require "skynet"
local skynet_core = require "skynet.core"
local assert = assert
local socket = {} -- api
local buffer_pool = {} -- store all message buffer object
local socket_pool = setmetatable( -- store all socket object
{},
{ __gc = function(p)
for i... | mit |
actionless/awesome | tests/examples/screen/mfpol2.lua | 1 | 1099 | --DOC_GEN_IMAGE --DOC_NO_USAGE --DOC_HIDE_ALL
screen[1]._resize {x = 0, width = 640, height = 480}
local awful = {
wibar = require("awful.wibar"),
tag = require("awful.tag"),
tag_layout = require("awful.layout.suit.tile")
}
function awful.spawn(_, args)
local c = client.gen_fake{}
c:tags({args.t... | gpl-2.0 |
CTPST/.CTPST | plugins/owners.lua | 284 | 12473 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
crazyboy11/newbot | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Pashhow_Marshlands/npcs/Mesachedeau_RK.lua | 8 | 2958 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Mesachedeau, R.K.
-- Type: Outpost Conquest Guards
-- @pos 470.843 23.465 415.520 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/North_Gustaberg/npcs/Hunting_Bear.lua | 4 | 2294 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Hunting Bear
-- Type: NPC Quest
-- Involved in Quest: The Gustaberg Tour
-- @zone: 106
-- @pos: -232.415 40.465 426.495
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/... | gpl-3.0 |
Fatalerror66/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 |
nenau/naev | dat/missions/shark/sh05_flf.lua | 1 | 5746 | --[[
This is the sixth mission of the Shark's teeth campaign. The player has to take contact with the FLF.
Stages :
0) Way to Eiger/Surano
1) Way back to Darkshed
--]]
include "numstring.lua"
title = {}
text = {}
osd_msg = {}
npc_desc = {}
bar_desc = {}
title[1] = _("Nice to see you again!")
... | gpl-3.0 |
tangzx/IntelliJ-EmmyLua | src/main/resources/std/Lua51/debug.lua | 2 | 8488 | -- Copyright (c) 2018. tangzx(love.tangzx@qq.com)
--
-- 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 ... | apache-2.0 |
kidaa/FFXIOrgins | scripts/zones/Rala_Waterways/Zone.lua | 16 | 1191 | -----------------------------------
--
-- Zone: Rala Waterways
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Rala_Waterways/TextIDs"] = nil;
require("scripts/zones/Rala_Waterways/TextIDs");
-----------------------------------
-- onInitialize
-------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Waters/npcs/Gantineux.lua | 4 | 2371 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Gantineux
-- Starts Quest: Acting in Good Faith
-- @zone 238
-- @pos -83 -9 3
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Woods/npcs/Manyny.lua | 36 | 1453 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Manyny
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/Tex... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Castle_Oztroja/npcs/_m71.lua | 19 | 1187 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m71 (Torch Stand)
-- Involved in Mission: Magicite
-- @pos -99 24 -105 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
req... | gpl-3.0 |
AntonioModer/shine | init.lua | 7 | 3313 | --[[
The MIT License (MIT)
Copyright (c) 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, m... | mit |
Fatalerror66/ffxi-a | scripts/globals/spells/bluemagic/hysteric_barrage.lua | 6 | 1036 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,sp... | gpl-3.0 |
roboxt/ss | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
roboxt/ss | plugins/git.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Cloister_of_Storms/npcs/Lightning_Protocrystal.lua | 2 | 1524 | -----------------------------------
-- Area: Cloister of Storms
-- NPC: Lightning Protocrystal
-- Involved in Quests: Trial by Lightning
-- @zone 202
-- @pos 534.5 -13 492
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"... | gpl-3.0 |
ceason/epgp-tfatf | libs/AceTimer-3.0/AceTimer-3.0.lua | 31 | 9798 | --- **AceTimer-3.0** provides a central facility for registering timers.
-- AceTimer supports one-shot timers and repeating timers. All timers are stored in an efficient
-- data structure that allows easy dispatching and fast rescheduling. Timers can be registered
-- or canceled at any time, even from within a running ... | bsd-3-clause |
Fatalerror66/ffxi-a | scripts/zones/RuLude_Gardens/npcs/_6r9.lua | 2 | 3072 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Audience Chamber
-- Involved in Mission: Magicite
-- @pos 0 -5 66 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Mhaura/npcs/Phoochuchu.lua | 19 | 1441 | -----------------------------------
-- Area: Mhaura
-- NPC: Phoochuchu
-- Involved in Quest: A Thief in Norg!?
-- @pos -4 -4 69 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Mh... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Meriphataud_Mountains_[S]/npcs/Cavernous_Maw.lua | 2 | 1448 | -----------------------------------
-- Area: Meriphataud Mountains [S]
-- Name: Cavernous Maw
-- Teleports Players to Meriphataud
-- Mountains
-- @zone 97
-- @pos 597, -32, 279
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
SlySven/Mudlet | src/mudlet-lua/tests/TableUtils_spec.lua | 2 | 22615 | describe("Tests TableUtils.lua functions", function()
describe("Tests the functionality of spairs", function()
it("should sort by basic sorted keys by default", function()
local tbl = { Tom = 40, Mary = 50, Joe = 24 }
local expected = "Joe has 24 thingies\nMary has 50 thingies\nTom has 40 thingies\n"... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.