repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
l33tRS/E2Power
lua/entities/gmod_wire_expression2/core/custom/health.lua
1
12164
__e2setcost(20) local fl = math.floor local cl = math.Clamp e2function void entity:setHealth(number Health) if !IsValid(this) then return end if tostring(Health) == "nan" then return end if !isOwner(self, this) then return end if this:Health()==0 then return end Health=cl(Health,0, 1000000000) this:SetH...
gpl-3.0
Zenny89/darkstar
scripts/globals/mobskills/Bai_Wing.lua
25
1095
--------------------------------------------- -- Bai Wing -- -- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Ouryu and Cuelebre while fl...
gpl-3.0
mercury233/ygopro-scripts
c66226132.lua
2
1839
--トラックブラック function c66226132.initial_effect(c) --link summon aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2,2) c:EnableReviveLimit() --Draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(66226132,0)) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_IGNITION) e...
gpl-2.0
Zenny89/darkstar
scripts/zones/Ordelles_Caves/npcs/qm4.lua
17
1419
----------------------------------- -- Area: Ordelles Caves -- NPC: ??? (qm4) -- Involved In Quest: Dark Puppet -- @pos -52 27 -85 193 ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); re...
gpl-3.0
mercury233/ygopro-scripts
c62070231.lua
2
1771
--No.94 極氷姫クリスタル・ゼロ function c62070231.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WATER),5,2) c:EnableReviveLimit() --atk down local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(62070231,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetProperty...
gpl-2.0
omid4631aghaz/xy
plugins/yid.lua
2
1135
do local function run(msg, matches) local bot_id = 0 local x = 192916039 local y = 180239388 local z = 179783031 local w = 158135400 if matches[1] == 'bye' and is_admin(msg) or msg.action.type == "chat_add_user" and msg.action.user.id == tonumber(bot_id) and not is_sudo(msg) then chat_del_user("chat#id"..ms...
gpl-2.0
focusworld/telemamal
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
mercury233/ygopro-scripts
c81825063.lua
2
2657
--氷結界の虎将 ウェイン function c81825063.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(81825063,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,81825063) e1:SetCondition(c81825063.spcon) e1:SetTarge...
gpl-2.0
ZeroK-RTS/SpringRTS-Tools
aoplate baker/plateplane.lua
1
3130
return { plateplane = { unitname = [[plateplane]], name = [[Airplane Plate]], description = [[Augments Production]], acceleration = 0, activateWhenBuilt = false, brakeRate = 0, buildCost...
gpl-2.0
mercury233/ygopro-scripts
c46173679.lua
1
2612
--終焉の焔 function c46173679.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:SetHintTiming(0,TIMING_END_PHASE) e1:SetCost(c46173679.cost) e1:SetTarget(c46173679.target) e1:SetOperation(c46173679.a...
gpl-2.0
honzahovorka/dotfiles
nvim/lua/settings/hop.lua
1
1434
require('hop').setup() local opts = { noremap = true, silent = true } local keymap = vim.api.nvim_set_keymap keymap('o', 'f', ':lua require("hop").hint_char1({ direction = require("hop.hint").HintDirection.AFTER_CURSOR, current_line_only = true })<CR>' , opts) keymap('o', 'F', ':lua require("hop").hint_char1({ ...
mit
ESMAILESMAIL/gladiator2
plugins/location.lua
93
1704
-- Implement a command !loc [area] which uses -- the static map API to get a location image -- Not sure if this is the proper way -- Intent: get_latlong is in time.lua, we need it here -- loadfile "time.lua" -- Globals -- If you have a google api key for the geocoding/timezone api do local api_key = nil local base_...
gpl-2.0
notcake/gcompute
lua/gcompute/ast/memberfunctioncall.lua
1
3438
local self = {} self.__Type = "MemberFunctionCall" GCompute.AST.MemberFunctionCall = GCompute.AST.MakeConstructor (self, GCompute.AST.Expression) function self:ctor () self.LeftExpression = nil self.Identifier = nil self.TypeArgumentList = nil self.ArgumentList = GCompute.AST.ArgumentList () self.F...
gpl-3.0
mercury233/ygopro-scripts
c59042331.lua
2
1378
--ガード・ヘッジ function c59042331.initial_effect(c) --atkdown local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59042331,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c59042331.atkcon) e1:SetCost(...
gpl-2.0
mercury233/ygopro-scripts
c57246528.lua
2
1966
--シンクロ・トランセンド function c57246528.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,57246528+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c57246528.t...
gpl-2.0
mercury233/ygopro-scripts
c83135907.lua
2
2666
--スクラップ・ゴブリン function c83135907.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetCode(EVENT_BE_BATTLE_TARGET) e1:SetOperation(c83135907.regop) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e...
gpl-2.0
SharpWoW/Command
InviteManager.lua
1
10441
--[[ * Copyright (c) 2011-2012 by Adam Hellberg. * * This file is part of Command. * * Command 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 * (at your option) any...
gpl-3.0
linushsao/marsu_game-linus-v0.2
mods/mars_pack/mars_mobs_redo/mobs_redo/api.lua
1
73200
-- Mobs Api (28th May 2017) mobs = {} mobs.mod = "redo" mobs.version = "20170528" -- Intllib local S if minetest.get_modpath("intllib") then S = intllib.Getter() else S = function(s, a, ...) a = {a, ...} return s:gsub("@(%d+)", function(n) return a[tonumber(n)] end) end end mobs.intllib = S -- Invisi...
gpl-3.0
mercury233/ygopro-scripts
c74009824.lua
4
2787
--エルシャドール・ウェンディゴ function c74009824.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcShaddoll(c,ATTRIBUTE_WIND) --cannot spsummon local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e2...
gpl-2.0
mercury233/ygopro-scripts
c71541986.lua
2
2544
--エクシーズ・ディメンション・スプラッシュ function c71541986.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(71541986,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCode(EVENT_REMOVE) e1:SetConditi...
gpl-2.0
mercury233/ygopro-scripts
c94079037.lua
2
1702
--マイン・モール function c94079037.initial_effect(c) --battle indes local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_INDESTRUCTABLE_COUNT) e1:SetCountLimit(1) e1:SetValue(c94079037.valcon) c:RegisterEffect(e1) --dra...
gpl-2.0
ESMAILESMAIL/gladiator2
plugins/boobs.lua
90
1731
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
notcake/gcompute
lua/gcompute/ui/codeeditor/selection/selectionsnapshot.lua
1
1317
local self = {} GCompute.CodeEditor.SelectionSnapshot = GCompute.MakeConstructor (self) function self:ctor () self.Selection = GCompute.CodeEditor.TextSelection () self.CaretPosition = GCompute.CodeEditor.LineColumnLocation () self.PreferredCaretPosition = GCompute.CodeEditor.LineColumnL...
gpl-3.0
mercury233/ygopro-scripts
c80887714.lua
4
1129
--ギャラクシー・ストーム function c80887714.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e1:SetTarget(c80887714.t...
gpl-2.0
Zenny89/darkstar
scripts/globals/mobskills/Cryo_Jet.lua
18
1243
--------------------------------------------------- -- Cryo_Jet -- Description: -- Type: Magical -- additional effect : Paralyze --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ----------------...
gpl-3.0
mercury233/ygopro-scripts
c7198399.lua
4
2770
--チョコ・マジシャン・ガール function c7198399.initial_effect(c) --draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(7198399,0)) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCost(c7198399.drcost) e1:SetTarget(c7198399.drtg) e1:SetOpe...
gpl-2.0
mercury233/ygopro-scripts
c42338879.lua
6
1291
--こけコッコ function c42338879.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(c42338879.spcon) e1:SetOperation(c42338879.spop) c:RegisterEffect(e1) -...
gpl-2.0
mercury233/ygopro-scripts
c85758066.lua
2
3759
--機械じかけのマジックミラー function c85758066.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCondition(c85758066.condition) e1:SetTarget(c85758066.target) e1:SetOperation(c85758066.activate) c:Re...
gpl-2.0
Zenny89/darkstar
scripts/zones/Nashmau/npcs/Awaheen.lua
17
1932
----------------------------------- -- Area: Nashmau -- NPC: Awaheen -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); ----------------------------------- -- onTrade A...
gpl-3.0
Zenny89/darkstar
scripts/zones/East_Ronfaure/npcs/Rayochindot.lua
38
1028
----------------------------------- -- Area: East Ronfaure -- NPC: Rayochindot -- Type: Gate Guard -- @pos 93.159 -62.999 272.601 101 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/zones/East_Ronfaure/TextIDs"); ...
gpl-3.0
mercury233/ygopro-scripts
c69680031.lua
2
3542
--教導の騎士フルルドリス function c69680031.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(69680031,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DISABLE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(LOCATION_HAND) e1:SetHintTiming(0,TIMINGS_CH...
gpl-2.0
qq779089973/my_openwrt_mod
luci/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua
53
2242
--[[ LuCI - Lua Configuration Interface Copyright 2011-2012 Jo-Philipp Wich <xm@subsignal.org> 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 ]]-- loc...
mit
noname007/koreader
frontend/ui/wikipedia.lua
3
2599
local JSON = require("json") local DEBUG = require("dbg") --[[ -- Query wikipedia using Wikimedia Web API. -- http://en.wikipedia.org/w/api.php?action=query&prop=extracts&format=json&exintro=&explaintext=&redirects=&titles=hello --]] local Wikipedia = { wiki_server = "https://%s.wikipedia.org", wiki_path = "/w/...
agpl-3.0
Zenny89/darkstar
scripts/zones/Windurst_Waters/npcs/HomePoint#1.lua
17
1266
----------------------------------- -- Area: Windurst Waters -- NPC: HomePoint#1 -- @pos -32.022 -5.000 131.741 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Waters/TextIDs"); requi...
gpl-3.0
mercury233/ygopro-scripts
c61156777.lua
4
2435
--BOXサー function c61156777.initial_effect(c) c:EnableCounterPermit(0x34) --Add counter local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(61156777,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetCondition(aux.bdogcon) e1:SetOperation(c61156777.ctop)...
gpl-2.0
mercury233/ygopro-scripts
c11264180.lua
2
2021
--TGX1-HL function c11264180.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetC...
gpl-2.0
Zenny89/darkstar
scripts/globals/items/cup_of_chocomilk.lua
35
1163
----------------------------------------- -- ID: 4498 -- Item: cup_of_chocomilk -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic Regen While Healing 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
Zenny89/darkstar
scripts/zones/Windurst_Woods/npcs/HomePoint#2.lua
17
1251
----------------------------------- -- Area: Windurst Woods -- NPC: HomePoint#2 -- @pos 107 -5 -56 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Woods/TextIDs"); require("scripts/glo...
gpl-3.0
mercury233/ygopro-scripts
c79613121.lua
3
2140
--マジシャン・オブ・ブラックカオス・MAX function c79613121.initial_effect(c) c:EnableReviveLimit() --act limit local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(79613121,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCountLimit(1,7...
gpl-2.0
guillaume144/jeu-rp
gamemode/modules/doorsystem/cl_doors.lua
3
4946
local meta = FindMetaTable("Entity") local black = Color(0, 0, 0, 255) local white = Color(255, 255, 255, 200) local red = Color(128, 30, 30, 255) function meta:drawOwnableInfo() if LocalPlayer():InVehicle() then return end -- Look, if you want to change the way door ownership is drawn, don't edit this file, ...
mit
mercury233/ygopro-scripts
c19355597.lua
2
2030
--ジェムナイトレディ・ブリリアント・ダイヤ function c19355597.initial_effect(c) c:SetSPSummonOnce(19355597) --fusion material c:EnableReviveLimit() aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x1047),3,false) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetPropert...
gpl-2.0
dailin/wesnoth
data/ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua
25
2603
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" return function(cfg) -- Calculate next waypoint and rating for all messengers -- Return next messenger to move and waypoint toward which it shoul...
gpl-2.0
Zenny89/darkstar
scripts/zones/Southern_San_dOria/npcs/Balasiel.lua
17
6074
----------------------------------- -- Area: Southern San d'Oria -- NPC: Balasiel -- Starts and Finishes: A Squire's Test, A Squire's Test II, A Knight's Test -- @zone 230 -- @pos -136 -11 64 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ---------------...
gpl-3.0
Zenny89/darkstar
scripts/globals/spells/ionohelix.lua
22
1721
-------------------------------------- -- Spell: Ionohelix -- Deals lightning damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/glob...
gpl-3.0
openwrt-stuff/openwrt-extra
luci/applications/luci-rtorrent/luasrc/model/cbi/rtorrent/torrent/peers.lua
2
4356
-- Copyright 2014-2016 Sandor Balazsi <sandor.balazsi@gmail.com> -- Licensed to the public under the Apache License 2.0. local rtorrent = require "rtorrent" local http = require "socket.http" local common = require "luci.model.cbi.rtorrent.common" local hash = arg[1] local details = rtorrent.batchcall({"name"}, hash,...
gpl-2.0
danielkitta/sigrok-util
debug/sysclk-lwla/sysclk-lwla-dissector.lua
1
10456
-- SysClk LWLA protocol dissector for Wireshark -- -- Copyright (c) 2014,2015 Daniel Elstner <daniel.kitta@gmail.com> -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of th...
gpl-3.0
mercury233/ygopro-scripts
c90812044.lua
2
2565
--連鎖召喚 function c90812044.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c90812044.target) e1:SetOperation(c90812044.activate) c:RegisterEffec...
gpl-2.0
linushsao/marsu_game-linus-v0.2
server_side/irc/callback.lua
2
1043
-- This file is licensed under the terms of the BSD 2-clause license. -- See LICENSE.txt for details. minetest.register_on_joinplayer(function(player) local name = player:get_player_name() if irc.connected and irc.config.send_join_part then irc:say("*** "..name.." joined the game") end end) minetest.register_o...
gpl-3.0
mercury233/ygopro-scripts
c74311226.lua
2
1472
--海皇の竜騎隊 function c74311226.initial_effect(c) --direct attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_DIRECT_ATTACK) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(LOCATION_MZONE,0) e1:SetTarget(c74311226.datg) c:RegisterEffect(e1) --search local e2=Effect.CreateEffect(c...
gpl-2.0
notcake/gcompute
lua/gcompute/sourcefile.lua
1
3788
local self = {} GCompute.SourceFile = GCompute.MakeConstructor (self) local nextAnonymousId = 0 --[[ SourceFile SourceFiles have a one to one relationship with CompilationUnits. A SourceFile will create a CompilationUnit if it doesn't already have one when GetCompilationUnit is called. ]] --[[ ...
gpl-3.0
mercury233/ygopro-scripts
c46435376.lua
2
1852
--インフェルニティ・セイジ function c46435376.initial_effect(c) --Discard local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(46435376,0)) e1:SetCategory(CATEGORY_HANDES) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,46435376) e1:SetTarget(c46435376.hdtg) e1:SetOperation(c46435...
gpl-2.0
Zenny89/darkstar
scripts/zones/Dangruf_Wadi/npcs/qm4.lua
17
1905
----------------------------------- -- NPC: ??? (QM4) -- Type: Grasswix dice roll game part 2 -- @zone: 191 -- Involved in quest "As Thick As Thieves" ----------------------------------- package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
mercury233/ygopro-scripts
c69436288.lua
2
3083
--デス・クラーケン function c69436288.initial_effect(c) aux.AddCodeList(c,22702055) --SpecialSummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(69436288,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRang...
gpl-2.0
mercury233/ygopro-scripts
c41767843.lua
4
1401
--幻奏の音女スコア function c41767843.initial_effect(c) --atkdef 0 local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(41767843,0)) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c41767843...
gpl-2.0
lex128/mtasa-blue
Server/mods/deathmatch/premake5.lua
2
1942
project "Deathmatch" language "C++" kind "SharedLib" targetname "deathmatch" targetdir(buildpath("server/mods/deathmatch")) pchheader "StdInc.h" pchsource "StdInc.cpp" filter "system:windows" includedirs { "../../../vendor/sparsehash/src/windows" } filter {} includedirs { "../../sdk", "../../../...
gpl-3.0
AntonioModer/fuccboiGDX
fuccboi/resources/particles/sperm/loveframes/objects/columnlist.lua
3
17109
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- columnlist object local newobject = loveframes.NewObject("columnlist", "loveframes_object_columnlist", true) --[[------------...
mit
mercury233/ygopro-scripts
c83027236.lua
2
1137
--ライト・オブ・デストラクション function c83027236.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --discard deck local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(83027236,0)) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)...
gpl-2.0
mercury233/ygopro-scripts
c65626958.lua
2
2433
--極星獣グリンブルスティ function c65626958.initial_effect(c) --substitute local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(61777313) c:RegisterEffect(e1) --spsummon local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_SPECIAL_S...
gpl-2.0
cbeck88/cegui-mirror
cegui/src/ScriptModules/Lua/support/tolua++bin/lua/define.lua
14
1749
-- tolua: define class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id$ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, support, updates, -- enhancements, o...
mit
mercury233/ygopro-scripts
c47349310.lua
4
1927
--スカイオニヒトクイエイ function c47349310.initial_effect(c) --reg local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_DAMAGE_STEP_END) e1:SetOperation(c47349310.regop) c:RegisterEffect(e1) --pierce local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e2:SetC...
gpl-2.0
mercury233/ygopro-scripts
c42006475.lua
3
2965
--守護神官マナ function c42006475.initial_effect(c) aux.AddCodeList(c,38033121) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(42006475,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_CHAINING) e1:SetRange(LOCATION_HAND+LOCATION_GRAVE) e1:...
gpl-2.0
Zenny89/darkstar
scripts/zones/Leafallia/npcs/HomePoint#1.lua
17
1169
----------------------------------- -- Area: Leafallia -- NPC: HomePoint#1 -- @pos ----------------------------------- package.loaded["scripts/zones/Leafallia/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Leafallia/TextIDs"); require("scripts/globals/homepoint"); --------------------...
gpl-3.0
mercury233/ygopro-scripts
c81192859.lua
2
2387
--Ga-P.U.N.K.ワイルド・ピッキング function c81192859.initial_effect(c) --ACT local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --destroy local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(81192859,0)) e2:SetCategory(CATEGORY_DESTROY) e2:SetTyp...
gpl-2.0
mercury233/ygopro-scripts
c69724380.lua
9
1033
--魔の取引 function c69724380.initial_effect(c) --handes local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_HANDES) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c69724380.condition) e1:SetCost(c69724380.cost) e1:SetTarget(c69724380.target) e1:SetOperation(c69724380.activate) c:...
gpl-2.0
mercury233/ygopro-scripts
c89312388.lua
2
2158
--E・HERO プリズマー function c89312388.initial_effect(c) --cos local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(89312388,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetCost(c89312388.coscost) e1:SetOperation(c89312388.cosoperation) c:RegisterEffect(e1) end f...
gpl-2.0
Zenny89/darkstar
scripts/zones/West_Ronfaure/npcs/Palcomondau.lua
35
12378
----------------------------------- -- Area: West Ronfaure -- NPC: Palcomondau -- Type: Patrol -- @pos -349.796 -45.345 344.733 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/pathfind"); ---------------...
gpl-3.0
Zenny89/darkstar
scripts/globals/mobskills/Light_Blade.lua
21
1350
--------------------------------------------- -- Light Blade -- Description: Deals very high physical damage to a single player. -- Type: Ranged -- Damage decreases the farther away the target is from him. --------------------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
Zenny89/darkstar
scripts/zones/Gusgen_Mines/npcs/_5gd.lua
34
1341
----------------------------------- -- Area: Gusgen Mines -- NPC: _5gd (Lever F) -- @pos 44 -20.56 143.802 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); -----------------...
gpl-3.0
mercury233/ygopro-scripts
c31629407.lua
2
1772
--魔弾の射手 スター function c31629407.initial_effect(c) --activate from hand local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_QP_ACT_IN_NTPHAND) e1:SetRange(LOCATION_MZONE) e1:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x108)) e1:SetTargetRange(LOCATION_HAND,0) c:RegisterEffect(e1) ...
gpl-2.0
qq779089973/my_openwrt_mod
luci/libs/core/luasrc/ltn12.lua
83
11303
--[[ LuaSocket 2.0.2 license Copyright � 2004-2007 Diego Nehab Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
mit
mercury233/ygopro-scripts
c90590303.lua
2
2329
--No.41 泥睡魔獣バグースカ function c90590303.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --maintain local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EVENT_PHASE+PHASE_...
gpl-2.0
rouing/FHLG-BW
entities/entities/item_antidote/init.lua
1
1025
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include('shared.lua') function ENT:SpawnFunction( ply, tr ) if ( !tr.Hit ) then return end local SpawnPos = tr.HitPos + tr.HitNormal * 20 local ent = ents.Create( "item_antidote" ) ent:SetPos( SpawnPos ) ent:Spawn() ent:Activate() return ent end fu...
unlicense
ajayk/kong
kong/plugins/basic-auth/access.lua
2
4068
local cache = require "kong.tools.database_cache" local stringy = require "stringy" local responses = require "kong.tools.responses" local constants = require "kong.constants" local crypto = require "kong.plugins.basic-auth.crypto" local AUTHORIZATION = "authorization" local PROXY_AUTHORIZATION = "proxy-authorization"...
apache-2.0
Disslove77777/mmm
bot/utils.lua
646
23489
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
mercury233/ygopro-scripts
c21293424.lua
2
2934
--空母軍貫-しらうお型特務艦 function c21293424.initial_effect(c) aux.AddCodeList(c,24639891,78362751) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --apply the effect local e0=Effect.CreateEffect(c) e0:SetType(EFFECT_TYPE_SINGLE) e0:SetCode(EFFECT_MATERIAL_CHECK) e0:SetValue(c21293424.valcheck) c:Regi...
gpl-2.0
mercury233/ygopro-scripts
c67926903.lua
2
2919
--CX 冀望皇バリアン function c67926903.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,7,3,c67926903.ovfilter,aux.Stringid(67926903,0),99) c:EnableReviveLimit() --atk local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:Se...
gpl-2.0
mercury233/ygopro-scripts
c44341034.lua
2
1656
--ダーク・バグ function c44341034.initial_effect(c) --summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(44341034,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetT...
gpl-2.0
fusijie/cocos2d-x-samples
samples/KillBug/src/cocos/cocos2d/DrawPrimitives.lua
98
12024
local dp_initialized = false local dp_shader = nil local dp_colorLocation = -1 local dp_color = { 1.0, 1.0, 1.0, 1.0 } local dp_pointSizeLocation = -1 local dp_pointSize = 1.0 local SHADER_NAME_POSITION_U_COLOR = "ShaderPosition_uColor" local targetPlatform = cc.Application:getInstance():getTargetPlatform() lo...
mit
mercury233/ygopro-scripts
c21351206.lua
2
2846
--焔聖騎士-オジエ function c21351206.initial_effect(c) --tograve local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21351206,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,213512...
gpl-2.0
AlmightyLaxz/gmRPG
entities/weapons/weapon_gmrpg_pot/shared.lua
1
1674
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) SWEP.HoldType = "melee" end SWEP.ViewModel = "models/weapons/c_crowbar.mdl" SWEP.WorldModel = "models/props_interiors/pot02a.mdl" SWEP.VElements = { ["frypan"] = { type = "Model", model = "models/props_interiors/pot02a.mdl", bone = "ValveBiped.Bip01_R_Hand"...
gpl-3.0
Zenny89/darkstar
scripts/globals/items/watermelon.lua
35
1197
----------------------------------------- -- ID: 4491 -- Item: watermelon -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -6 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
dyhpoon/Attack-on-Pirates
AttackOnPirates/home-scene.lua
1
20709
local storyboard = require( "storyboard" ) local scene = storyboard.newScene() local energy = require 'gameLogic.energy' local gameCoins = require 'gameLogic.gameCoins' local gameDiamonds = require 'gameLogic.gameDiamonds' local gameKeys = require 'gameLogic.gameKeys' local experience = require 'gameLogic.experience' ...
apache-2.0
mercury233/ygopro-scripts
c73891874.lua
3
1496
--ホワイト・ホーンズ・ドラゴン function c73891874.initial_effect(c) --atk local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(73891874,0)) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCCESS) ...
gpl-2.0
mercury233/ygopro-scripts
c37491810.lua
2
4033
--パラメタルフォーゼ・アゾートレス function c37491810.initial_effect(c) --fusion material c:EnableReviveLimit() aux.EnablePendulumAttribute(c,false) aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0xe1),aux.FilterBoolFunction(Card.IsFusionType,TYPE_FUSION),true) --Pendulum destroy local e1=Effect.CreateEffect...
gpl-2.0
Zenny89/darkstar
scripts/zones/Mhaura/npcs/Felisa.lua
17
1188
----------------------------------- -- Area: Mhaura -- NPC: Felisa -- Admits players to the dock in Mhaura. ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); --------------------------------...
gpl-3.0
Zenny89/darkstar
scripts/globals/items/bowl_of_seafood_stew.lua
35
1467
----------------------------------------- -- ID: 4561 -- Item: Bowl of Seafood Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 20 -- Dexterity 1 -- Vitality 5 -- Defense % 25 -- Defense Cap 120 ----------------------------------------- require("scripts/globals/sta...
gpl-3.0
mercury233/ygopro-scripts
c36405256.lua
2
2430
--時花の魔女-フルール・ド・ソルシエール function c36405256.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(36405256,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCC...
gpl-2.0
jefferyto/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/ltq-dsl.lua
26
3991
local ubus = require "ubus" local function scrape() local dsl_line_attenuation = metric("dsl_line_attenuation_db", "gauge") local dsl_signal_attenuation = metric("dsl_signal_attenuation_db", "gauge") local dsl_snr = metric("dsl_signal_to_noise_margin_db", "gauge") local dsl_aggregated_transmit_power = metric("...
gpl-2.0
mercury233/ygopro-scripts
c66309175.lua
2
3211
--捕食植物アンブロメリドゥス local s,id,o=GetID() function c66309175.initial_effect(c) --Fusion Material c:EnableReviveLimit() aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x10f3),2,true) --To Hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(66309175,0)) e1:SetCategory(CATEGORY_SEA...
gpl-2.0
mercury233/ygopro-scripts
c23147658.lua
2
2093
--風化戦士 function c23147658.initial_effect(c) aux.AddCodeList(c,59419719) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(23147658,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCode(EVENT_BAT...
gpl-2.0
mercury233/ygopro-scripts
c30353551.lua
2
2661
--人海戦術 function c30353551.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_END_PHASE) c:RegisterEffect(e1) --special summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(30353551,0)) e2:SetCatego...
gpl-2.0
Zenny89/darkstar
scripts/zones/Southern_San_dOria/npcs/Hinaree.lua
19
1923
----------------------------------- -- Area: Southern San d'Oria@ -- NPC: Hinaree -- Type: Standard NPC -- @zone: 230 -- @pos -301.535 -10.199 97.698 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;...
gpl-3.0
goblinor/BomBus
bot/bot.lua
2
17199
tdcli = dofile('./tg/tdcli.lua') serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() our_id = 328448596 -- Put Here Your Bot ID --ایدی رباتتونو اینجا بزارید URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" json = (load...
gpl-2.0
mercury233/ygopro-scripts
c27551.lua
2
2751
--リミット・リバース function c27551.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:SetHintTiming(0,TIMING_END_PHASE+TIMING_ATTACK) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c27551.target) e...
gpl-2.0
Zenny89/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Areuhat1.lua
36
1069
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Areuhat -- @zone 80 -- @pos 21 0 22 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------...
gpl-3.0
mercury233/ygopro-scripts
c43140791.lua
2
2363
--ワーム・ベイト function c43140791.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:SetCondition(c43140791.condition) e1:SetCost(c43140791.cost) e1:SetTarget(c43140791.target) e1:SetOperation(c4314079...
gpl-2.0
mercury233/ygopro-scripts
c67113830.lua
2
1126
--墓地墓地の恨み function c67113830.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetCondition(c67113830.condition) e1:SetTarget(c67113830.target) e1:SetOperatio...
gpl-2.0
Zenny89/darkstar
scripts/zones/Waughroon_Shrine/bcnms/prehistoric_pigeons.lua
17
1788
----------------------------------- -- Area: Waughroon_Shrine -- Name: Prehistoric Pigeons -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scr...
gpl-3.0
Zenny89/darkstar
scripts/zones/AlTaieu/mobs/Jailer_of_Love.lua
23
5580
----------------------------------- -- Area: Al'Taieu -- NM: Jailer of Love ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------...
gpl-3.0
kui-jia/svb
main.lua
1
6328
--[[ The entry code, change parameter settings in 'optsArgParse.lua' Kui Jia, Dacheng Tao, Shenghua Gao, and Xiangmin Xu, "Improving training of deep neural networks via Singular Value Bounding", CVPR 2017. http://www.aperture-lab.net/research/svb This code is based on the fb.resnet.torch package (https://github.co...
bsd-3-clause