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
Zenny89/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Chest.lua
19
3486
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Treasure Chest -- @zone 176 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requir...
gpl-3.0
Zenny89/darkstar
scripts/zones/Bastok_Mines/npcs/Azette.lua
28
2058
----------------------------------- -- Area: Bastok Mines -- NPC: Azette -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------...
gpl-3.0
mercury233/ygopro-scripts
c84749824.lua
6
2346
--神の警告 function c84749824.initial_effect(c) --Activate(summon) local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DISABLE_SUMMON+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SUMMON) e1:SetCondition(c84749824.condition1) e1:SetCost(c84749824.cost1) e1:SetTarget(c84749824.target1) e1:...
gpl-2.0
mercury233/ygopro-scripts
c70083592.lua
2
1621
--縫合蘇生 function c70083592.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:SetCountLimit(1,70083592+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c70083592.target) ...
gpl-2.0
Zenny89/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/Zone.lua
19
4371
----------------------------------- -- -- Zone: Grand_Palace_of_HuXzoi (34) -- ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Grand_Palace_of_HuXzoi/TextID...
gpl-3.0
mercury233/ygopro-scripts
c74439492.lua
4
1508
--スクラップ・ポリッシュ function c74439492.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_ATKCHANGE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c74439492.target) e1:SetOperation(c74439492.activat...
gpl-2.0
linushsao/marsu_game-linus-v0.2
mods/plantlife/farming/pumpkin.lua
1
4732
--[[ Big thanks to PainterlyPack.net for allowing me to use these textures ]] local S = farming.intllib -- pumpkin minetest.register_node("farming:pumpkin", { description = S("Pumpkin"), tiles = { "farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png" }, groups = { choppy = 1, ...
gpl-3.0
squeek502/lit
commands/update.lua
4
5252
return function () local log = require('log').log local core = require('core')() local uv = require('uv') local pathJoin = require('luvi').path.join local exec = require('exec') local request = require('coro-http').request local semver = require('semver') local jsonParse = require('json').parse local ...
apache-2.0
mercury233/ygopro-scripts
c78229193.lua
2
3014
--白闘気海豚 function c78229193.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --atk local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(78229193,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_T...
gpl-2.0
Zenny89/darkstar
scripts/zones/Rabao/npcs/HomePoint#1.lua
17
1235
----------------------------------- -- Area: Rabao -- NPC: HomePoint#1 -- @pos -29.276 0.001 -76.585 247 ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Rabao/TextIDs"); require("scripts/globals/homepoint")...
gpl-3.0
dailin/wesnoth
data/ai/micro_ais/cas/ca_forest_animals_move.lua
2
6904
local H = wesnoth.require "lua/helper.lua" local W = H.set_wml_action_metatable {} local AH = wesnoth.require "ai/lua/ai_helper.lua" local LS = wesnoth.require "lua/location_set.lua" local function get_forest_animals(cfg) -- We want the deer/rabbits to move first, tuskers afterward local deer_type = cfg.deer_t...
gpl-2.0
mercury233/ygopro-scripts
c76136345.lua
2
3488
--転回操車 function c76136345.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --spsummon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(76136345,0)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetType(EF...
gpl-2.0
mercury233/ygopro-scripts
c1149109.lua
4
1561
--デッキロック function c1149109.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c1149109.target) c:RegisterEffect(e1) --disable search local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_CANNOT_TO_HA...
gpl-2.0
focusworld/telemamal
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
mercury233/ygopro-scripts
c21893603.lua
4
2236
--星杯の妖精リース function c21893603.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21893603,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCount...
gpl-2.0
mercury233/ygopro-scripts
c26834022.lua
2
1361
--ディザーム function c26834022.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY+CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c26834022.condition) e1:SetTarget(c26834022.target) e1:SetOperation(c26834022.activ...
gpl-2.0
Zenny89/darkstar
scripts/commands/cnation.lua
26
1234
--------------------------------------------------------------------------------------------------- -- func: @cnation <target> <campaign allegiance> -- desc: check or alter target characters campaign allegiance --------------------------------------------------------------------------------------------------- cmd...
gpl-3.0
mercury233/ygopro-scripts
c72386290.lua
2
2082
--儀水鏡の集光 function c72386290.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c72386290.target) e1:SetOperation(c72386290.activate) c:RegisterEffect(e1) --set local e2=Effect.C...
gpl-2.0
openwrt-stuff/openwrt-extra
luci/applications/luci-vsftpd/luasrc/model/cbi/vsftpd/anonymous.lua
14
1256
--[[ LuCI - Lua Configuration Interface Copyright 2016 Weijie Gao <hackpascal@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- m =...
gpl-2.0
mercury233/ygopro-scripts
c43385557.lua
9
1213
--マジカル・アンドロイド function c43385557.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --recover local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(43385557,0)) e1:SetCategory(CATEGORY_RECOVER) e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_FIELD) ...
gpl-2.0
sudhaMR/Animal_Book
tigerPage.lua
1
7817
---------------------------------------------------------------------------------- -- -- scenetemplate.lua -- ---------------------------------------------------------------------------------- local composer = require( "composer" ) local scene = composer.newScene() local widget = require("widget") require "sqlite3" lo...
mit
mercury233/ygopro-scripts
c6992184.lua
2
3007
--ペンデュラム・アンコール --not fully implemented function c6992184.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_MAIN_END) e1:SetCountLimit(1,6992184+EFFECT_COUNT_CODE_OATH) e1:Se...
gpl-2.0
mercury233/ygopro-scripts
c55727845.lua
2
1732
--No.96 ブラック・ミスト function c55727845.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,2,3) c:EnableReviveLimit() --atk u/d local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(55727845,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetRange(LOCATION_MZONE) e1:SetCost...
gpl-2.0
Zenny89/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Luck_Rune.lua
34
1080
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- @pos -95.486 11.188 418.153 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ------------------------------------- require("scripts/...
gpl-3.0
mercury233/ygopro-scripts
c90361289.lua
2
3753
--機巧狐-宇迦之御魂稲荷 function c90361289.initial_effect(c) --spsummon1 local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(90361289,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetRange(...
gpl-2.0
Zenny89/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Meret.lua
5
5531
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Meret -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/zones/Tavnazian_Safeho...
gpl-3.0
Zenny89/darkstar
scripts/zones/Bastok_Markets/npcs/Foss.lua
36
2146
----------------------------------- -- Area: Bastok Markets -- NPC: Foss -- Starts & Finishes Repeatable Quest: Buckets of Gold ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scri...
gpl-3.0
Zenny89/darkstar
scripts/zones/Port_Jeuno/npcs/_6u4.lua
17
1390
----------------------------------- -- Area: Port Jeuno -- NPC: Door: Departures Exit (for San D'Oria) -- @zone 246 -- @pos -76 8 54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require(...
gpl-3.0
Zenny89/darkstar
scripts/zones/Dangruf_Wadi/Zone.lua
17
3020
----------------------------------- -- -- Zone: Dangruf_Wadi (191) -- ----------------------------------- package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/status")...
gpl-3.0
Zenny89/darkstar
scripts/zones/Spire_of_Mea/npcs/_0l3.lua
51
1321
----------------------------------- -- Area: Spire_of_Mea -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Mea/TextIDs"); ---------------...
gpl-3.0
Zenny89/darkstar
scripts/zones/Spire_of_Mea/npcs/_0l2.lua
51
1321
----------------------------------- -- Area: Spire_of_Mea -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Mea/TextIDs"); ---------------...
gpl-3.0
mercury233/ygopro-scripts
c23299957.lua
4
3265
--ビークロイド・コネクション・ゾーン function c23299957.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c23299957.target) e1:SetOperation(c23299957.activate) c:RegisterEffect(e1)...
gpl-2.0
linushsao/marsu_game-linus-v0.2
mods/technical/technic/technic/tools/mining_drill.lua
2
12327
local max_charge = {50000, 200000, 650000} local power_usage_per_node = {200, 500, 800} local S = technic.getter minetest.register_craft({ output = 'technic:mining_drill', recipe = { {'moreores:tin_ingot', 'technic:diamond_drill_head', 'moreores:tin_ingot'}, {'technic:stainless_steel_ingot', 'technic...
gpl-3.0
mercury233/ygopro-scripts
c24903843.lua
2
2745
--バージェストマ・ピカイア function c24903843.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c24903843.target) e1:SetOperation(c24903843.activate) c:RegisterEffect(e1) --spsummon local e2=Effect.CreateEf...
gpl-2.0
AleppoTeam/Aleppo
plugins/stats.lua
15
4017
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
Zenny89/darkstar
scripts/globals/items/flask_of_panacea.lua
70
1742
----------------------------------------- -- ID: 4163 -- Item: Panacea -- Item Effect: Removes any number of status effects ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- function onItemCh...
gpl-3.0
sajjad0098/hitler_TG1
plugins/kickme.lua
10
1214
local function run(msg, matches) if matches[1] == 'kickme' then local hash = 'kick:'..msg.to.id..':'..msg.from.id redis:set(hash, "waite") return '🔖کاربر عزیز ('..msg.from.username..')\nشما درخواست اخراج خود از گروه را ارسال کردید\nاگر با این درخواست موافقت دارید عبارت yes را ارسال کنید' end ...
agpl-3.0
mercury233/ygopro-scripts
c83203672.lua
2
2934
--スプリガンズ・バンガー function c83203672.initial_effect(c) --overlay local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(83203672,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_HAND+LOCATION_MZONE+LOCATION_GRAVE) e1:SetCountLimit(1,83203672) e1:SetTarget(c83...
gpl-2.0
mercury233/ygopro-scripts
c2311090.lua
2
2136
--スプライト・キャロット function c2311090.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(2311090,0)) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,2311090+EFFECT_COUNT_CODE_OA...
gpl-2.0
Zenny89/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Donmo-Boronmo_WW.lua
30
3082
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Donmo-Boronmo, W.W. -- Type: Outpost Conquest Guards -- @pos -294.470 15.806 420.117 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
Zenny89/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Count_Zaebos.lua
16
1291
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Count Zaebos ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged -----------...
gpl-3.0
linushsao/marsu_game-linus-v0.2
mods/technical/mesecons/mesecons_delayer/init.lua
13
5674
-- Function that get the input/output rules of the delayer local delayer_get_output_rules = function(node) local rules = {{x = 0, y = 0, z = 1}} for i = 0, node.param2 do rules = mesecon.rotate_rules_left(rules) end return rules end local delayer_get_input_rules = function(node) local rules = {{x = 0, y = 0, z ...
gpl-3.0
guillaume144/jeu-rp
gamemode/modules/fpp/pp/sh_settings.lua
6
2457
-- These are the default settings. Don't mind changing these. FPP = FPP or {} -- Don't reset the settings when they're already there if FPP.Settings then return end FPP.Settings = {} FPP.Settings.FPP_PHYSGUN1 = { toggle = 1, adminall = 1, worldprops = 0, adminworldprops = 1, canblocked = 0, admincanblocked = 0...
mit
Zenny89/darkstar
scripts/zones/Port_Windurst/npcs/Mojo-Pojo.lua
38
1037
----------------------------------- -- Area: Port Windurst -- NPC: Mojo-Pojo -- Type: Standard NPC -- @zone: 240 -- @pos -108.041 -4.25 109.545 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ------------...
gpl-3.0
cbeck88/cegui-mirror
cegui/src/ScriptModules/Lua/support/tolua++bin/lua/container.lua
15
16995
-- tolua: container abstract 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, -- enh...
mit
mercury233/ygopro-scripts
c65500515.lua
2
2445
--隅烏賊 function c65500515.initial_effect(c) --move local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(65500515,0)) e1:SetCategory(CATEGORY_TOKEN+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BE_BATTLE_TARGET) e1:SetCountLimit(1) e1:SetTarget(c65500515....
gpl-2.0
Zenny89/darkstar
scripts/zones/Windurst_Waters/npcs/Ohbiru-Dohbiru.lua
5
9387
----------------------------------- -- Area: Windurst Waters -- NPC: Ohbiru-Dohbiru -- Involved in quest: Food For Thought -- Starts and finishes quest: Toraimarai Turmoil ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globals/quests");...
gpl-3.0
mercury233/ygopro-scripts
c17255673.lua
2
2530
--天御巫の闔 function c17255673.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --must attack local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_MUST_ATTACK) e2:SetRange(LOCATION_FZONE) e2:...
gpl-2.0
Zenny89/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Mushosho.lua
17
1888
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Mushosho -- Type: Outpost Vendor -- @pos -290 16 415 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); re...
gpl-3.0
mercury233/ygopro-scripts
c52575195.lua
2
2938
--ビビット騎士 function c52575195.initial_effect(c) --change target local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(52575195,0)) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_CHAINING) e1:SetRange(LOCATION_HAND) e1:SetCondition(c52575195.tgcon1...
gpl-2.0
mercury233/ygopro-scripts
c20065259.lua
2
2979
--銃の忍者-火光 local s,id,o=GetID() function s.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_GRAVE_SPSUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCountLimit(1,id)...
gpl-2.0
TeamExodus/external_skia
tools/lua/bitmap_statistics.lua
207
1862
function string.startsWith(String,Start) return string.sub(String,1,string.len(Start))==Start end function string.endsWith(String,End) return End=='' or string.sub(String,-string.len(End))==End end local canvas = nil local num_perspective_bitmaps = 0 local num_affine_bitmaps = 0 local num_scaled_bitmaps = 0 loc...
bsd-3-clause
valhallaGaming/uno
src_trunk/resources/parachute/openChute.lua
1
1997
local sound radius = 2.6946883201599 offset = { 0, 0, 0 } overboardScale = 1.05 overboardTime = 400 openingChutes = {} function openChute ( object, player, time ) sound = playSound3D ( "parachuteopen.mp3", getElementPosition(player) ) setSoundMinDistance ( sound, 25 ) setObjectScale ( object, 0 ) openin...
bsd-3-clause
guillaume144/jeu-rp
gamemode/modules/chat/cl_interface.lua
11
1238
DarkRP.addChatReceiver = DarkRP.stub{ name = "addChatReceiver", description = "Add a chat command with specific receivers", parameters = { { name = "prefix", description = "The chat command itself (\"/pm\", \"/ooc\", \"/me\" are some examples)", type = "string", ...
mit
Zenny89/darkstar
scripts/globals/items/slice_of_juicy_mutton.lua
35
1397
----------------------------------------- -- ID: 4335 -- Item: slice_of_juicy_mutton -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 35 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
Zenny89/darkstar
scripts/globals/items/anthos_xiphos.lua
16
1037
----------------------------------------- -- ID: 17750 -- Item: Anthos Xiphos -- Additional Effect: Water Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----------------------------...
gpl-3.0
mercury233/ygopro-scripts
c76922029.lua
9
1487
--首領・ザルーグ function c76922029.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(76922029,0)) e1:SetCategory(CATEGORY_HANDES+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DAMAGE) e1:SetCondition(c76922029.condition) e1:SetTarget(c76922...
gpl-2.0
mercury233/ygopro-scripts
c11637481.lua
2
3346
--U.A.リベロスパイカー function c11637481.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(11637481,0)) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,11637481+EFFECT_COU...
gpl-2.0
noname007/koreader
frontend/apps/reader/modules/readerwikipedia.lua
4
2357
local ReaderDictionary = require("apps/reader/modules/readerdictionary") local EventListener = require("ui/widget/eventlistener") local NetworkMgr = require("ui/networkmgr") local Translator = require("ui/translator") local Wikipedia = require("ui/wikipedia") local UIManager = require("ui/uimanager") local Geom = requi...
agpl-3.0
Zenny89/darkstar
scripts/globals/items/chunk_of_homemade_cheese.lua
35
1208
----------------------------------------- -- ID: 5225 -- Item: chunk_of_homemade_cheese -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Defense 40 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------...
gpl-3.0
mercury233/ygopro-scripts
c64389297.lua
2
2715
--迷宮変化 function c64389297.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+EFFECT_FLAG_CONTINUOUS_TARGET) e1:SetTarget(c64389297.target) e1:SetOperation(c64389297.opera...
gpl-2.0
Zenny89/darkstar
scripts/globals/weaponskills/camlanns_torment.lua
30
1377
----------------------------------- -- Camlann's Torment -- Polearm weapon skill -- Skill Level: EMPYREAN -- Delivers a triple damage attack. DEF ignored varies with TP. -- Will stack with Sneak Attack. -- Element: None -- Modifiers: VIT:60% -- 100%TP 200%TP 300%TP -- 3.00 3 3 --------------...
gpl-3.0
mercury233/ygopro-scripts
c30118200.lua
2
3088
--掃除機塊バキューネシア function c30118200.initial_effect(c) --link summon c:EnableReviveLimit() aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x14b),1,1) --cannot link material local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABL...
gpl-2.0
mercury233/ygopro-scripts
c67048711.lua
1
2258
--7 function c67048711.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetOperation(c67048711.operation) c:RegisterEffect(e1) --draw local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(67048711,0)) e2:SetCategory(CATEGORY...
gpl-2.0
Zenny89/darkstar
scripts/zones/Davoi/npcs/_45d.lua
19
1499
----------------------------------- -- Area: Davoi -- NPC: Wall of Banishing -- Used In Quest: Whence Blows the Wind -- @pos 181 0.1 -218 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
Zenny89/darkstar
scripts/zones/Windurst_Waters/npcs/Amagusa-Chigurusa.lua
38
1418
----------------------------------- -- Area: Windurst Waters -- NPC: Amagusa-Chigurusa -- Type: Standard NPC -- @pos -28.746 -4.5 61.954 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); req...
gpl-3.0
mercury233/ygopro-scripts
c1005587.lua
2
1384
--煉獄の落とし穴 function c1005587.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetTarget(c1005587.target) e1:SetOperation(c1005587.activate) c:RegisterEffect(e1) end function c1005587.filter(c,tp) ...
gpl-2.0
ajayk/kong
kong/cli/services/dnsmasq.lua
3
1564
local BaseService = require "kong.cli.services.base_service" local logger = require "kong.cli.utils.logger" local IO = require "kong.tools.io" local Dnsmasq = BaseService:extend() local SERVICE_NAME = "dnsmasq" function Dnsmasq:new(configuration) self._configuration = configuration Dnsmasq.super.new(self, SERVIC...
apache-2.0
mercury233/ygopro-scripts
c71197066.lua
2
2495
--機巧蛇-叢雲遠呂智 function c71197066.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(71197066,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(LOCATION_HAND+LOCATION_GRAVE) e1:SetCountLimit(1,71197066...
gpl-2.0
wolfnight/wolfnight1
plugins/inrealm.lua
850
25085
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
DiMON-TEAM/DiMoN-BoT
plugins/info.lua
1
9529
do local Arian = 105831687 --put your id here(BOT OWNER ID) local Sosha = 0 --local Sosha2 = local function setrank(msg, name, value,receiver) -- setrank function local hash = nil hash = 'rank:'..msg.to.id..':variables' if hash then redis:hset(hash, name, value) return send_msg(receiver, 'مقام برای (...
gpl-2.0
Zenny89/darkstar
scripts/zones/Port_Windurst/npcs/Newlyn.lua
38
1034
----------------------------------- -- Area: Port Windurst -- NPC: Newlyn -- Type: Standard NPC -- @zone: 240 -- @pos 200.673 -6.601 108.665 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ---------------...
gpl-3.0
Zenny89/darkstar
scripts/zones/Everbloom_Hollow/Zone.lua
36
1125
----------------------------------- -- -- Zone: Everbloom_Hollow -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Everbloom_Hollow/TextIDs"] = nil; require("scripts/zones/Everbloom_Hollow/TextIDs"); ----------------------------------- -- onInitial...
gpl-3.0
mercury233/ygopro-scripts
c77558536.lua
4
1936
--ライトロード・アサシン ライデン function c77558536.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(77558536,0)) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,77558536) e1:SetTarget(c77558536.target)...
gpl-2.0
mercury233/ygopro-scripts
c2772236.lua
2
1170
--エレキマイラ function c2772236.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0xe),aux.NonTuner(Card.IsRace,RACE_THUNDER),1) c:EnableReviveLimit() --direct attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_DIRECT_ATTACK) c:Reg...
gpl-2.0
Zenny89/darkstar
scripts/zones/Windurst_Waters/npcs/Kerutoto.lua
17
11600
----------------------------------- -- Area: Windurst Waters -- NPC: Kerutoto -- Starts Quest Food For Thought -- Involved in Quest: Riding on the Clouds -- @zone 238 -- @pos 13 -5 -157 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; package.loaded["scripts/g...
gpl-3.0
Zenny89/darkstar
scripts/zones/Apollyon/mobs/Kerkopes.lua
16
1585
----------------------------------- -- Area: Apollyon NE -- NPC: Kerkopes ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); --------------------------...
gpl-3.0
mercury233/ygopro-scripts
c87008374.lua
2
2865
--ZW-不死鳥弩弓 function c87008374.initial_effect(c) c:SetUniqueOnField(1,0,87008374) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(87008374,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCategory(CATEGORY_EQUIP) e1:SetRange(LOCATION_HAND) e1:SetCondition...
gpl-2.0
squeek502/lit
deps/base64.lua
14
3361
--[[lit-meta name = "creationix/base64" description = "A pure lua implemention of base64 using bitop" tags = {"crypto", "base64", "bitop"} version = "2.0.0" license = "MIT" author = { name = "Tim Caswell" } ]] local bit = require 'bit' local rshift = bit.rshift local lshift = bit.lshift local bor = bit.bor...
apache-2.0
Zenny89/darkstar
scripts/zones/Temenos/mobs/Enhanced_Tiger.lua
16
1046
----------------------------------- -- Area: Temenos W T -- NPC: Enhanced_Tiger ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------...
gpl-3.0
mercury233/ygopro-scripts
c23846921.lua
4
3487
--アルカナフォースⅩⅩⅠ-THE WORLD function c23846921.initial_effect(c) --coin local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(23846921,0)) e1:SetCategory(CATEGORY_COIN) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c23846921.cointg) e1:SetOperation(c2384...
gpl-2.0
tobinsarah/tenshi
vm/lua/tenshi-runtime/src/lua/units.lua
11
1128
-- Licensed to Pioneers in Engineering under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. Pioneers in Engineering licenses -- this file to you under the Apache License, Version 2.0 (the -- "License"); you ...
apache-2.0
mercury233/ygopro-scripts
c13890468.lua
9
1419
--精霊獣 ペトルフィン function c13890468.initial_effect(c) c:SetSPSummonOnce(13890468) --tohand local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCost(c13890468.cost) e1:SetTarge...
gpl-2.0
mercury233/ygopro-scripts
c59707204.lua
3
2718
--護神鳥シムルグ function c59707204.initial_effect(c) --tohand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59707204,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCountLimit(1,597...
gpl-2.0
alfred-bot/mer2phm
plugins/media.lua
376
1679
do local function run(msg, matches) local receiver = get_receiver(msg) local url = matches[1] local ext = matches[2] local file = download_to_file(url) local cb_extra = {file_path=file} local mime_type = mimetype.get_content_type_no_sub(ext) if ext == 'gif' then print('send_file') send_docum...
gpl-2.0
mercury233/ygopro-scripts
c13486638.lua
2
2192
--RR-ファントム・クロー function c13486638.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:SetCountLimit(1,13486638) e1:SetCondition(c13486638.condition) e1:SetCost(c13486638.cost) e1:SetTarget(c...
gpl-2.0
terminar/lua-handlers
examples/http_client_put.lua
2
2535
-- Copyright (c) 2010-2011 by Robert G. Jakabosky <bobby@neoawareness.com> -- -- 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 -...
mit
sudhaMR/Animal_Book
splash.lua
1
2407
---------------------------------------------------------------------------------- -- -- scenetemplate.lua -- ---------------------------------------------------------------------------------- local composer = require( "composer" ) local scene = composer.newScene() ----------------------------------------------------...
mit
ytodorov/AntServices
AdvancedNetToolsSolution/AntServicesMvc5/programs/Nmap/nselib/unpwdb.lua
3
10254
--- -- Username/password database library. -- -- The <code>usernames</code> and <code>passwords</code> functions return -- multiple values for use with exception handling via -- <code>nmap.new_try</code>. The first value is the Boolean success -- indicator, the second value is the closure. -- -- The closures can take a...
apache-2.0
mercury233/ygopro-scripts
c59242457.lua
2
3713
--エクソシスターズ・マニフィカ function c59242457.initial_effect(c) --xyz summon c:EnableReviveLimit() aux.AddXyzProcedureLevelFree(c,c59242457.mfilter,nil,2,2) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFE...
gpl-2.0
mercury233/ygopro-scripts
c25140659.lua
2
2615
--未界域調査報告 function c25140659.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(25140659,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,25140659) e1:SetTarget(c...
gpl-2.0
Stoph2016/Sb
plugins/ingroup.lua
371
44212
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
mercury233/ygopro-scripts
c17185260.lua
6
1163
--インフェルノ・ハンマー function c17185260.initial_effect(c) --pos local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(17185260,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetCondition(...
gpl-2.0
Zenny89/darkstar
scripts/zones/Northern_San_dOria/npcs/Gulmama.lua
19
5104
----------------------------------- -- Area: Northern San d'Oria -- NPC: Gulmama -- Starts and Finishes Quest: Trial by Ice -- Involved in Quest: Class Reunion -- @pos -186 0 107 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------...
gpl-3.0
mercury233/ygopro-scripts
c50675040.lua
2
2252
--獣王無塵 function c50675040.initial_effect(c) --Activate local e0=Effect.CreateEffect(c) e0:SetType(EFFECT_TYPE_ACTIVATE) e0:SetCode(EVENT_FREE_CHAIN) e0:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e0:SetHintTiming(TIMING_DAMAGE_STEP) e0:SetTarget(c50675040.target) c:RegisterEffect(e0) --to hand local e1=Effect.Create...
gpl-2.0
nasomi/darkstar
scripts/globals/items/cupid_chocolate.lua
35
1138
----------------------------------------- -- ID: 5681 -- Item: cupid_chocolate -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Attack 10 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0
OrenjiAkira/lua-html
lib/lux/functional.lua
1
4045
--[[ -- -- Copyright (c) 2013-2016 Wilson Kazuo Mizutani -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purpose, ...
mit
parsaghx/king
plugins/IP.lua
15
4601
local function run(msg, matches) if matches[1]:lower() == "config" then local data = http.request("http://ip-api.com/json/"..URL.escape(matches[2]).."?fields=262143") local jdat = JSON.decode(data) if jdat.status == "success" then local text = "مشخصات آی اس پی شخص-دامنه مورد نظر:\n" .."کشور: "..jdat.countr...
gpl-2.0
nasomi/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm3.lua
19
2302
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm3 (???) (Tower 3) -- Involved in Quest: THF AF "As Thick As Thieves" -- @pos 417.121 15.598 -137.466 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; -----------------------------...
gpl-3.0
nasomi/darkstar
scripts/zones/Metalworks/npcs/Takiyah.lua
17
1292
----------------------------------- -- Area: Metalworks -- NPC: Takiyah -- Type: Regional Merchant ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); require(...
gpl-3.0