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
SalvationDevelopment/Salvation-Scripts-Production
c49721904.lua
2
1198
--真六武衆-キザン function c49721904.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c49721904.spcon) c:RegisterEffect(e1) --atk,def local e2=Effect.Crea...
gpl-2.0
waruqi/xmake
xmake/plugins/project/make/xmakefile.lua
1
4314
--!A cross-platform build utility based on Lua -- -- 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
soundsrc/premake-stable
tests/baking/test_merging.lua
57
2096
-- -- tests/baking/test_merging.lua -- Verifies different field types are merged properly during baking. -- Copyright (c) 2011 Jason Perkins and the Premake project -- T.baking_merging = { } local suite = T.baking_merging -- -- Setup code -- local sln, prj, cfg function suite.setup() sln = solution "MySolution...
bsd-3-clause
SalvationDevelopment/Salvation-Scripts-Production
c93830681.lua
5
1475
--キラー・ラブカ function c93830681.initial_effect(c) --disable attack local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(93830681,0)) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_BE_BATTLE_TARGET) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimit(...
gpl-2.0
dr01d3r/darkstar
scripts/globals/abilities/pets/gust_breath.lua
29
1334
--------------------------------------------------- -- Gust Breath --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/ability"); ------------------------------------------------...
gpl-3.0
CapsAdmin/fast_addons
lua/notagain/misc/autorun/fairy.lua
1
24046
local ENT = {} ENT.ClassName = "fairy" ENT.Type = "anim" ENT.Base = "base_anim" ENT.Size = 1 ENT.Visibility = 0 if CLIENT then local function VectorRandSphere() return Angle(math.Rand(-180,180), math.Rand(-180,180), math.Rand(-180,180)):Up() end function ENT:SetFairyHue(hue) self.Color = HSVToColor(hue, 0.4...
gpl-3.0
waruqi/xmake
xmake/modules/private/action/build/object.lua
1
4246
--!A cross-platform build utility based on Lua -- -- 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
LuaDist2/libcidr-ffi
spec/libcidr-ffi_spec.lua
2
5811
describe("libcidr-ffi", function() local cidr = require "libcidr-ffi" describe("from_str", function() it("parses an ipv4 address", function() local result, err = cidr.from_str("1.1.1.1") assert.are.equal(type(result), "cdata") assert.are.equal(err, nil) end) it("parses an ipv4 addres...
mit
koreader/koreader
frontend/device/kindle/powerd.lua
4
10366
local BasePowerD = require("device/generic/powerd") local WakeupMgr = require("device/wakeupmgr") local logger = require("logger") -- liblipclua, see require below local KindlePowerD = BasePowerD:new{ fl_min = 0, fl_max = 24, fl_warmth_min = 0, fl_warmth_max = 24, lipc_handle = nil, } function KindlePowe...
agpl-3.0
dr01d3r/darkstar
scripts/globals/spells/absorb-vit.lua
9
1369
-------------------------------------- -- Spell: Absorb-VIT -- Steals an enemy's vitality. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Bastok_Markets/npcs/Ken.lua
14
1448
----------------------------------- -- Area: Bastok Markets -- NPC: Ken -- Type: Quest NPC -- @pos -340.857 -11.003 -149.008 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/...
gpl-3.0
RezaLunatic/Unknown
plugins/ingroup.lua
24
53144
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
arashmrb/arashbot
plugins/spam.lua
34
1560
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Ghelsba_Outpost/npcs/Hut_Door.lua
14
2104
----------------------------------- -- Area: Ghelsba_Outpost -- NPC: Hut Door -- @pos -165.357 -11.672 77.771 140 ------------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/gl...
gpl-3.0
nkgm/hammerspoon
extensions/base64/init.lua
18
1412
--- === hs.base64 === --- --- Base64 encoding and decoding --- --- Portions sourced from (https://gist.github.com/shpakovski/1902994). local module = require("hs.base64.internal") -- private variables and methods ----------------------------------------- -- Public interface -----------------------------------------...
mit
SalvationDevelopment/Salvation-Scripts-Production
c41201555.lua
4
2846
--コアキメイル・グラヴィローズ function c41201555.initial_effect(c) --cost local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE) e1:SetCode(EVENT_PHASE+PHASE_END) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c4...
gpl-2.0
fir3element/forgottenserver036
data/actions/scripts/quests/annihilator.lua
3
1370
local config = { daily = "no", -- allow only one enter per day? (like in global Tibia) level = 100, storage = 30015, entry = { {x = 247, y = 659, z = 13}, {x = 247, y = 660, z = 13}, {x = 247, y = 661, z = 13}, {x = 247, y = 662, z = 13} }, destination = { {x = 189, y = 650, z = 13}, {x = 189, y = 6...
gpl-2.0
dmccuskey/dmc-trajectory
examples/dmc-trajectory-multiple/dmc_library/dmc_kompatible.lua
3
13100
--====================================================================-- -- dmc_kompatible.lua -- -- -- by David McCuskey -- Documentation: http://docs.davidmccuskey.com/display/docs/dmc_kompatible.lua --====================================================================-- --[[ Copyright (C) 2013-2014 David McCuskey...
mit
dr01d3r/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Bammiro_IM.lua
14
3330
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Bammiro, I.M. -- Border Conquest Guards -- @pos -241.334 -1 478.602 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requi...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Mainchelite.lua
29
5404
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Mainchelite -- @zone 80 -- @pos -16 1 -30 -- CS IDs: -- 0x005 = Generic Greeting for Iron Ram members -- 0x006 = Mid Initiation of other nation -- 0x007 = Ask player to Join Iron Rams -- 0x008 = Ask if changed mind about joining Iron rams (after...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/cupid_chocolate.lua
12
1465
----------------------------------------- -- ID: 5681 -- Item: cupid_chocolate -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Accuracy +10 -- Ranged Accuracy +10 -- Attack 10 -- Ranged Attack 10 -- Store TP +25 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
soundsrc/premake-stable
src/base/project.lua
2
20999
-- -- project.lua -- Functions for working with the project data. -- Copyright (c) 2002 Jason Perkins and the Premake project -- premake.project = { } -- -- Create a tree from a project's list of files, representing the filesystem hierarchy. -- -- @param prj -- The project containing the files to map. -- @return...
bsd-3-clause
dr01d3r/darkstar
scripts/globals/items/persikos.lua
12
1182
----------------------------------------- -- ID: 4274 -- Item: persikos -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -7 -- Intelligence 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c52963531.lua
2
4117
--EMマンモスプラッシュ function c52963531.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --spsummon local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetRange(LOCATION_PZONE) e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCountLi...
gpl-2.0
AutoJames/KkthnxUI_Legion
KkthnxUI/Modules/Auras/Auras.lua
1
7220
local K, C, L = select(2, ...):unpack() if C.Auras.Enable ~= true then return end -- Lua API local next = next local select = select local unpack = unpack -- Wow API local GetInventoryItemTexture = GetInventoryItemTexture local GetTime = GetTime local GetWeaponEnchantInfo = GetWeaponEnchantInfo local UnitAura = UnitA...
mit
mynameiscraziu/vdsfrewq
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
dr01d3r/darkstar
scripts/zones/Windurst_Woods/npcs/Aja-Panja.lua
14
1051
----------------------------------- -- Area: Windurst Woods -- NPC: Aja-Panja -- Type: Standard NPC -- @zone 241 -- @pos -7.251 -6.55 -134.127 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -------------...
gpl-3.0
RevDevGames/eden
mods/gui/api.lua
2
9401
-- gui/api.lua gui.colors = "listcolors[#00000000;#00000010;#00000000;#68B259;#FFF]" gui.bg = "bgcolor[#00000000;false]" local forms = {} --- --- Helpers --- -- [local function] Preprocess local function pre(player, name, form, group) form = "size[9.5,9]"..form..gui.colors..gui.bg.."background[0,0;9.5,9;gui_fo...
lgpl-2.1
SOCLE15/mMediaWiki
extensions/Scribunto/engines/LuaCommon/lualib/luabit/hex.lua
10
1830
--[[--------------- Hex v0.4 ------------------- Hex conversion lib for lua. How to use: hex.to_hex(n) -- convert a number to a hex string hex.to_dec(hex) -- convert a hex string(prefix with '0x' or '0X') to number Part of LuaBit(http://luaforge.net/projects/bit/). Under the MIT license. copyright(c...
gpl-2.0
fmassa/cutorch
Tensor.lua
1
1513
function torch.CudaTensor.apply(self, func) local x = torch.FloatTensor(self:size()):copy(self) x:apply(func) self:copy(x) end local function Tensor__type(self,type) local current = torch.typename(self) if not type then return current end if type ~= current then local new = torch.getmetatable(t...
bsd-3-clause
dr01d3r/darkstar
scripts/zones/Newton_Movalpolos/npcs/HomePoint#1.lua
27
1274
----------------------------------- -- Area: Newton Movalpolos -- NPC: HomePoint#1 -- @pos 444 27 -22 12 ----------------------------------- package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Newton_Movalpolos/TextIDs"); require("scripts/globa...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c11193246.lua
4
1336
--月光輪廻舞踊 function c11193246.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_DESTROYED) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e1:SetCountLimit(1,11193246+EFFECT_COUNT_CODE_OATH) e1:S...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Abyssea-Vunkerl/mobs/Sippoy.lua
16
1198
----------------------------------- -- Area: Abyssea - Vunkerl -- Mob: Sippoy ----------------------------------- require("scripts/globals/status"); require("scripts/globals/titles"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm1_2.lua
17
2450
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Entrances) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/glob...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c100912058.lua
2
3318
--幻煌龍の螺旋絞 --Spiral Hold of the Mythic Radiance Dragon --Script by dest function c100912058.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c100912058.targ...
gpl-2.0
Herve-M/OpenRA
mods/ra/maps/siberian-conflict-3-wasteland/wasteland-AI.lua
7
5606
--[[ Copyright 2007-2022 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
grbd/premake-core
src/base/project.lua
1
12446
--- -- project.lua -- Premake project object API -- Copyright (c) 2011-2014 Jason Perkins and the Premake project --- local p = premake p.project = p.api.container("project", p.solution, { "config" }) local project = p.project local tree = p.tree --- -- Alias the old external() call to the new externalProject(...
bsd-3-clause
dr01d3r/darkstar
scripts/zones/Port_Bastok/npcs/Agapito.lua
14
1947
----------------------------------- -- Area: Port Bastok -- NPC: Agapito -- Start & Finishes Quest: The Stars of Ifrit -- @zone 236 -- @pos -72.093 -3.097 9.309 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Caedarva_Mire/npcs/qm12.lua
14
2040
----------------------------------- -- Area: Caedarva Mire -- NPC: ??? -- @pos 456.993 -7.000 -270.815 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require...
gpl-3.0
rigeirani/uzrep
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
SalvationDevelopment/Salvation-Scripts-Production
c72709014.lua
2
3660
--王女の試練 function c72709014.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c72709014.target) e1:SetOperation(c72709014.operation) c:RegisterEffect(e1) ...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Lufaise_Meadows/mobs/Splinterspine_Grukjuk.lua
23
1100
----------------------------------- -- Area: Lufaise Meadows (24) -- MOB: Splinterspine_Grukjuk ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Lufaise_Meadows/TextIDs"); require("scripts/globals/quests"); --...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c69279219.lua
3
1410
--我が身を盾に function c69279219.initial_effect(c) --Negate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c69279219.condition) e1:SetCost(c69279219.cost) e1:SetTarget(c69279219.target) e1:SetOperation(c692...
gpl-2.0
TeleDALAD/dd
plugins/admin.lua
1
6404
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
dr01d3r/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_nf4.lua
14
2999
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Strange Apparatus -- @pos 104 0 -179 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); require("scripts/globals/strangeappara...
gpl-3.0
dr01d3r/darkstar
scripts/globals/abilities/pets/spring_water.lua
25
1137
--------------------------------------------------- -- Spring Water --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onAbilityCheck(player...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c2009101.lua
2
1920
--BF-疾風のゲイル function c2009101.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c2009101.spcon) c:RegisterEffect(e1) --atk def down local e2=Effect....
gpl-2.0
dr01d3r/darkstar
scripts/globals/weaponskills/flaming_arrow.lua
15
1429
----------------------------------- -- Flaming Arrow -- Archery weapon skill -- Skill level: 5 -- Deals fire elemental damage. Damage varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: Fire -- Modifiers: STR:16% ; AGI:25% -- 100%TP 200%TP 300%...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c24096499.lua
2
1898
--森の聖獣 ヴァレリフォーン function c24096499.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(24096499,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,240964...
gpl-2.0
dr01d3r/darkstar
scripts/zones/FeiYin/npcs/_no4.lua
14
2263
----------------------------------- -- Area: Fei'Yin -- NPC: Cermet Door (triggers Rukususu dialog) -- Type: Quest NPC -- @pos -183 0 190 204 -- Involved in Quests: Curses, Foiled A-Golem!?,SMN AF2: Class Reunion, SMN AF3: Carbuncle Debacle -- Involved in Missions: Windurst 5-1/7-2/8-2 ----------------------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Port_San_dOria/npcs/Ambleon.lua
14
1059
----------------------------------- -- Area: Port San d'Oria -- NPC: Ambleon -- Type: NPC World Pass Dealer -- @zone 232 -- @pos 71.622 -17 -137.134 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; -----...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c8198620.lua
2
2619
--冥界龍 ドラゴネクロ function c8198620.initial_effect(c) c:SetUniqueOnField(1,0,8198620) --fusion material c:EnableReviveLimit() aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsRace,RACE_ZOMBIE),2,false) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FL...
gpl-2.0
finalfrontier/finalfrontier
gamemode/sgui/label.lua
3
1716
-- Copyright (c) 2014 James King [metapyziks@gmail.com] -- -- This file is part of Final Frontier. -- -- Final Frontier 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 3 of -- the Lic...
lgpl-3.0
mamaddeveloper/uuznew
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
joev/SVUI-Temp
SVUI_UnitFrames/libs/oUF/elements/pvp.lua
4
1228
local parent, ns = ... local oUF = ns.oUF local Update = function(self, event, unit) if(unit ~= self.unit) then return end local pvp = self.PvP if(pvp.PreUpdate) then pvp:PreUpdate() end local status local factionGroup = UnitFactionGroup(unit) if(UnitIsPVPFreeForAll(unit)) then pvp:SetTexture[[Interface\T...
mit
dr01d3r/darkstar
scripts/zones/Tahrongi_Canyon/npcs/Pucotte.lua
27
1724
----------------------------------- -- Area: Tahrongi Canyon -- NPC: Pucotte -- Type: Chocobo Renter -- @pos 101.591 39.999 360.898 117 ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ...
gpl-3.0
HHmmominion/basemmominion
LuaMods/minionlib/ml_gui.lua
1
13006
GUI_Window = {} setmetatable(GUI_Window, { __call = function (cls, ...) return cls.New(...) end, __index = GUI_Window, positions = {top = true, bottom = true, left = true, right = true, none = true} }) function GUI_Window.New( strName, iX, iY, iH, iW, bVisibleDefault, bAutoSave ) local self = setmetatab...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c46967601.lua
4
2415
--呪いのお札 function c46967601.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c46967601.target) e1:SetOperation(c46967601.operation) c:RegisterEffect(e1) ...
gpl-2.0
kevinwangzx/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause
dr01d3r/darkstar
scripts/zones/The_Boyahda_Tree/TextIDs.lua
7
1397
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6385; -- Obtained: <item> GIL_OBTAINED = 6386; -- Obtained <number> gil KEYITEM_OBTAINED = 6388; -- Obtained k...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Northern_San_dOria/npcs/Esqualea.lua
17
1452
----------------------------------- -- Area: Northern San d'Oria -- NPC: Esqualea -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/globals/...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Lower_Jeuno/npcs/Mesukiki.lua
14
1047
---------------------------------- -- Area: Lower Jeuno -- NPC: Mesukiki -- Type: Item Deliverer -- @zone 245 -- @pos -19.832 -0.101 -39.075 -- ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); -----------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c7194917.lua
2
2261
--No.52 ダイヤモンド・クラブ・キング function c7194917.initial_effect(c) c:SetUniqueOnField(1,0,7194917) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --atk/def local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(7194917,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetC...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm17.lua
14
1404
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm17 (???) -- Spawns Isgebind -- @pos ? ? ? 253 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c73632127.lua
5
1626
--ディメンション・スライド function c73632127.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(c73632127.condition) e1:SetTarget(c73632127.target) e1:SetOp...
gpl-2.0
thegrb93/wire
lua/wire/client/e2descriptions.lua
1
151769
if not E2Helper then return end local name, short, type, typeid timer.Simple(0.1, function() for k, v in pairs( wire_expression_types ) do if k == "NORMAL" then k = "NUMBER" end name = k:sub(1,1) .. k:sub(2):lower() short = name:Left(3) type = name:lower() typeid = v[1] -- tables E2Helper.Descriptions[...
apache-2.0
dr01d3r/darkstar
scripts/globals/mobskills/Final_Retribution.lua
31
1048
--------------------------------------------- -- Final Retribution -- Family: Corse -- Description: Damages enemies in an area of effect. Additional effect: Stun -- Type: Physical -- Utsusemi/Blink absorb: 1-3 shadows -- Range: Radial -- Notes: Only used by some notorious monsters like Xolotl. ------------------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Kuftal_Tunnel/mobs/Goblin_Mercenary.lua
14
1128
----------------------------------- -- Area: Kuftal Tunnel -- MOB: Goblin Mercenary -- Note: Place Holder for Bloodthirster Madkix ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Kuftal_Tunnel/MobIDs"); ----------------------------------- -- onMobDeath ----------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/East_Ronfaure/Zone.lua
12
3842
----------------------------------- -- -- Zone: East_Ronfaure (101) -- ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/globals/zone"); require("scripts/globals/...
gpl-3.0
koreader/koreader
frontend/ui/elements/menu_activate.lua
4
1859
local InfoMessage = require("ui/widget/infomessage") local UIManager = require("ui/uimanager") local _ = require("gettext") return { text = _("Activate menu"), sub_item_table = { { text = _("With a tap"), checked_func = function() return G_reader_settings:readSet...
agpl-3.0
sidsatx102/cardpeek
dot_cardpeek_dir/scripts/e-passport.lua
16
19873
-- -- This file is part of Cardpeek, the smartcard reader utility. -- -- Copyright 2009-2013 by 'L1L1' -- -- Cardpeek is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (a...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c22638495.lua
2
3492
--剛竜剣士ダイナスターP function c22638495.initial_effect(c) --fusion material c:EnableReviveLimit() --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(c22638495.splimit) c...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/blowfish.lua
12
1323
----------------------------------------- -- ID: 5812 -- Item: Blowfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
xponen/Zero-K-Infrastructure
ZeroKLobby_NET4.0/Benchmarker/Benchmarks/Configs/ZKL_default/LuaUI/Config/ZK_order.lua
12
4858
-- Widget Order List (0 disables a widget) return { ["AA Command Helper"] = 14, AdvPlayersList = 0, ["Ally Resource Bars"] = 0, AllyCursors = 59, AnimatorGUI = 0, ["Attack AoE"] = 50, ["Attack Warning"] = 55, ["Auto First Build Facing"] = 15, ["Auto Group"] = 53, ["Auto Patrol Nanos"] = 16, ["Au...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Cloister_of_Storms/Zone.lua
30
1738
----------------------------------- -- -- Zone: Cloister_of_Storms (202) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Storms/TextIDs"); --------------...
gpl-3.0
focusworld/kingusers
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
waruqi/xmake
xmake/toolchains/cuda/xmake.lua
1
1037
--!A cross-platform build utility based on Lua -- -- 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
joev/SVUI-Temp
SVUI_!Core/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua
37
18708
--[[ $Id: AceGUIWidget-DropDown.lua 1116 2014-10-12 08:15:46Z nevcairiel $ ]]-- local AceGUI = LibStub("AceGUI-3.0") -- Lua APIs local min, max, floor = math.min, math.max, math.floor local select, pairs, ipairs, type = select, pairs, ipairs, type local tsort = table.sort -- WoW APIs local PlaySound = PlaySound local...
mit
mehrdad79/dark
plugins/stats.lua
15
3956
do -- Returns a table with `name` and `msgs` 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_prin...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c13215230.lua
4
1139
--ドリーム・ピエロ function c13215230.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(13215230,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_CHANGE_POS) e1:SetCondition(c132152...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c51960178.lua
7
1138
--フェアリー・チア・ガール function c51960178.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_FAIRY),4,2) c:EnableReviveLimit() --draw local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetDescription(aux.Stringid(51960178,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:S...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Earth.lua
14
2405
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Earth -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c100912018.lua
2
5679
--覇王門無限 --Supreme King Gate Infinity --Scripted by Eerie Code function c100912018.initial_effect(c) aux.EnablePendulumAttribute(c) --splimit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_PZONE) e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Windurst_Waters/npcs/Ahyeekih.lua
17
1663
----------------------------------- -- Area: Windurst Waters -- NPC: Ahyeekih -- Only sells when Windurst controls Kolshushu -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); require("scripts/globals/conquest")...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c74580251.lua
2
1828
--セフィラの神意 function c74580251.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,74580251+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c74580251.target) e1:SetOperation(c74580251.act...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Port_Windurst/npcs/Sattsuh_Ahkanpari.lua
17
1565
----------------------------------- -- Area: Port Windurst -- NPC: Sattsuh Ahkanpari -- Regional Marchant NPC -- Only sells when Windurst controlls Elshimo Uplands -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loa...
gpl-3.0
Herve-M/OpenRA
mods/ra/maps/intervention/intervention.lua
7
10528
--[[ Copyright 2007-2022 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
dr01d3r/darkstar
scripts/zones/Waughroon_Shrine/bcnms/shattering_stars.lua
27
2040
----------------------------------- -- Area: Waughroon Shrine -- Name: Shattering stars - Maat Fight -- @pos -345 104 -260 144 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Waughroon_Shrine/TextIDs"); ----...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c59808784.lua
2
3157
--炎帝家臣ベルリネス function c59808784.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,59808784) e1:SetCost(c59808784.spcost) e1:SetTarget(c59808784.sptg) e1:SetOperation(c59808784....
gpl-2.0
dr01d3r/darkstar
scripts/zones/Western_Adoulin/npcs/Dangueubert.lua
14
1682
----------------------------------- -- Area: Western Adoulin -- NPC: Dangueubert -- Type: Standard NPC and Quest NPC -- Involved with Quest: 'A Certain Substitute Patrolman' -- @zone 256 -- @pos 5 0 -136 256 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/quests")...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c83544697.lua
4
1476
--ガスタの交信 function c83544697.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c83544697.target) e1:SetOperation(c83544697.activate) c:Re...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c35464895.lua
7
1406
--デステニー・シグナル function c35464895.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c35464895.condition) e1:SetTarget(c35464895.target) e1:SetOperation(c35464895.operation) c:Reg...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c16226786.lua
4
2038
--深淵の暗殺者 function c16226786.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(16226786,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP) e1:SetTarget(c16226786.target) e1:SetOperation(c16226786.opera...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c46874015.lua
5
1649
--六武衆推参! function c46874015.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c46874015.target) e1:SetOperation(c46874015.activate) c:RegisterEff...
gpl-2.0
koreader/koreader
frontend/apps/filemanager/filemanagerbookinfo.lua
4
11686
--[[-- This module provides a way to display book information (filename and book metadata) ]] local BD = require("ui/bidi") local DocSettings = require("docsettings") local DocumentRegistry = require("document/documentregistry") local ImageViewer = require("ui/widget/imageviewer") local InfoMessage = require("ui/widge...
agpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c123709.lua
5
2711
--ラヴァル・ランスロッド function c123709.initial_effect(c) --summon with no tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(123709,0)) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c123709.ntcon) e1:Se...
gpl-2.0
TeleDALAD/dd
plugins/filter.lua
1
3819
do TMP = {} function First( msg ) local Xdata = load_data(_config.moderation.data); if ( not Xdata[tostring(msg.to.id)]["settings"]["Blocked_Words"] ) then Xdata[tostring(msg.to.id)]["settings"]["Blocked_Words"] = TMP save_data(_config.moderation.data, Xdata); print("i couldn't find the table so i created it ...
gpl-2.0
dr01d3r/darkstar
scripts/globals/mobs.lua
22
1782
----------------------------------- -- Global version of onMobDeath ----------------------------------- package.loaded["scripts/globals/conquest"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("scripts/globals/missions"); require("scripts/globals/quests"); require("scripts/glob...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/loaf_of_homemade_bread.lua
12
1872
----------------------------------------- -- ID: 5228 -- Item: loaf_of_homemade_bread -- Food Effect: 30Min, All Races ----------------------------------------- -- hMP +1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) -----------------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c100912056.lua
2
4053
--幻煌の都 パシフィス --Pacifis, City of Mythic Radiance --Script by mercury233 function c100912056.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --to hand local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_TOHAND+CATE...
gpl-2.0