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
vogonistic/ProjectPorcupine
Assets/StreamingAssets/Overlay/overlay_functions.lua
4
1849
-- Example of overlay function -- Input: tile, the current tile for which the -- overlay wants to display the data -- Input: world, world class -- Return: an integer (by default should be scaled between 0 and 255) function oxygenValueAt ( tile ) if tile == nil then return 0 end room = tile.room if room == n...
gpl-3.0
1yvT0s/luvit
examples/linux-joystick.lua
13
1435
local fs = require('fs') local Emitter = require('core').Emitter local Buffer = require('buffer').Buffer -- https://www.kernel.org/doc/Documentation/input/joystick-api.txt local function parse(buffer) local event = { time = buffer:readUInt32LE(1), number = buffer:readUInt8(8), value = buffer:readUInt1...
apache-2.0
dani-sj/danievil
plugins/filter.lua
18
4274
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 cre...
gpl-2.0
Zero-K-Experiments/Zero-K-Experiments
LuaRules/Gadgets/unit_is_on_fire.lua
4
5733
-- $Id: unit_is_on_fire.lua 3309 2008-11-28 04:25:20Z google frog $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------...
gpl-2.0
Scavenge/darkstar
scripts/globals/weaponskills/vidohunir.lua
19
2111
----------------------------------- -- Vidohunir -- Staff weapon skill -- Skill Level: N/A -- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP. -- Reduces enemy's magic defense by 10%. -- Available only after completing the Unlocking a Myth (Black Mage) quest...
gpl-3.0
Scavenge/darkstar
scripts/globals/effects/teleport.lua
33
2870
----------------------------------- -- -- EFFECT_TELEPORT -- ----------------------------------- require("scripts/globals/status"); require("scripts/globals/teleports"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) end; ---------...
gpl-3.0
Scavenge/darkstar
scripts/zones/Valkurm_Dunes/npcs/Prunilla_RK.lua
14
3332
----------------------------------- -- Area: Valkurm Dunes -- NPC: Prunilla, R.K. -- Type: Border Conquest Guards -- @pos 908.245 -1.171 -411.504 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest")...
gpl-3.0
tarikgwa/nfd
lua/libs/texttospeech.lua
1
5009
-- -- Newfies-Dialer License -- http://www.newfies-dialer.org -- -- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this file, -- You can obtain one at http://mozilla.org/MPL/2.0/. -- -- Copyright (C) 2011-2014 Star2Billing S.L. -- --...
mpl-2.0
Brenin/PJ-3100
Working Launchers/Games/Stepmania/StepMania 5/Themes/_fallback/Scripts/02 ThemePrefs.lua
1
4740
--[[ ThemePrefs: handles the underlying structure for ThemePrefs, so any themes built off of this can simply declare their prefs and default values, and access them through this system. v0.7.2: Jan. 10, 2012. Added ThemePrefs.ForceSave function [freem] v0.7.1: Dec. 28, 2010. Added language support. v0.7.0: Dec. 15, 20...
mit
Scavenge/darkstar
scripts/zones/Ghelsba_Outpost/Zone.lua
32
1572
----------------------------------- -- -- Zone: Ghelsba_Outpost (140) -- ----------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Ghelsba_Outpost/TextIDs"); -----------------------...
gpl-3.0
MalRD/darkstar
scripts/zones/Bastok_Mines/npcs/Rashid.lua
9
3556
----------------------------------- -- Area: Bastok Mines -- NPC: Rashid -- Type: Mission Giver -- !pos -8.444 -2 -123.575 234 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/zones/Bastok_Mine...
gpl-3.0
Lsty/ygopro-scripts
c84814897.lua
3
4316
--騎竜 function c84814897.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(84814897,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c84814897.eqtg) e1:SetOperation(c8481489...
gpl-2.0
MalRD/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/_4w3.lua
9
2365
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Mythril Beastcoin Door -- !pos 40 8.6 20.012 176 ----------------------------------- local ID = require("scripts/zones/Sea_Serpent_Grotto/IDs") require("scripts/globals/npc_util") ----------------------------------- function onTrade(player, npc, ...
gpl-3.0
Lsty/ygopro-scripts
c93983867.lua
3
2788
--トリック・ボックス function c93983867.initial_effect(c) Duel.EnableGlobalFlag(GLOBALFLAG_DELAYED_QUICKEFFECT) --activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_TO_GRAVE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG...
gpl-2.0
MalRD/darkstar
scripts/zones/West_Sarutabaruta/npcs/Twinkle_Tree.lua
9
1475
----------------------------------- -- Area: West Sarutabaruta -- NPC: Twinkle Tree -- Involved in Quest: To Catch a Falling Star -- Note: EventID for Twinkle Tree is unknown. Quest funtions but the full event is not played. -- !pos 156.003 -40.753 333.742 115 ----------------------------------- local ID = require("s...
gpl-3.0
maxrio/luci981213
libs/luci-lib-nixio/docsrc/CHANGELOG.lua
68
1043
--- Changes and improvements. module "nixio.CHANGELOG" --- Service Release. -- <ul> -- <li>Added getifaddrs() function.</li> -- <li>Added getsockopt(), setsockopt(), getsockname() and getpeername() -- directly to TLS-socket objects unifying the socket interface.</li> -- <li>Added support for CyaSSL as cryptographical ...
apache-2.0
Lsty/ygopro-scripts
c55488859.lua
7
1365
--エヴォルド・ゲフィロス function c55488859.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(55488859,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) ...
gpl-2.0
zhaozg/lit
deps/readline.lua
4
14481
--[[ Copyright 2014-2015 The Luvit Authors. All Rights Reserved. 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 o...
apache-2.0
MalRD/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Wind.lua
9
2178
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Wind -- Involved in Zilart Mission 7 -- !pos 199 -2 36 168 ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/z...
gpl-3.0
thebracket/bgame
world_defs/buildings_clothier.lua
1
6714
-- Clothesmaking facilities ------------------------------------------------------------------------------------------------------------------------ -- Carpentry workshops are where woodwork is performed. ------------------------------------------------------------------------------------------------------------------...
gpl-3.0
T-L-N/Dev_TLN
plugins/@llN00Nll.lua
1
1102
--[[ _____ _ _ _ |_ _| | | | \ | | | | | | | \| | | | | |___ | |\ | |_| |_____| |_| \_| Dev @Aaa1R (علي_دراكون) Dev @llN00Nll (نظوري_الرئاسه) Dev @liknil (كرار_ابن_الرئاسه) --]] do local function TLN(msg, matches) local sudo = 290544647 local r = get_recei...
gpl-2.0
Lsty/ygopro-scripts
c58807980.lua
7
2272
--モノケロース function c58807980.initial_effect(c) c:EnableReviveLimit() --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(c58807980.hspcon) e1:SetOperation(c58807980.hspop...
gpl-2.0
ThingMesh/openwrt-luci
libs/nixio/axTLS/samples/lua/axssl.lua
176
19286
#!/usr/local/bin/lua -- -- Copyright (c) 2007, Cameron Rich -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -...
apache-2.0
T-L-N/Dev_TLN
plugins/ar-boomzain.lua
1
1964
--[[ _____ _ _ _ |_ _| | | | \ | | | | | | | \| | | | | |___ | |\ | |_| |_____| |_| \_| Dev @Aaa1R (علي_دراكون) Dev @llN00Nll (نظوري_الرئاسه) Dev @liknil (كرار_ابن_الرئاسه) Dev @x_I_10_I_x (انور_فايدر) —]] --]] -- only enable one of them local Kick = true; loca...
gpl-2.0
Lsty/ygopro-scripts
c16114248.lua
3
1239
--ペア・サイクロイド function c16114248.initial_effect(c) c:EnableReviveLimit() --fusion material local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_FUSION_MATERIAL) e1:SetCondition(c16114248.fscondition) e1:SetOperation(c161...
gpl-2.0
Lsty/ygopro-scripts
c45620686.lua
5
1341
--騒々虫 function c45620686.initial_effect(c) --lvup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(45620686,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c45620686.lvcost) e1:SetTarget(c45620686.lvtg) e1:SetOperation(c45620686.l...
gpl-2.0
MalRD/darkstar
scripts/globals/weaponskills/resolution.lua
10
1860
----------------------------------- -- Resolution -- Great Sword weapon skill -- Skill Level: 357 -- Delivers a fivefold attack. Damage varies with TP. -- In order to obtain Resolution, the quest Martial Mastery must be completed. -- This Weapon Skill's first hit params.ftp is duplicated for all additional hits. -- Res...
gpl-3.0
Lsty/ygopro-scripts
c55465441.lua
3
1804
--ギブ&テイク function c55465441.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(c55465441.target) e1:SetOperation(c55465441.activate) c:RegisterEff...
gpl-2.0
Lsty/ygopro-scripts
c96216229.lua
3
1137
--剣闘獣の戦車 function c96216229.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c96216229.condition) e1:SetTarget(c...
gpl-2.0
Lsty/ygopro-scripts
c18446701.lua
5
1780
--ガガガシールド function c18446701.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(c18446701.target) e1:SetOperation(c18446701.operation) c:RegisterEffect(e1)...
gpl-2.0
Lsty/ygopro-scripts
c83370323.lua
5
1454
--トラパート function c83370323.initial_effect(c) -- local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BE_MATERIAL) e1:SetCondition(c83370323.con) e1:SetOperation(c83370323.op) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e...
gpl-2.0
Lsty/ygopro-scripts
c36757171.lua
3
2004
--ヴェルズ・バハムート function c36757171.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0xa),4,2) c:EnableReviveLimit() --attack up local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL+CATEGORY_HANDES) e1:SetDescription(aux.Stringid(36757171,0)) e1:SetType(EFFECT_TY...
gpl-2.0
Lsty/ygopro-scripts
c21223277.lua
3
3837
--聖騎士王アルトリウス function c21223277.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x107a),4,2) c:EnableReviveLimit() --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21223277,0)) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TY...
gpl-2.0
Lsty/ygopro-scripts
c24103628.lua
3
1333
--幻影の魔術士 function c24103628.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(24103628,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c24103628.condition) e1:SetTa...
gpl-2.0
Lsty/ygopro-scripts
c72575145.lua
6
1475
--降格処分 function c72575145.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(c72575145.target) e1:SetOperation(c72575145.operation) c:RegisterEffect(e1) -...
gpl-2.0
nmabhi/Webface
training/OpenFaceOptim.lua
8
5778
-- 2015-08-09: Originally from https://github.com/facebook/fbnn/blob/master/fbnn/Optim.lua. -- 2015-08-09: [Brandon Amos] Initial optimizeTriplet implementation. -- 2016-01-04: [Bartosz Ludwiczuk] Substantial improvements to optimizeTriplet at -- https://github.com/melgor/Triplet-Learning local pl = requir...
apache-2.0
cshore-firmware/openwrt-luci
applications/luci-app-firewall/luasrc/model/cbi/firewall/zones.lua
12
2024
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local ds = require "luci.dispatcher" local fw = require "luci.model.firewall" local m, s, o, p, i, v m = Map("firewall", translate("Firewall - Zone Settings"), translate("The firewall creates zones over your...
apache-2.0
Lsty/ygopro-scripts
c80441106.lua
7
1367
--ケルドウ function c80441106.initial_effect(c) --todeck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(80441106,0)) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c804411...
gpl-2.0
maxrio/luci981213
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/network.lua
58
6060
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local wa = require "luci.tools.webadmin" local sys = require "luci.sys" local fs = require "nixio.fs" local has_pptp = fs.access("/usr/sbin/pptp") local ha...
apache-2.0
Lsty/ygopro-scripts
c73544866.lua
5
2282
--ガーディアン・バオウ function c73544866.initial_effect(c) --sum limit local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_SUMMON) e1:SetCondition(c73544866.sumlimit) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode...
gpl-2.0
MalRD/darkstar
scripts/zones/Cloister_of_Flames/mobs/Ifrit_Prime.lua
8
1457
----------------------------------- -- Area: Cloister of Flames -- Mob: Ifrit Prime -- Involved in Quest: Trial by Fire, Trial Size Trial by Fire -- Involved in Mission: ASA-4 Sugar Coated Directive ----------------------------------- require("scripts/globals/settings") require("scripts/globals/keyitems") require("scr...
gpl-3.0
Lsty/ygopro-scripts
c51196805.lua
3
2172
--ゴーストリック・スケルトン function c51196805.initial_effect(c) --summon limit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_SUMMON) e1:SetCondition(c51196805.sumcon) c:RegisterEffect(e1) --turn set local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(51196805,0)) e2:S...
gpl-2.0
MalRD/darkstar
scripts/zones/Mhaura/npcs/Rycharde.lua
9
17548
----------------------------------- -- Area: Mhaura -- NPC: Rycharde -- Standard Info NPC -- Starts & Finishes non Repeatable Quest: Rycharde the Chef, -- WAY_OF_THE_COOK, UNENDING_CHASE -- his name is Valgeir (not completed correctly, ferry not implemented) -- the clue (100%) -- the basics (not compl...
gpl-3.0
Mike325/.vim
lua/plugins/snippets/go.lua
1
5360
local load_module = require('utils.helpers').load_module local ls = load_module 'luasnip' if not ls then return false end local s = ls.snippet local sn = ls.snippet_node local t = ls.text_node -- local isn = ls.indent_snippet_node local i = ls.insert_node -- local f = ls.function_node local c = ls.choice_node loca...
mit
mikhail-angelov/vlc
share/lua/intf/dumpmeta.lua
3
2175
--[==========================================================================[ dumpmeta.lua: dump a file's meta data on stdout/stderr --[==========================================================================[ Copyright (C) 2010 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> Th...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/thunderstorm.lua
12
1304
-------------------------------------- -- Spell: Thunderstorm -- Changes the weather around target party member to "thundery." -------------------------------------- require("scripts/globals/magic") require("scripts/globals/status") -------------------------------------- function onMagicCastingCheck(caster, target...
gpl-3.0
zhaozg/lit
libs/core.lua
2
19882
--[[ Copyright 2014-2015 The Luvit Authors. All Rights Reserved. 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 o...
apache-2.0
Lsty/ygopro-scripts
c13210191.lua
3
1352
--嵐 function c13210191.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c13210191.target) e1:SetOperation(c13210191.activate) c:RegisterEffect(e1) end function c13210191.filter(c) return c:Is...
gpl-2.0
patixx/bostg
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
primeplus2017/COMING_SOON
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
agpl-3.0
Lsty/ygopro-scripts
c90957527.lua
3
4835
--剣闘獣ゲオルディアス function c90957527.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCodeFun(c,79580323,aux.FilterBoolFunction(Card.IsSetCard,0x19),1,true,true) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFE...
gpl-2.0
Lsty/ygopro-scripts
c9576193.lua
5
1985
--モンスター・スロット function c9576193.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c9576193.target) e1:SetOperation(c9...
gpl-2.0
maxrio/luci981213
libs/luci-lib-nixio/docsrc/nixio.TLSSocket.lua
173
2926
--- TLS Socket Object. -- TLS Sockets contain the underlying socket and context in the fields -- "socket" and "context". -- @cstyle instance module "nixio.TLSSocket" --- Initiate the TLS handshake as client with the server. -- @class function -- @name TLSSocket.connect -- @usage This function calls SSL_connect(). -- @...
apache-2.0
MalRD/darkstar
scripts/globals/items/bowl_of_brain_stew.lua
11
1170
----------------------------------------- -- ID: 4542 -- Item: Bowl of Brain Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Dexterity 5 -- Intelligence 5 -- Mind 5 -- Health Regen While Healing 3 -- Magic Regen While Healing 3 ----------------------------------------- require("scrip...
gpl-3.0
T-L-N/Dev_TLN
plugins/lock_user.lua
1
1237
--[[ _____ _ _ _ |_ _| | | | \ | | | | | | | \| | | | | |___ | |\ | |_| |_____| |_| \_| Dev @Aaa1R (علي_دراكون) Dev @llN00Nll (نظوري_الرئاسه) Dev @liknil (كرار_ابن_الرئاسه) Dev @x_I_10_I_x (انور_فايدر) —]] local function run(msg, matches) if is_momod(msg) th...
gpl-2.0
mrbangi/ww_WW_ww
bot/seedbot.lua
5
8740
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
elant/cardpeek
dot_cardpeek_dir/scripts/mifare reader.lua
16
14339
-- -- 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
shahabsaf1/My-system
plugins/steam.lua
645
2117
-- See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI do local BASE_URL = 'http://store.steampowered.com/api/appdetails/' local DESC_LENTH = 200 local function unescape(str) str = string.gsub( str, '&lt;', '<' ) str = string.gsub( str, '&gt;', '>' ) str = string.gsub( str, '&quot;', '"' ) str...
gpl-2.0
zhaozg/lit
libs/export.lua
9
1935
--[[ Copyright 2014-2015 The Luvit Authors. All Rights Reserved. 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 o...
apache-2.0
MalRD/darkstar
scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Layton.lua
12
1336
----------------------------------- -- Area: The Eldieme Necropolis (S) -- NPC: Layton -- Type: Standard Merchant NPC -- Note: Available during Campaign battles -- !pos 382.679 -39.999 3.541 175 ----------------------------------- local ID = require("scripts/zones/The_Eldieme_Necropolis_[S]/IDs") require("scripts/glob...
gpl-3.0
MalRD/darkstar
scripts/zones/Mamook/IDs.lua
8
1932
----------------------------------- -- Area: Mamook ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.MAMOOK] = { text = { NOTHING_HAPPENS = 119, -- Nothing happens... ITEM_CANNOT_BE_OBTAINED = 6...
gpl-3.0
Lsty/ygopro-scripts
c99365553.lua
3
3659
--ライトパルサー・ドラゴン function c99365553.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(c99365553.spcon1) e1:SetOperation(c99365553.spop1) c:RegisterEffe...
gpl-2.0
Lsty/ygopro-scripts
c22082163.lua
3
3035
--アマゾネスの意地 function c22082163.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:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c22082163.target) e1:SetOper...
gpl-2.0
MalRD/darkstar
scripts/globals/abilities/pets/chimera_ripper.lua
14
1225
--------------------------------------------------- -- Chimera Ripper --------------------------------------------------- require("scripts/globals/status") require("scripts/globals/settings") require("scripts/globals/automatonweaponskills") --------------------------------------------------- function onMobSkillCheck(...
gpl-3.0
robertbrook/Penlight
lua/pl/operator.lua
37
4310
--- Lua operators available as functions. -- -- (similar to the Python module of the same name) -- -- There is a module field `optable` which maps the operator strings -- onto these functions, e.g. `operator.optable['()']==operator.call` -- -- Operator strings like '>' and '{}' can be passed to most Penlight functions ...
mit
MalRD/darkstar
scripts/globals/items/plate_of_urchin_sushi_+1.lua
11
1360
----------------------------------------- -- ID: 5160 -- Item: plate_of_urchin_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 40 -- Strength 1 -- Vitality 6 -- Accuracy % 16 (cap 76) -- Ranged ACC % 16 (cap 76) ----------------------------------------- require("scripts/glo...
gpl-3.0
Lsty/ygopro-scripts
c92099232.lua
3
1104
--シェイプシスター function c92099232.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,92099232+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c92099232.target) e1:SetOperation(c92099232.activate) ...
gpl-2.0
MalRD/darkstar
scripts/globals/items/plate_of_mushroom_paella.lua
11
1154
----------------------------------------- -- ID: 5970 -- Item: Plate of Mushroom Paella -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- HP 40 -- Strength -1 -- Mind 5 -- Magic Accuracy 5 -- Undead Killer 5 ----------------------------------------- require("scripts/globals/status") require(...
gpl-3.0
ara8586/9900
libs/XMLElement.lua
569
4025
-- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence. -- updated for module-free world of lua 5.3 on April 2 2015 -- Not documented at all, but not interesting enough to warrant documentation anyway. local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ...
agpl-3.0
moody2020/TH3_BOSS
plugins/tagall.lua
10
2002
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ تاك للكل ...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/bluemagic/spinal_cleave.lua
8
1596
----------------------------------------- -- Spell: Spinal Cleave -- Accuracy varies with TP -- Spell cost: 61 MP -- Monster Type: Undead -- Spell Type: Physical (Slashing) -- Blue Magic Points: 4 -- Stat Bonus: VIT+2, INT+1, MND+1 -- Level: 63 -- Casting Time: 0.5 seconds -- Recast Time: 28.5 seconds -- Skillchain Ele...
gpl-3.0
Lsty/ygopro-scripts
c28877602.lua
7
1188
--エヴォルド・オドケリス function c28877602.initial_effect(c) --summon success local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(28877602,0)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetCode(EVENT_SUMMON_SUCCESS) e2:SetTarget(c28877602.sumtg) e2:SetOperat...
gpl-2.0
Lsty/ygopro-scripts
c27491571.lua
3
2243
--ゴーストリックの魔女 function c27491571.initial_effect(c) --summon limit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_SUMMON) e1:SetCondition(c27491571.sumcon) c:RegisterEffect(e1) --turn set local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(27491571,0)) e2:SetC...
gpl-2.0
Lsty/ygopro-scripts
c63703130.lua
9
1245
--O-オーバーソウル function c63703130.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(c63703130.target) e1:SetOperation(c63703130.activate) c:Register...
gpl-2.0
Lsty/ygopro-scripts
c24362891.lua
9
1404
--突然進化 function c24362891.initial_effect(c) --Special Summon 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(c24362891.cost) e1:SetTarget(c24362891.target) e1:SetOperation(c2436...
gpl-2.0
Lsty/ygopro-scripts
c6103294.lua
9
1128
--オアシスの使者 function c6103294.initial_effect(c) --atk target local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_CANNOT_BE_BATTLE_TARGET) e1:SetCondition(c6103294.atkcon) e1:SetValue(aux.imval1) c:RegisterEffect(e1)...
gpl-2.0
Mkalo/forgottenserver
data/migrations/10.lua
58
2306
function onUpdateDatabase() print("> Updating database to version 11 (improved guild and players online structure)") db.query("CREATE TABLE IF NOT EXISTS `guild_membership` (`player_id` int(11) NOT NULL, `guild_id` int(11) NOT NULL, `rank_id` int(11) NOT NULL, `nick` varchar(15) NOT NULL DEFAULT '', PRIMARY KEY (`pla...
gpl-2.0
Lsty/ygopro-scripts
c12171659.lua
3
1445
--天空の使者 ゼラディアス function c12171659.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(12171659,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c12171659.cost) e1:SetTarget(c12171659.target) e1:SetOp...
gpl-2.0
lashtear/power-control
power-control.lua
1
3266
-- Basic control for BigReactors-Reactor -- BSD3 License -- Emily Backes <lucca@accela.net> -- Uses the first monitor it finds, if any -- May need 3x3 or larger for that -- No log output or printer usage yet -- Will work on adv comps but mouse event handling -- would need to be added below -- Suitable for use in /st...
bsd-3-clause
Lsty/ygopro-scripts
c27873305.lua
3
2841
--DDD怒濤壊薙王カエサル・ラグナロク function c27873305.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsSetCard,0x10af),2,true) --tohand local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGE...
gpl-2.0
MalRD/darkstar
scripts/zones/La_Theine_Plateau/npcs/Cermet_Headstone.lua
11
2611
----------------------------------- -- Area: La Theine Plateau -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Water Fragment) -- !pos -170 39 -504 102 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/titles"); require("scripts/globals/mission...
gpl-3.0
vadi2/Mudlet
src/mudlet-lua/lua/DB.lua
3
60164
---------------------------------------------------------------------------------- --- Mudlet DB ---------------------------------------------------------------------------------- -- TODO will be already loaded in LuaGlobal ----------------------------------------------------------------------------- -- General-purpo...
gpl-2.0
Frenzie/koreader
spec/unit/textboxwidget_spec.lua
9
1839
describe("TextBoxWidget module", function() local TextBoxWidget, Font setup(function() require("commonrequire") Font = require("ui/font") TextBoxWidget = require("ui/widget/textboxwidget") end) it("should select the correct word on HoldWord event", function() local tw = ...
agpl-3.0
ThingMesh/openwrt-luci
applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua
30
3470
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Copyright 2013 Manuel Munz <freifunk at somakoma dot de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with...
apache-2.0
Lsty/ygopro-scripts
c62180201.lua
3
1573
--邪神ドレッド・ルート function c62180201.initial_effect(c) --summon with 3 tribute local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_LIMIT_SUMMON_PROC) e1:SetCondition(c62180201.ttcon) e1:SetOperation(c62180201.ttop) e1:SetV...
gpl-2.0
kianooshnoori/teleexitbot
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
maxrio/luci981213
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/splash_leases.lua
68
1118
-- Copyright 2013 Freifunk Augsburg / Michael Wendland <michael@michiwend.com> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.splash_leases", package.seeall) function rrdargs( graph, plugin, plugin_instance, dtype ) ...
apache-2.0
Mike325/.vim
lua/plugins/diffview.lua
1
4699
local load_module = require('utils.helpers').load_module local diffview = load_module 'diffview' if diffview == nil then return false end local nvim = require 'neovim' -- local set_command = require'neovim.commands'.set_command local get_mapping = require('neovim.mappings').get_mapping local cb = require('diff...
mit
Lsty/ygopro-scripts
c34460239.lua
3
1658
--ジェネレーション・チェンジ function c34460239.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c34460239.target) e1:SetOperation(c3...
gpl-2.0
Lsty/ygopro-scripts
c23440231.lua
3
4830
--インフェルノイド・リリス function c23440231.initial_effect(c) c:EnableReviveLimit() --special summon 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) c:RegisterEffect(e1) --special summon local...
gpl-2.0
AL-JOKER/AL.JOKER
plugins/help3.lua
1
3435
do local function run(msg, matches) local reply_id = msg['id'] if is_momod(msg) and matches[1] == '3' then local ghost = [[ اوامر الاداره في المجموعه 👮🏻🎲 💠 ➖💠 ➖💠 ➖💠 ➖💠 ➖ 🔰منع —- لمنع كلمة معينه في المجموعه 🔞 🔰الغاء منع —- لالغاء منع الكلمة المعينه في المجموعه 🔞🍃 🔰تنظيف قائمه المنع —- ...
gpl-3.0
thebracket/bgame
world_defs/buildings_leather.lua
1
2523
-- Leatherworking ------------------------------------------------------------------------------------------------------------------------ -- Leatherworker shops are used to sew leather into useful shapes. -----------------------------------------------------------------------------------------------------------------...
gpl-3.0
MalRD/darkstar
scripts/globals/abyssea.lua
12
12545
----------------------------------- -- Abyssea functions, vars, tables -- DO NOT mess with the order -- or change things to "elseif"! ----------------------------------- require("scripts/globals/keyitems"); -- weaponskills for red weakness local red_weakness = { --light 37, 161, 149, 180, --dark 22, 1...
gpl-3.0
ThingMesh/openwrt-luci
applications/luci-asterisk/luasrc/asterisk.lua
80
18044
--[[ LuCI - Lua Configuration Interface Asterisk PBX interface library Copyright 2009 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/licen...
apache-2.0
Lsty/ygopro-scripts
c32787239.lua
3
1596
--EMラ・パンダ function c32787239.initial_effect(c) --pendulum summon aux.AddPendulumProcedure(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --scale change local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(32787239,0)) ...
gpl-2.0
ASDF482/TeleTak
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
mortezamosavy999/zetaindex
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
Death15/Test
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
hfjgjfg/PERSIANGUARD1010
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
Lsty/ygopro-scripts
c91662792.lua
9
1356
--ガスタ・イグル function c91662792.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(91662792,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c91662792.condition) e1:SetT...
gpl-2.0