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
mahdibagheri/mohammad
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) 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_print...
gpl-2.0
samijon/suofi
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) 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_print...
gpl-2.0
mercury233/ygopro-scripts
c73178098.lua
4
1080
--虚栄巨影 function c73178098.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetTarget(c73178098.target) e1:SetOperation(c73178098.activate) c:RegisterEffec...
gpl-2.0
AlmightyLaxz/gmRPG
entities/entities/rpg_npc_civilian_old.lua
1
2361
AddCSLuaFile() ENT.Base = "rpg_npc_base" ENT.Type = "ai" ENT.PrintName = "NPC Civilian" ENT.Author = "Almighty Laxz" ENT.Contact = "" ENT.Purpose = "" ENT.Instructions = "" ENT.Category = "gmRPG" ENT.Spawnable = true ENT.randText = {} ENT.r...
gpl-3.0
linushsao/marsu_game-linus-v0.2
mods/technical/technic/technic_worldgen/oregen.lua
2
5664
local uranium_params = {offset = 0, scale = 1, spread = {x = 100, y = 100, z = 100}, seed = 420, octaves = 3, persist = 0.7} local uranium_threshhold = 0.55 local chromium_params = {offset = 0, scale = 1, spread = {x = 100, y = 100, z = 100}, seed = 421, octaves = 3, persist = 0.7} local chromium_threshhold = 0.55 lo...
gpl-3.0
rouing/FHLG-BW
entities/entities/item_superdrugoffense/init.lua
1
1256
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_superdrug" ) ent:SetPos( SpawnPos ) ent:Spawn() ent:Activate() return ent end f...
unlicense
Zenny89/darkstar
scripts/globals/abilities/pets/fire_iv.lua
20
1157
--------------------------------------------------- -- Aero 2 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); ----------------------------------------------...
gpl-3.0
mercury233/ygopro-scripts
c99427357.lua
2
3654
--サイバー・エンジェル-那沙帝弥- function c99427357.initial_effect(c) c:EnableReviveLimit() --recover local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(99427357,0)) e1:SetCategory(CATEGORY_RECOVER) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLi...
gpl-2.0
mercury233/ygopro-scripts
c43225434.lua
4
1140
--決闘融合-バトル・フュージョン function c43225434.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCountLimit(1,43225434+EFFECT_COUNT_CODE_OATH) e1:SetCondition(c43225434.condition) e1:SetOperation(c432254...
gpl-2.0
mercury233/ygopro-scripts
c36016907.lua
2
3695
--ジャック・ア・ボーラン function c36016907.initial_effect(c) --spsummon1 local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(36016907,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,36016907) e1:SetCost(c36016907.spcost1) e1:SetTarget(...
gpl-2.0
Zenny89/darkstar
scripts/zones/Cloister_of_Gales/bcnms/sugar-coated_directive.lua
19
1709
---------------------------------------- -- Area: Cloister of Gales -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/qu...
gpl-3.0
Zenny89/darkstar
scripts/zones/Windurst_Waters/npcs/Kipo-Opo.lua
53
1913
----------------------------------- -- Area: Windurst Waters -- NPC: Kipo-Opo -- Type: Cooking Adv. Image Support -- @pos -119.750 -5.239 64.500 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status");...
gpl-3.0
mercury233/ygopro-scripts
c25472513.lua
2
2478
--天輪の双星道士 function c25472513.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1,1) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(25472513,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYP...
gpl-2.0
ZeroK-RTS/SpringRTS-Tools
aoplate baker/units/plategunship.lua
1
3137
return { plategunship = { unitname = [[plategunship]], name = [[Gunship Plate]], description = [[Augments Production]], acceleration = 0, brakeRate = 0, buildCostMetal = Shared.FACTORY_P...
gpl-2.0
mercury233/ygopro-scripts
c48421595.lua
2
2592
--ネクロ・シンクロン function c48421595.initial_effect(c) --code aux.EnableChangeCode(c,19642774,LOCATION_MZONE+LOCATION_GRAVE) --lv up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(48421595,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetC...
gpl-2.0
mercury233/ygopro-scripts
c43011492.lua
3
1571
--惨禍の呪眼 function c43011492.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,43011492+EFFECT_COUNT_CODE_OATH) ...
gpl-2.0
mercury233/ygopro-scripts
c18511384.lua
2
1409
--融合回収 function c18511384.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c18511384.target) e1:SetOperation(c18511384.activate) c:RegisterEffect(e1) en...
gpl-2.0
AntonioModer/fuccboiGDX
fuccboi/resources/particles/sperm/loveframes/objects/internal/menuoption.lua
3
5958
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- menuoption object local newobject = loveframes.NewObject("menuoption", "loveframes_object_menuoption", true) --[[------------...
mit
Zenny89/darkstar
scripts/globals/items/balik_sis.lua
35
1661
----------------------------------------- -- ID: 5600 -- Item: Balik Sis -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -2 -- Attack % 13 -- Attack Cap 40 -- Ranged ACC 1 -- Ranged ATT % 13 -- Ranged ATT Cap 40 ----------------------------------------- r...
gpl-3.0
ZeroK-RTS/SpringRTS-Tools
aoplate baker/plateamph.lua
1
3258
return { plateamph = { unitname = [[plateamph]], name = [[Amphbot Plate]], description = [[Augments Production]], buildCostMetal = Shared.FACTORY_PLATE_COST, builder = true, buildingGroundDecalDecaySpe...
gpl-2.0
mercury233/ygopro-scripts
c27869883.lua
9
1096
--プリーステス・オーム function c27869883.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(27869883,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c27869883.damcost) e1:SetTarge...
gpl-2.0
mercury233/ygopro-scripts
c9852718.lua
4
1525
--決別 function c9852718.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c9852718.condition) e1:SetCost(c9852718.cost) e1:SetOperation(c9852718.activate) c:RegisterEffect(e1) end function c9852718.condition(e,tp,eg,ep,ev,re...
gpl-2.0
Zenny89/darkstar
scripts/globals/weaponskills/iron_tempest.lua
30
1350
----------------------------------- -- Iron Tempest -- Great Axe weapon skill -- Skill Level: 40 -- Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: None -- Modifiers: STR:30% -- 100%TP 200%TP ...
gpl-3.0
mercury233/ygopro-scripts
c85121942.lua
2
2760
--CNo.105 BK 彗星のカエストス function c85121942.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,5,4) c:EnableReviveLimit() --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(85121942,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(E...
gpl-2.0
bryancall/trafficserver
tests/gold_tests/pluginTest/lua/watermark.lua
6
1344
-- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); y...
apache-2.0
Zenny89/darkstar
scripts/globals/effects/addendum_black.lua
74
1952
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable(); local bonus = effect:getPower(); local helix = effect...
gpl-3.0
mercury233/ygopro-scripts
c95169481.lua
6
1601
--恐牙狼 ダイヤウルフ function c95169481.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(95169481,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1...
gpl-2.0
mercury233/ygopro-scripts
c61370518.lua
2
1628
--迅雷の魔王-スカル・デーモン function c61370518.initial_effect(c) --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_STANDBY) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCond...
gpl-2.0
Josepdal/DBTeam
plugins/spam.lua
34
1560
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
Zenny89/darkstar
scripts/globals/spells/absorb-chr.lua
18
1298
-------------------------------------- -- Spell: Absorb-CHR -- Steals an enemy's Charism. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ------------...
gpl-3.0
noname007/koreader
frontend/ui/message/zyremessagequeue.lua
6
1413
local ffi = require("ffi") local DEBUG = require("dbg") local util = require("ffi/util") local Event = require("ui/event") local MessageQueue = require("ui/message/messagequeue") local dummy = require("ffi/zeromq_h") local czmq = ffi.load("libs/libczmq.so.1") local zyre = ffi.load("libs/libzyre.so.1") local ZyreMessa...
agpl-3.0
mercury233/ygopro-scripts
c33918636.lua
3
2571
--超重武者カカ-C function c33918636.initial_effect(c) c:EnableReviveLimit() --link summon aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x9a),1,1) --cannot be link material local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE...
gpl-2.0
Zenny89/darkstar
scripts/zones/Port_San_dOria/npcs/Leonora.lua
17
1498
----------------------------------- -- Area: Port San d'Oria -- NPC: Leonora -- Involved in Quest: -- @zone 232 -- @pos -24 -8 15 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
Zenny89/darkstar
scripts/zones/Apollyon/mobs/Na_Qba_Chirurgeon.lua
16
2315
----------------------------------- -- Area: Apollyon CS -- NPC: Na_Qba_Chirurgeon ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ------------------...
gpl-3.0
focusworld/telemamal
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
AntonioModer/fuccboiGDX
fuccboi/resources/particles/sperm/loveframes/objects/internal/columnlist/columnlistarea.lua
3
9515
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- columnlistarea class local newobject = loveframes.NewObject("columnlistarea", "loveframes_object_columnlistarea", true) --[[-...
mit
mercury233/ygopro-scripts
c28929131.lua
2
3840
--時械神ザフィオン function c28929131.initial_effect(c) --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SINGLE_RANGE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetRange(LOCATION_DECK) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) ...
gpl-2.0
yipf/lua-svg
svg.last.lua
1
15770
local gmatch=string.gmatch local obj={} local str2args=function(str) local n=0 for w in gmatch(str.."|","(.-)|") do n=n+1;obj[n]=w end return unpack(obj,1,n) end --~ add_shape=function(svg,pos,style,rx,ry) --~ local m=svg.m,svg.shapes --~ local r,c=unpack(pos) --~ local shape,arg1,arg2=str2args(style) --~ l...
mit
couchbaselabs/couchstore-specials
tests/corrupt.lua
6
1879
package.path = package.path .. ";tests/?.lua" local testlib = require("testlib") function simpletrunc(dbname) local db = couch.open(dbname, true) db:save("k", "original value", 1) db:commit() testlib.check_doc(db, "k", "original value") db:save("k", "second value", 1) db:commit() testlib.check_...
apache-2.0
Zenny89/darkstar
scripts/zones/Qulun_Dome/npcs/qm1.lua
19
1353
----------------------------------- -- Area: Qulun Dome -- NPC: qm1 (???) -- Used In Quest: Whence Blows the Wind -- @pos 261 39 79 148 ----------------------------------- package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
Zenny89/darkstar
scripts/zones/Bastok_Markets/npcs/Sinon.lua
36
4438
----------------------------------- -- Area: Bastok Markets -- NPC: Sinon -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/armorstorage"); requ...
gpl-3.0
terminar/lua-handlers
handler/acceptor.lua
2
8500
-- 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
m4h4n/telegram-bot
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
The-Three-Otakus/Joint-Animator
loveframes/objects/internal/tabbutton.lua
14
5632
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".objects.internal.tabbutton"))...
gpl-3.0
rodamaral/smw-tas
lsnes/scripts/lib/menu.lua
1
30574
local M = {show_menu = false, current_tab = 'Show/hide options'} local gui, memory, settings, exec, tostringx = _G.gui, _G.memory, _G.settings, _G.exec, _G.tostringx local luap = require 'luap' local draw = require 'draw' local config = require 'config' local lsnes = require 'lsnes' local cheat = require 'cheat' loca...
mit
guillaume144/jeu-rp
entities/entities/drug_lab/init.lua
10
1061
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") DEFINE_BASECLASS("lab_base") ENT.SeizeReward = 350 function ENT:Initialize() BaseClass.Initialize(self) self.SID = self:Getowning_ent().SID end function ENT:SalePrice(activator) return math.random(math.Round(self:Getprice() / ...
mit
Zenny89/darkstar
scripts/globals/spells/shock.lua
18
1590
----------------------------------------- -- Spell: Shock -- Deals lightning damage that lowers an enemy's mind and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -------------------...
gpl-3.0
mercury233/ygopro-scripts
c66750703.lua
2
4423
--炎傑の梁山閣 function c66750703.initial_effect(c) c:EnableCounterPermit(0x56) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --add counter local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetCode(...
gpl-2.0
tfussell/rana
build/premake5.lua
1
1908
solution "rana" configurations { "debug", "release" } platforms { "x64" } location ("./" .. _ACTION) configuration "debug" flags { "Symbols" } optimize "Off" configuration "release" optimize "Full" project "rana.test" kind "ConsoleApp" language "C++" targetname "rana.te...
mit
mercury233/ygopro-scripts
c9030160.lua
2
2531
--常闇の契約書 function c9030160.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --cannot be target local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e2:SetRange(LOC...
gpl-2.0
mercury233/ygopro-scripts
c76384284.lua
2
1259
--トロイの剣闘獣 function c76384284.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DRAW) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetTarget(c76384284.target) e1:SetOperation(c76384284.activate) c...
gpl-2.0
GuntherStruyf/luaunit
test/test_with_err_fail_pass.lua
4
1415
local lu = require('luaunit') --[[ Test used by functional tests ]] TestSomething = {} --class function TestSomething:test1_Success1() lu.assertEquals( 1+1, 2 ) end function TestSomething:test1_Success2() lu.assertEquals( 1+2, 3 ) end function TestSomething:test2_Fail1() ...
bsd-2-clause
Zenny89/darkstar
scripts/zones/Xarcabard_[S]/Zone.lua
28
1313
----------------------------------- -- -- Zone: Xarcabard_[S] (137) -- ----------------------------------- package.loaded["scripts/zones/Xarcabard_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Xarcabard_[S]/TextIDs"); ------------------...
gpl-3.0
Zenny89/darkstar
scripts/zones/Kazham/npcs/Kocho_Phunakcham.lua
15
1103
----------------------------------- -- Area: Kazham -- NPC: Kocho Phunakcham -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ------------------------...
gpl-3.0
mercury233/ygopro-scripts
c12338068.lua
2
1436
--真魔獣 ガーゼット function c12338068.initial_effect(c) c:EnableReviveLimit() --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --special summon local e2=Effec...
gpl-2.0
mercury233/ygopro-scripts
c30968774.lua
4
1744
--スワップリースト function c30968774.initial_effect(c) --reduce atk and draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(30968774,0)) e1:SetCategory(CATEGORY_DRAW+CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCode(EVENT_BE_MATERIAL) ...
gpl-2.0
linushsao/marsu_game-linus-v0.2
mods/deprecated/bitchange/bank_currency.lua
2
7134
--Created by Krock for the BitChange mod -- Bank node for the mod: currency (by Dan Duncombe) --License: WTFPL local file_path = minetest.get_worldpath() .. "/bitchange_bank_currency" local exchange_worth = 15 -- default worth in "money" for one MineCoin, change if not okay local bank = {} local changes_made = ...
gpl-3.0
mercury233/ygopro-scripts
c1329620.lua
2
3044
--壱世壊に澄み渡る残響 function c1329620.initial_effect(c) aux.AddCodeList(c,56099748) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_TODECK+CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCountLimit(1,1329620) e1:SetCondition(c1329620.condi...
gpl-2.0
Zenny89/darkstar
scripts/globals/weaponskills/spirits_within.lua
30
1518
----------------------------------- -- Spirits Within -- Sword weapon skill -- Spirits Within Sword Weapon Skill -- TrolandAdded by Troland -- Skill Level: 175 -- Delivers an unavoidable attack. Damage varies with HP and TP. -- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of ...
gpl-3.0
mercury233/ygopro-scripts
c52098461.lua
2
1624
--ラス・オブ・ネオス function c52098461.initial_effect(c) aux.AddCodeList(c,89943723) aux.AddSetNameMonsterList(c,0x3008) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:S...
gpl-2.0
mercury233/ygopro-scripts
c8057630.lua
2
2655
--コアの再練成 function c8057630.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(c8057630.target) e1:SetOperatio...
gpl-2.0
mercury233/ygopro-scripts
c74586817.lua
2
4976
--PSYフレームロード・Ω function c74586817.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(74586817,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetRange(LOCATION...
gpl-2.0
focusworld/aaab
plugins/owners.lua
284
12473
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
Zenny89/darkstar
scripts/zones/Xarcabard/npcs/Trail_Markings.lua
17
2473
----------------------------------- -- Area: Xarcabard -- NPC: Trail Markings -- Dynamis-Xarcabard Enter -- @pos 570 0 -272 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
linushsao/marsu_game-linus-v0.2
mods/administration/linus_added/functions.lua
1
3179
--extra functions for other mods --[[function sky_change(player,ratio) if ratio > 0.83 or ratio < 0.18 then -- print("STARRY NIGHT@@@@@@@@@@@@") player:set_sky({r=0, g=0, b=0},"skybox",{"marssurvive_space_sky.png","marssurvive_space_sky.png","marssurvive_space_sky_star.png","marssurvive_space_sky.png","marssurvi...
gpl-3.0
mercury233/ygopro-scripts
c87047074.lua
2
2037
--甲虫装機の魔弓 ゼクトアロー function c87047074.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(c87047074.target) e1:SetOperation(c8704...
gpl-2.0
mercury233/ygopro-scripts
c4440873.lua
9
1211
--強烈なはたき落とし function c4440873.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_HANDES) e1:SetCode(EVENT_TO_HAND) e1:SetCondition(c4440873.condition) e1:SetTarget(c4440873.target) e1:SetOperation(c4440873.activate) c:RegisterE...
gpl-2.0
mercury233/ygopro-scripts
c95372220.lua
2
3356
--マズルフラッシュ・ドラゴン --not fully implemented function c95372220.initial_effect(c) --link summon c:EnableReviveLimit() aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkRace,RACE_DRAGON),2) --zone limit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_MUST_USE_MZONE) e1:SetRange(...
gpl-2.0
linushsao/marsu_game-linus-v0.2
mods/libs/vector_extras/init.lua
1
16536
local load_time_start = os.clock() local funcs = {} function funcs.pos_to_string(pos) return "("..pos.x.."|"..pos.y.."|"..pos.z..")" end local r_corr = 0.25 --remove a bit more nodes (if shooting diagonal) to let it look like a hole (sth like antialiasing) -- this doesn't need to be calculated every time local f_1...
gpl-3.0
mercury233/ygopro-scripts
c17052477.lua
2
1181
--守護神の宝札 function c17052477.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c17052477.cost) e1:SetTarget(c17052477.target) e1:SetOperation(c17052477.operation) c:RegisterEffect(e1) --Effect Draw...
gpl-2.0
mercury233/ygopro-scripts
c81769387.lua
2
2305
--扇風機塊プロペライオン function c81769387.initial_effect(c) --link summon aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x14b),1,1) c:EnableReviveLimit() --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
c90452877.lua
4
2058
--Kozmo-エナジーアーツ function c90452877.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:Set...
gpl-2.0
Zenny89/darkstar
scripts/zones/Balgas_Dais/npcs/Armoury_Crate.lua
36
1024
----------------------------------- -- Area: Balgas Dais -- NPC: Armoury Crate -- Balgas Dais Burning Cicrcle Armoury Crate ----------------------------------- package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"); require("scripts/...
gpl-3.0
linushsao/marsu_game-linus-v0.2
mods/technical/mesecons/mesecons_receiver/init.lua
1
4423
rcvboxes = { { -3/16, -3/16, -8/16 , 3/16, 3/16 , -13/32 }, -- the smaller bump { -1/32, -1/32, -3/2 , 1/32, 1/32 , -1/2 }, -- the wire through the block { -2/32, -1/2 , -.5 , 2/32, 0 , -.5002+3/32 }, -- the vertical wire bit { -2/32, -1/2 , -7/16+0.002 , 2/32, -14/32, ...
gpl-3.0
linushsao/marsu_game-linus-v0.2
mods/technical/technic/technic/machines/register/extractor_recipes.lua
4
1971
local S = technic.getter technic.register_recipe_type("extracting", { description = S("Extracting") }) function technic.register_extractor_recipe(data) data.time = data.time or 4 technic.register_recipe("extracting", data) end if minetest.get_modpath("dye") then -- check if we are using dye or unifieddyes local...
gpl-3.0
Zenny89/darkstar
scripts/zones/Port_Jeuno/npcs/qm1.lua
17
2397
----------------------------------- -- Area: Port Jeuno -- NPC: ??? -- Finish Quest: Borghertz's Hands (AF Hands, Many job) -- @zone 246 -- @pos -51 8 -4 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; -------------...
gpl-3.0
Zenny89/darkstar
scripts/zones/Bastok_Markets/TextIDs.lua
7
5351
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; --Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6382; --Try trading again after sorting your inventory. ITEM_OBTAINED = 6383; --Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Spec...
gpl-3.0
mercury233/ygopro-scripts
c55554175.lua
2
3327
--EMクラシックリボー function c55554175.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --destroy local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetRange(LOCATION_PZONE) e1:SetCondition(c55554175.descon) e1:SetOperation(c5555...
gpl-2.0
mercury233/ygopro-scripts
c16209941.lua
3
2850
--未界域のチュパカブラ function c16209941.initial_effect(c) --special summon (self) local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(16209941,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_HANDES+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c16209941.spcost) e1:...
gpl-2.0
guillaume144/jeu-rp
gamemode/modules/positions/sv_interface.lua
13
4573
DarkRP.storeJailPos = DarkRP.stub{ name = "storeJailPos", description = "Store a jailposition from a player's location.", parameters = { { name = "ply", description = "The player of whom to get the location.", type = "Player", optional = false ...
mit
mercury233/ygopro-scripts
c15066114.lua
2
2400
--セグメンタル・ドラゴン function c15066114.initial_effect(c) --summon & set with no tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(15066114,0)) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c15066114.n...
gpl-2.0
Zenny89/darkstar
scripts/zones/West_Ronfaure/npcs/Harvetour.lua
17
1867
----------------------------------- -- Area: West Ronfaure -- NPC: Harvetour -- Type: Outpost Vendor -- @pos -448 -19 -214 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("script...
gpl-3.0
Cavitt/vanilla-ot
data/npc/lib/npcsystem/npchandler.lua
1
23435
-- Advanced NPC System (Created by Jiddo), -- Modified by TheForgottenServer Team. if(NpcHandler == nil) then -- Constant talkdelay behaviors. TALKDELAY_NONE = 0 -- No talkdelay. Npc will reply immedeatly. TALKDELAY_ONTHINK = 1 -- Talkdelay handled through the onThink callback function. (Default) TALKDELAY_EVENT =...
agpl-3.0
mercury233/ygopro-scripts
c48447192.lua
2
3306
--剣の煌き function c48447192.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(c48447192.target) e1:SetOperation(c48447192.opera...
gpl-2.0
Zenny89/darkstar
scripts/zones/Port_Bastok/npcs/Evi.lua
17
1985
----------------------------------- -- Area: Port Bastok -- NPC: Evi -- Starts Quests: Past Perfect (100%) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems")...
gpl-3.0
linushsao/marsu_game-linus-v0.2
mods/minetest_game/creative/init.lua
2
1794
creative = {} local creative_mode_cache = minetest.setting_getbool("creative_mode") function creative.is_enabled_for(name) return creative_mode_cache end dofile(minetest.get_modpath("creative") .. "/inventory.lua") if creative_mode_cache then -- Dig time is modified according to difference (leveldiff) between too...
gpl-3.0
Zenny89/darkstar
scripts/zones/Temenos/mobs/Cryptonberry_Skulker.lua
16
1141
----------------------------------- -- Area: Temenos N T -- NPC: Cryptonberry_Skulker ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------...
gpl-3.0
goblinor/BomBus
tg/tdcli.lua
102
88571
--[[ 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 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be use...
gpl-2.0
mercury233/ygopro-scripts
c47658964.lua
2
1787
--紅蓮の炎壁 function c47658964.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:SetCost(c47658964.cost) e1:SetTarget(c47658964.target) e1:SetOperation(c47658964.activate) c:RegisterEffect(e1) end fu...
gpl-2.0
Zenny89/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rm.lua
17
1337
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _0rm (Oil lamp) -- Notes: Opens South door at J-7 from inside. -- @pos -63.703 -26.227 83.000 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
mercury233/ygopro-scripts
c98416533.lua
2
2906
--メルフィー・ワラビィ function c98416533.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(98416533,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFE...
gpl-2.0
mercury233/ygopro-scripts
c73639099.lua
2
3243
--セラの蟲惑魔 function c73639099.initial_effect(c) --link summon aux.AddLinkProcedure(c,c73639099.matfilter,1,1) c:EnableReviveLimit() --immune local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetCode(EFFECT_IMMUNE_EFFECT) e1:SetRange(LOCATION_MZONE) e1:Set...
gpl-2.0
mercury233/ygopro-scripts
c99157310.lua
2
3548
--ティンダングル・ドロネー function c99157310.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_BATTLE_DAMAGE) e1:SetCondition(c99157310.condition) e1:SetTarget(c99157310.target) e1:SetOperation(c99157310.a...
gpl-2.0
Zenny89/darkstar
scripts/zones/Kazham/npcs/Tatapp.lua
15
11872
----------------------------------- -- Area: Kazham -- NPC: Tatapp -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/pathfind"); local path = { 15.005042, -8.000000, -104.34995...
gpl-3.0
mercury233/ygopro-scripts
c34365442.lua
2
3730
--Evil★Twin イージーゲーム function c34365442.initial_effect(c) --activate local e0=Effect.CreateEffect(c) e0:SetDescription(aux.Stringid(34365442,0)) e0:SetType(EFFECT_TYPE_ACTIVATE) e0:SetCode(EVENT_FREE_CHAIN) e0:SetCost(aux.TRUE) c:RegisterEffect(e0) --attack local e1=Effect.CreateEffect(c) e1:SetDescription(aux...
gpl-2.0
mercury233/ygopro-scripts
c42110604.lua
4
2142
--HSRチャンバライダー function c42110604.initial_effect(c) c:SetSPSummonOnce(42110604) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --extra attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_EXTRA_ATTACK) e1:SetValue(1) c:RegisterEffect...
gpl-2.0
mercury233/ygopro-scripts
c2830693.lua
3
2762
--虹クリボー function c2830693.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(2830693,0)) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_HAND) ...
gpl-2.0
Zenny89/darkstar
scripts/globals/items/serving_of_emperor_roe.lua
35
1354
----------------------------------------- -- ID: 4275 -- Item: serving_of_emperor_roe -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 8 -- Magic 8 -- Dexterity 4 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
CyberSecurityBot/Cyber
system/commands.lua
2
32007
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = (loadfile "./system/libs/serpent.lua")() feedparser = (loadfile "./system/libs/feedparser.lua")() json = (loadfile "./system/libs/JSON.lua")() mimetype = (loadfile "./system/libs/mimetype.lua")() redis...
gpl-2.0
mercury233/ygopro-scripts
c61190918.lua
2
1805
--トゥーン・バスター・ブレイダー function c61190918.initial_effect(c) aux.AddCodeList(c,15259703) --cannot attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetOperation(c61190918.atklimit) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode(EVENT...
gpl-2.0