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
dr01d3r/darkstar
scripts/zones/Port_Windurst/npcs/Martin.lua
30
1273
----------------------------------- -- Area: Port Windurst -- NPC: Martin -- Type: Standard NPC ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ----------------------------------- -- onTrade Action ------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c21954587.lua
2
3515
--水精鱗-メガロアビス function c21954587.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21954587,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c21954587.spcost) e1:SetTarget(c21954587.sptg) e1:SetOper...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c41930553.lua
5
2810
--暗黒の瘴気 function c41930553.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetTarget(c41930553.target1) e1:SetOperation(c41930553.operation) c:RegisterEffect(e1) --remove local e2=Effect.CreateEf...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Port_Windurst/npcs/Sheia_Pohrichamaha.lua
17
1503
----------------------------------- -- Area: Port Windurst -- NPC: Sheia Pohrichamaha -- Only sells when Windurst controlls Fauregandi Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port...
gpl-3.0
dr01d3r/darkstar
scripts/zones/PsoXja/npcs/_094.lua
14
2879
----------------------------------- -- Area: Pso'Xja -- NPC: _094 (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos 310.000 -1.925 -101.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); r...
gpl-3.0
TcT2k/wxFormBuilder
build/premake/4.3/src/base/help.lua
26
1220
-- -- help.lua -- User help, displayed on /help option. -- Copyright (c) 2002-2008 Jason Perkins and the Premake project -- function premake.showhelp() -- display the basic usage printf("Premake %s, a build script generator", _PREMAKE_VERSION) printf(_PREMAKE_COPYRIGHT) printf("%s %s", _VERSION, _COPYRIGHT...
gpl-2.0
PaulBernier/castl
lua/castl/modules/error_helper.lua
1
2754
--[[ Copyright (c) 2014, Paul Bernier CASTL 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 License, or (at your option) any later version. CASTL is dist...
lgpl-3.0
OliRM/ch2d
lua/ch2d/lib/sprite.lua
1
1330
local Sprite = {} Sprite.__index = Sprite function Sprite.create() local sprite = {} setmetatable(sprite, Sprite) sprite.id = ch2d.sprite.create() return sprite end function Sprite:remove() return ch2d.sprite.remove(self.id) end function Sprite:draw() return ch2d.window.draw(self.id) end ...
mit
sidsatx102/cardpeek
dot_cardpeek_dir/scripts/lib/strict.lua
17
1194
------------------------------------------------------------ -- NOTE: This file was taken from the LUA 5.1 distribution -- It is public domain ------------------------------------------------------------ -- -- strict.lua -- checks uses of undeclared global variables -- All global variables must be 'declared' thr...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Hall_of_the_Gods/npcs/Shimmering_Circle.lua
14
1814
----------------------------------- -- Area: Hall of the Gods -- NPC: Shimmering Circle -- Lifts players up to the sky! -- @pos 0 -20 147 251 ----------------------------------- package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); req...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c90960358.lua
2
3352
--トゥーン・ブラック・マジシャン・ガール function c90960358.initial_effect(c) c:EnableReviveLimit() --special summon local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_SPSUMMON_PROC) e2:SetProperty(EFFECT_FLAG_UNCOPYABLE) e2:SetRange(LOCATION_HAND) e2:SetCondition(c90960358.spcon) e2:SetOperation(c90...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c19019586.lua
6
1962
--ジェムエレファント function c19019586.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetDescription(aux.Stringid(19019586,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c19019586.thtg) e1:SetOperation(c19019586.thop) c:RegisterEffect(e1) ...
gpl-2.0
asmagill/hammerspoon-config
_scratch/tm.lua
1
9182
-- Time Machine widget -- -- Based HEAVILY on Übersicht Widget at https://github.com/ttscoff/ubersicht-widgets/tree/master/timemachine local webview = require "hs.webview" local timer = require "hs.timer" local inspect = require "hs.inspect" local frequency = 5 -- in seconds local command = "/usr/bin/tmutil statu...
mit
SalvationDevelopment/Salvation-Scripts-Production
c80637190.lua
6
1432
--スパイダー・スパイダー function c80637190.initial_effect(c) --spsummon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(80637190,0)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetCode(EVENT_BATTLE_DESTROYING) e2:Se...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c77414722.lua
6
1320
--マジック・ジャマー function c77414722.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c77414722.condition) e1:SetCost(c77414722.cost) e1:SetTarget(c77414722.target) e1:SetOperation...
gpl-2.0
ZACTELEGRAM1/Death-Robot-Anti-spamer
plugins/admin.lua
46
6101
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(receiver, '...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Apollyon/mobs/Ice_Elemental.lua
119
2740
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- ...
gpl-3.0
joev/SVUI-Temp
SVUI_!Core/libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua
30
7163
--[[----------------------------------------------------------------------------- EditBox Widget -------------------------------------------------------------------------------]] local Type, Version = "EditBox", 25 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidgetVersion(Type) or...
mit
dr01d3r/darkstar
scripts/zones/Wajaom_Woodlands/mobs/Zoraal_Ja_s_Pkuucha.lua
12
1662
----------------------------------- -- Area: Wajaom Woodlands -- Mob: Zoraal Ja's Pkuucha ----------------------------------- require("scripts/zones/Wajaom_Woodlands/MobIDs"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) mob:setLocalVar("P...
gpl-3.0
x-a-n-a-x/OpenRA
mods/cnc/maps/gdi02/gdi02.lua
8
3298
nodInBaseTeam = { RushBuggy, RushRifle1, RushRifle2, RushRifle3 } MobileConstructionVehicle = { "mcv" } EngineerReinforcements = { "e6", "e6", "e6" } VehicleReinforcements = { "jeep" } AttackerSquadSize = 3 ReinforceWithLandingCraft = function(units, transportStart, transportUnload, rallypoint) local transport = Act...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c39037517.lua
4
2578
--コアキメイル・ビートル function c39037517.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(c3903...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/truelove_chocolate.lua
12
1219
----------------------------------------- -- ID: 5231 -- Item: truelove_chocolate -- Food Effect: 4Hrs, All Races ----------------------------------------- -- MP 10 -- MP Recovered While Healing 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Castle_Zvahl_Keep/Zone.lua
13
3875
----------------------------------- -- -- Zone: Castle_Zvahl_Keep (162) -- ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep/TextIDs"); -----------------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Grauberg_[S]/npcs/qm1.lua
30
1695
----------------------------------- -- Area: Grauberg [S] -- NPC: ??? -- Quest - DNC AF1 ----------------------------------- package.loaded["scripts/zones/Grauberg_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/harvesting"); require("scripts/zones/Grauberg_[S]/TextIDs"); -----...
gpl-3.0
diegonehab/LuaSocket
test/smtptest.lua
44
5376
local sent = {} local from = "diego@localhost" local server = "localhost" local rcpt = "luasocket@localhost" local files = { "/var/spool/mail/luasocket", "/var/spool/mail/luasock1", "/var/spool/mail/luasock2", "/var/spool/mail/luasock3", } local t = socket.time() local err dofile("mbox.lua") local p...
mit
SalvationDevelopment/Salvation-Scripts-Production
c7817703.lua
5
2650
--D・パワーユニット function c7817703.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(c7817703.target) e1:SetOperation(c7817703.operation) c:RegisterEffect(e1) ...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/pork_cutlet.lua
12
1737
----------------------------------------- -- ID: 6394 -- Item: pork_cutlet -- Food Effect: 180Min, All Races ----------------------------------------- -- HP +40 -- STR +7 -- INT -7 -- Fire resistance +20 -- Attack +20% (cap 120) -- Ranged Attack +20% (cap 120) ----------------------------------------- require("scripts...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c20932152.lua
6
1410
--クイック・シンクロン function c20932152.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(c20932152.spcon) e1:SetOperation(c20932152.spop) c:RegisterEffect(e...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c85718645.lua
5
1761
--闇帝ディルグ function c85718645.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(85718645,0)) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:Set...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c33550694.lua
2
2903
--フュージョン・ゲート function c33550694.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --fusion local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(33550694,0)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FU...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c94212438.lua
2
3498
--ウィジャ盤 function c94212438.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetTarget(c94212438.target) c:RegisterEffect(e1) --place card local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stri...
gpl-2.0
x-a-n-a-x/OpenRA
mods/ra/maps/allies-05a/allies05a.lua
8
8576
if Map.Difficulty == "Easy" then TanyaType = "e7" ReinforceCash = 5000 HoldAITime = DateTime.Minutes(3) else TanyaType = "e7.noautotarget" ChangeStance = true ReinforceCash = 2500 HoldAITime = DateTime.Minutes(2) end SpyType = { "spy" } SpyEntryPath = { SpyEntry.Location, SpyLoadout.Location } InsertionTranspor...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Upper_Jeuno/npcs/Areebah.lua
17
1314
----------------------------------- -- Area: Upper Jeuno -- NPC: Areebah -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
joev/SVUI-Temp
SVUI_UnitFrames/libs/oUF/elements/power.lua
1
3865
local parent, ns = ... local oUF = ns.oUF oUF.colors.power = {} for power, color in next, PowerBarColor do if(type(power) == 'string') then oUF.colors.power[power] = {color.r, color.g, color.b} end end local GetDisplayPower = function(power, unit) if not unit then return; end local _, _, _, _, _, _, showOnRaid ...
mit
dr01d3r/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Nembet.lua
14
1024
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Nembet -- @zone 80 -- @pos 147 -3 110 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------- -- onTra...
gpl-3.0
shillcock/lmk
scripts/src/obj.lua
2
5343
require "lmkbuild" local append = lmkbuild.append_local local exec = lmkbuild.exec local file_newer = lmkbuild.file_newer local function gset (name, value) lmkbuild.set_global (name, value, true) end local lset = lmk.set_local local get_var = lmkbuild.get_var local ipairs = ipairs local is_valid = lmkbuild.is_valid...
mit
SalvationDevelopment/Salvation-Scripts-Production
c96148285.lua
9
1373
--誘発召喚 function c96148285.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(c96148285.condition) e1:SetOperation(c96148285.activate) c:RegisterEffect(e1) end function c96148285....
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c53315891.lua
2
4580
--合神竜ティマイオス function c53315891.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode3(c,80019195,85800949,84565800,true,true) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetProperty(EFFECT_FLAG_CANNOT_DISA...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c464362.lua
2
1849
--デストーイ・シザー・タイガー function c464362.initial_effect(c) c:SetUniqueOnField(1,0,464362) --fusion material c:EnableReviveLimit() aux.AddFusionProcCodeFunRep(c,30068120,aux.FilterBoolFunction(Card.IsFusionSetCard,0xa9),1,63,true,true) --destroy local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_DESTROY) e2:SetPro...
gpl-2.0
waruqi/xmake
core/src/demo/xmake.lua
1
1491
-- add target target("demo") -- disable this target if only build libaries if has_config("onlylib") then set_default(false) end -- add deps add_deps("xmake") -- make as a binary set_kind("binary") -- add defines add_defines("__tb_prefix__=\"xmake\"") -- add includes ...
apache-2.0
dr01d3r/darkstar
scripts/globals/items/steamed_catfish.lua
12
1795
----------------------------------------- -- ID: 4557 -- Item: steamed_catfish -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 30 -- Magic % 1 (cap 110) -- Dex 3 -- Intelligence 1 -- Mind -3 -- Earth Res 10 -- Ranged Accuracy +6% (cap 15) ----------------------------------------- ...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Xarcabard/mobs/Biast.lua
12
1296
----------------------------------- -- Area: Xarcabard -- NM: Biast -- ID: 17235988 ----------------------------------- require("scripts/globals/status"); ----------------------------------- ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) ...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c15978426.lua
5
1584
--EMセカンドンキー function c15978426.initial_effect(c) --tograve local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(15978426,0)) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_SEARCH+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_SUM...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Northern_San_dOria/npcs/Macuillie.lua
11
2571
----------------------------------- -- Area: Northern San d'Oria -- NPC: Macuillie -- Type: Guildworker's Union Representative -- @zone 231 -- @pos -191.738 11.001 138.656 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/globals/keyitems"); requ...
gpl-3.0
dr01d3r/darkstar
scripts/zones/La_Theine_Plateau/npcs/Faurbellant.lua
14
1777
----------------------------------- -- Area: Northern San d'Oria -- NPC: Faurbellant -- Type: Quest NPC -- Involved in Quest: Gates of Paradise -- @pos 484 24 -89 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Horlais_Peak/npcs/Hot_springs.lua
9
1978
----------------------------------- -- Area: Northern San d'Oria -- NPC: Hot Springs -- @zone 139 -- @pos 444 -37 -18 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"...
gpl-3.0
waruqi/xmake
xmake/core/tool/compiler.lua
1
10659
--!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
SalvationDevelopment/Salvation-Scripts-Production
c95362816.lua
9
1167
--E・HERO レディ・オブ・ファイア function c95362816.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(95362816,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_PHASE+PHASE_END) e1:SetRan...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c30435145.lua
5
1816
--古代の機械工場 function c30435145.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c30435145.target) e1:SetOperation(c30435145.operation) c:RegisterEffect(e1) end function c30435145.filter(c,g) return c:GetLevel()>4 and c:IsSetCar...
gpl-2.0
diogo24/gamecode4
Extra/UtilityDemo/utility.lua
44
7963
-- Utility.lua -- A simple utility game -- A "better" random seed. This was taken from http://lua-users.org/wiki/MathLibraryTutorial math.randomseed(tonumber(tostring(os.time()):reverse():sub(1,6))) ----------------------------------------------------------------------------------------------------------------...
lgpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c31247589.lua
2
1854
--剣闘獣ディカエリィ function c31247589.initial_effect(c) --double attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_EXTRA_ATTACK) e1:SetCondition(c31247589.dacon) e1:SetValue(1) c:RegisterEffect(e1) --special summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(3...
gpl-2.0
finnw/grodlob
winapi/debug.lua
1
1426
--core/debug: strict mode and some debug tools. entirely optional module. setfenv(1, require'winapi.namespace') require'glue' --disable stdout buffering so we can print-debug stuff io.stdout:setvbuf'no' --set strict mode for the whole winapi namespace local _G = _G local declared = {} function _M:__index(k) if decl...
mit
SalvationDevelopment/Salvation-Scripts-Production
c28355718.lua
2
2201
--D-HERO ダブルガイ function c28355718.initial_effect(c) --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --multiattack local e2=Effect.CreateEffect(c) e...
gpl-2.0
Herve-M/OpenRA
mods/ra/maps/soviet-soldier-volkov-n-chitzkoi/soviet-soldier-volkov-n-chitzkoi-AI.lua
7
3093
--[[ 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
ld-test/util
util/file.lua
3
2060
require 'os' require 'fs' require 'paths' -- Boolean predicate to determine if a path points to a valid file or directory. function is_file(path) return paths.filep(path) or paths.dirp(path) end -- Assert that a file exists. function assert_file(path, msg) if not is_file(path) then assert(false, msg)...
bsd-3-clause
dr01d3r/darkstar
scripts/zones/Castle_Oztroja/npcs/_479.lua
14
1722
----------------------------------- -- Area: Castle Oztroja -- NPC: _479 (Brass Door) -- Involved in Mission "Saintly Invitation" -- @pos -99 -59 84 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Port_Jeuno/npcs/Horst.lua
29
3441
----------------------------------- -- Area: Port Jeuno -- NPC: Horst -- Type: Abyssea Warp NPC -- @pos -54.379 0.001 -10.061 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); ------------...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/serving_of_mont_blanc.lua
12
1483
----------------------------------------- -- ID: 5557 -- Item: Serving of Mont Blanc -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +8 -- MP +10 -- Intelligence +1 -- HP Recoverd while healing 1 -- MP Recovered while healing 1 -------------------------------------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Port_Windurst/npcs/Honorio.lua
14
1406
----------------------------------- -- Area: Port Windurst -- NPC: Honorio -- @zone 240 -- @pos 218 -5 114 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requ...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/slice_of_giant_sheep_meat.lua
12
1358
----------------------------------------- -- ID: 4372 -- Item: slice_of_giant_sheep_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 2 -- Intelligence -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
Dauthdaert/Dauth-Lua
Lua-Examples/Example(LOVE Main)/e0101.lua
2
2266
-- Example: Mini Physics Callbacks -- Updated 0.8.0 by Bartoleo text = "No collision yet." function love.load() -- One meter is 32px in physics engine love.physics.setMeter( 32 ) -- Create a world with standard gravity world = love.physics.newWorld(0, 9.81*32, true) -- Create the ground body at (0, 0) sta...
gpl-2.0
RezaLunatic/Unknown
plugins/invite.lua
47
1193
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/dish_of_homemade_carbonara.lua
12
1870
----------------------------------------- -- ID: 5706 -- Item: dish_of_homemade_carbonara -- Food Effect: 30Min, All Races ----------------------------------------- -- CHR +1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) -------------------------------...
gpl-3.0
TheRealMaxion/Automato-ATITD
scripts/CarpBlades.lua
1
11390
-- Note that anvils need to have been rotated 180 degrees from the default rotation when built, so the sharp edge of the carp blade is to the left. dofile("screen_reader_common.inc"); dofile("ui_utils.inc"); dofile("common.inc"); foundBladePos = {}; offset = {}; function doit() promptOkay("Make sure you are in t...
mit
dr01d3r/darkstar
scripts/zones/Port_Windurst/npcs/HomePoint#1.lua
27
1275
----------------------------------- -- Area: Port Windurst -- NPC: HomePoint#1 -- @pos -68.216 -4.000 111.761 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Port_Windurst/TextIDs"); require("scripts/glob...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Windurst_Waters/npcs/Furakku-Norakku.lua
25
4882
----------------------------------- -- Area: Windurst Waters -- NPC: Furakku-Norakku -- Involved in Quests: Early Bird Catches the Bookworm, Chasing Tales, Class Reunion -- @pos -19 -5 101 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c92807548.lua
6
1057
--堕天使ユコバック function c92807548.initial_effect(c) --tograve local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(92807548,0)) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCountLimit(1,928075...
gpl-2.0
amirrobot1/amirrobot
plugins/anti_flood.lua
281
2422
local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 5 local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, function (data, success, result) if success ~= 1 then local text = 'I can\'t k...
gpl-2.0
koreader/koreader
spec/unit/luadata_spec.lua
4
5436
describe("luadata module", function() local Settings, lfs setup(function() require("commonrequire") lfs = require("libs/libkoreader-lfs") Settings = require("frontend/luadata"):open("this-is-not-a-valid-file") end) it("should handle undefined keys", function() Settings:d...
agpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c61344030.lua
5
2871
--輝光子パラディオス function c61344030.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_LIGHT),4,2) c:EnableReviveLimit() --negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(61344030,0)) e1:SetCategory(CATEGORY_DISABLE) e1:SetProperty(EFFECT_FLAG...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Southern_San_dOria/npcs/Endracion.lua
9
6381
----------------------------------- -- Area: Southern San d'Oria -- NPC: Endracion -- @pos -110 1 -34 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globa...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Pashhow_Marshlands_[S]/Zone.lua
12
2041
----------------------------------- -- -- Zone: Pashhow_Marshlands_[S] (90) -- ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Pashhow_Marshlands_[S]/TextIDs"); require("scripts/globals/settings"); requ...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Sacrificial_Chamber/npcs/_4j4.lua
14
1440
----------------------------------- -- Area: Sacrificial Chamber -- NPC: Mahogany Door -- @pos 300 30 -324 163 ------------------------------------- package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missio...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c14735698.lua
2
4524
--影霊衣の降魔鏡 function c14735698.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,14735698) e1:SetTarget(c14735698.target) e1:SetOperation(c14735698.activate) c:RegisterEffect(e1) -...
gpl-2.0
waruqi/xmake
xmake/languages/objc++/check_main.lua
3
1130
--!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
sempiternum/telegram-bot
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
retep998/Vana
scripts/npcs/goback_cbd.lua
2
2162
--[[ Copyright (C) 2008-2016 Vana Development Team 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Northern_San_dOria/npcs/Pinok-Morok.lua
53
1880
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pinok-Morok -- Type: Smithing Synthesis Image Support -- @pos -186.650 10.25 148.380 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/crepe_forestiere.lua
12
1467
----------------------------------------- -- ID: 5774 -- Item: crepe_forestiere -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind 2 -- MP % 10 (cap 35) -- Magic Accuracy +15 -- Magic Def. Bonus +6 ----------------------------------------- require("scripts/globals/status"); -----------...
gpl-3.0
felipebetancur/omim
3party/osrm/osrm-backend/profiles/bicycle.lua
59
12992
require("lib/access") require("lib/maxspeed") -- Begin of globals barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true } access_tag_whitelist ...
apache-2.0
SalvationDevelopment/Salvation-Scripts-Production
c54860010.lua
9
1914
--ワーム・プリンス function c54860010.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(54860010,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetTarget(c54860010.thtg) e1:SetOperati...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c31053337.lua
2
2424
--BF-激震のアブロオロス function c31053337.initial_effect(c) --special summon limit 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(aux.FALSE) c:RegisterEffect(e1) --to hand1 local e2=Effec...
gpl-2.0
ghoulsblade/vegaogre
lugre/lib/LuaJIT-1.1.5/dynasm/dynasm.lua
3
30171
------------------------------------------------------------------------------ -- DynASM. A dynamic assembler for code generation engines. -- Originally designed and implemented for LuaJIT. -- -- Copyright (C) 2005-2008 Mike Pall. All rights reserved. -- See below for full copyright notice. ----------------------------...
mit
dr01d3r/darkstar
scripts/zones/North_Gustaberg_[S]/Zone.lua
12
1674
----------------------------------- -- -- Zone: North_Gustaberg_[S] (88) -- ----------------------------------- package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/North_Gustaberg_[S]/TextIDs"); ------------...
gpl-3.0
gokmen/koding
go/src/vendor/github.com/caglar10ur/lxc/src/lxc/lxc-top.lua
62
7453
#!/usr/bin/env lua -- -- top(1) like monitor for lxc containers -- -- Copyright © 2012 Oracle. -- -- Authors: -- Dwight Engen <dwight.engen@oracle.com> -- -- This library is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License version 2, as -- published by the Fre...
agpl-3.0
dr01d3r/darkstar
scripts/globals/items/bowl_of_quadav_stew.lua
12
1385
----------------------------------------- -- ID: 4569 -- Item: Bowl of Quadav Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Agility -4 -- Vitality 2 -- Defense % 17 -- Defense Cap 60 ----------------------------------------- require("scripts/globals/status"); --------------------...
gpl-3.0
thegrb93/wire
lua/entities/gmod_wire_gyroscope.lua
7
2542
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Gyroscope" ENT.WireDebugName = "Gyroscope" function ENT:SetupDataTables() self:NetworkVar( "Bool", 0, "Out180" ) end if CLIENT then --handle overlay text client side instead (TAD2020) function ENT:Think() BaseClass.Think(self) i...
apache-2.0
dr01d3r/darkstar
scripts/globals/items/balik_sis.lua
12
1663
----------------------------------------- -- ID: 5600 -- Item: Balik Sis -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -2 -- Attack % 13 -- Attack Cap 65 -- Ranged ACC 1 -- Ranged ATT % 13 -- Ranged ATT Cap 65 ----------------------------------------- require("script...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c100000038.lua
2
1306
--オーロラ・ドロー function c100000038.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c100000038.ntcon) e1:SetTarget(c100000038.target) e1:SetOperation(c10...
gpl-2.0
Herve-M/OpenRA
mods/ra/maps/ant-01/ant-attack.lua
7
2347
--[[ 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/Cape_Teriggan/npcs/Cermet_Headstone.lua
14
4139
----------------------------------- -- Area: Cape Teriggan -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Wind Headstone) -- @pos -107 -8 450 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c34026662.lua
2
1271
--進化の奇跡 function c34026662.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c34026662.target) e1:SetOperation(c34026662.activate) c:RegisterEffect(e1) end function c34026662.filter(c) ...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c64801562.lua
7
2126
--明鏡止水の心 function c64801562.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(c64801562.target) e1:SetOperation(c64801562.operation) c:RegisterEffect(e1) ...
gpl-2.0
Ali-2h/linuxw
bot/creed.lua
2
9276
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 = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Windurst_Walls/npcs/Hiwon-Biwon.lua
17
3908
----------------------------------- -- Area: Windurst Walls -- NPC: Hiwon-Biwon -- Involved In Quest: Making Headlines, Curses, Foiled...Again!? -- Working 100% ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
SOCLE15/mMediaWiki
extensions/Scribunto/engines/LuaCommon/lualib/mw.lua
2
19649
mw = mw or {} local packageCache local packageModuleFunc local php local allowEnvFuncs = false local logBuffer = '' local currentFrame local loadedData = {} local executeFunctionDepth = 0 --- Put an isolation-friendly package module into the specified environment -- table. The package module will have an empty cache,...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c59907935.lua
6
1747
--サイバーデーモン function c59907935.initial_effect(c) --draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59907935,0)) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_PREDRAW) e1:SetCondition(c59907935.drcon) ...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/bowl_of_soy_ramen.lua
12
1807
----------------------------------------- -- ID: 6458 -- Item: bowl_of_soy_ramen -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +50 -- STR +5 -- VIT +5 -- AGI +3 -- Attack +10% (cap 170) -- Ranged Attack +10% (cap 170) -- Resist Slow +10 ----------------------------------------- requi...
gpl-3.0
kequanJiang/skynet_start
mjlib/base/hulib.lua
2
3064
package.path = "../../lualib/?.lua;"..package.path local utils = require "utils" local wave_table = require "auto_table" local wave_table_eye = require "auto_table_with_eye" local mjlib = require "mjlib" local M = {} function M.check_7dui(hand_cards, waves) if #waves > 0 then return false end for _,c in ipai...
mit
dr01d3r/darkstar
scripts/zones/RuAun_Gardens/npcs/HomePoint#2.lua
27
1265
----------------------------------- -- Area: RuAun_Gardens -- NPC: HomePoint#2 -- @pos -499 -42 167 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/globals/homepo...
gpl-3.0