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 |
|---|---|---|---|---|---|
Cavitt/vanilla-ot | data/npc/REFERENCETHESE/Captain Seagull.lua | 1 | 6195 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
-- OTServ event handling functions start
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function ... | agpl-3.0 |
Zenny89/darkstar | scripts/globals/items/serving_of_cilbir.lua | 35 | 1562 | -----------------------------------------
-- ID: 5642
-- Item: serving_of_cilbir
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 5
-- MP % 5
-- HP recovered while healing 3
-- MP recovered while healing 3
-----------------------------------------
require("scripts/globals/st... | gpl-3.0 |
rouing/FHLG-BW | entities/entities/bank/init.lua | 1 | 4122 | AddCSLuaFile "cl_init.lua";
AddCSLuaFile "shared.lua";
include "shared.lua";
function ENT:UpdateMoney( )
if self:IsValid( ) then
self.Owner:SetNWInt( "vaultamount", self.Money );
end;
end;
local called = false;
function ENT:Initialize( )
self:SetModel( "models/props_lab/powerbox01a.mdl" );
self:PhysicsInit( SOL... | unlicense |
lambd0x/Awesome-wm-Funtoo-GreenSunset | awesome/eminent/init.lua | 3 | 1474 | ------------------------------------------
-- Effortless wmii-style dynamic tagging.
------------------------------------------
-- Lucas de Vries <lucas@glacicle.org>
-- Licensed under the WTFPL version 2
-- * http://sam.zoy.org/wtfpl/COPYING
-----------------------------------------
-- Cut version
------------------... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Lower_Jeuno/npcs/_l08.lua | 36 | 1561 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -32.897 0 -28.521
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
Zenny89/darkstar | scripts/globals/items/butterpear.lua | 36 | 1246 | -----------------------------------------
-- ID: 5908
-- Item: Butterpear
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility +4
-- Vitality +1
-- Resist Amnesia +20
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
mercury233/ygopro-scripts | c55349375.lua | 2 | 2291 | --海造賊-青髭の海技士
function c55349375.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(55349375,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,55349375)
e1:SetCondition(c55349375.spcon)
e1:SetTarget... | gpl-2.0 |
guillaume144/jeu-rp | entities/weapons/weapon_glock2/shared.lua | 12 | 1189 | AddCSLuaFile()
if CLIENT then
SWEP.Author = "DarkRP Developers"
SWEP.PrintName = "Glock"
SWEP.Instructions = "Shoot with it"
SWEP.Slot = 1
SWEP.SlotPos = 0
SWEP.IconLetter = "c"
killicon.AddFont("weapon_glock2", "CSKillIcons", SWEP.IconLetter, Color(255, 80, 0, 255))
end
SWEP.Base = "weap... | mit |
valhallaGaming/uno | src_trunk/resources/map-system/Boxing Arena.lua | 2 | 20713 | -- Main arena
createObject(3452,1099.4870605469,1482.7135009766,1010.5697631836,0,0,0,1,2)
createObject(3452,1097.7197265625,1554.10546875,1010.5697631836,0,0,180,1,2)
createObject(3452,1134.2961425781,1519.3148193359,1010.5697631836,0,0,89.999938964844,1,2)
createObject(3452,1062.9658203125,1517.5197753906,1010.56... | bsd-3-clause |
mercury233/ygopro-scripts | c63571750.lua | 2 | 1870 | --王家の財宝
function c63571750.initial_effect(c)
Duel.EnableGlobalFlag(GLOBALFLAG_DECK_REVERSE_CHECK)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c63571750.target)
e1:SetOperation(c63571750.activate)
c:Registe... | gpl-2.0 |
mercury233/ygopro-scripts | c90020780.lua | 2 | 2538 | --シノビネクロ
function c90020780.initial_effect(c)
--draw
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW+CATEGORY_HANDES)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,90020780)
e1... | gpl-2.0 |
mercury233/ygopro-scripts | c49633574.lua | 4 | 1531 | --魔轟神オルトロ
function c49633574.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(49633574,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c49633574.cost)
e1:SetTarget(c49633574.... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Stone_Monument.lua | 32 | 1291 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -499.189 12.600 373.592 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
mercury233/ygopro-scripts | c10736540.lua | 4 | 3431 | --湖の乙女ヴィヴィアン
function c10736540.initial_effect(c)
--synchro limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetValue(c10736540.synlimit)
c:RegisterEffect(e1)
--synchro material... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_ir7.lua | 17 | 1502 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _ir7 (Iron Gate)
-- @pos -70.800 -1.500 60.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scr... | gpl-3.0 |
mercury233/ygopro-scripts | c22866836.lua | 3 | 3345 | --超信地旋回
function c22866836.initial_effect(c)
--destroy monster
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22866836,0))
e1:SetCategory(CATEGORY_POSITION+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetHintTiming(0,T... | gpl-2.0 |
mercury233/ygopro-scripts | c68371799.lua | 2 | 3568 | --デーモンの将星
function c68371799.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:SetCountLimit(1,68371799+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c68371799.spcon)
e... | gpl-2.0 |
mercury233/ygopro-scripts | c80925836.lua | 2 | 2325 | --コアキメイル・デビル
function c80925836.initial_effect(c)
aux.AddCodeList(c,36623431)
--cost
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_END)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_M... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zwinam.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zwinam
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
mercury233/ygopro-scripts | c55990317.lua | 2 | 3372 | --神碑の翼フギン
function c55990317.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x17f),2,true)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(55990317,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:Set... | gpl-2.0 |
Fizzadar/Lua-Bits | tableToLuaFile.lua | 1 | 1954 | #!/usr/bin/env lua
--[[
turn a lua table into lua code
function values are run and the result is written to string
]]
--turn a lua table into lua code
local function tableToLua( table, indent )
indent = indent or 0
local out = ''
for k, v in pairs( table ) do
out = out .. '\n'
... | mit |
bryancall/trafficserver | plugins/lua/example/test_creq_method.lua | 17 | 1212 | -- 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 |
mercury233/ygopro-scripts | c28486799.lua | 2 | 1136 | --補充部隊
function c28486799.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--draw
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DRAW)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e2:SetCode(EVENT_DA... | gpl-2.0 |
mercury233/ygopro-scripts | c34773082.lua | 6 | 1353 | --魔玩具補綴
function c34773082.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:SetCountLimit(1,34773082+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c34773082.target)
e1:SetOperation(c34773082.activ... | gpl-2.0 |
mercury233/ygopro-scripts | c21607304.lua | 2 | 3248 | --サブテラーマリス・ボルティニア
function c21607304.initial_effect(c)
--flip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21607304,0))
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e1:SetCountLim... | gpl-2.0 |
mercury233/ygopro-scripts | c11069680.lua | 3 | 3154 | --ジャンク・コンバーター
function c11069680.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(11069680,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,11069680)
e1:SetCost(c11069680.thcost)
e1:SetTar... | gpl-2.0 |
fusijie/cocos2d-x-samples | samples/FantasyWarrior3D/frameworks/runtime-src/Classes/custom/api/ShadowSprite.lua | 9 | 1047 |
--------------------------------
-- @module ShadowSprite
-- @extend Sprite
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ShadowSprite] create
-- @param self
-- @param #string filename
-- @return ShadowSprite#ShadowSprite ret (return value: cc.ShadowSprite)
-----------------... | mit |
Zenny89/darkstar | scripts/zones/Southern_San_dOria/npcs/Raimbroy.lua | 17 | 3329 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Raimbroy
-- Starts and Finishes Quest: The Sweetest Things
-- @zone 230
-- @pos
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
mercury233/ygopro-scripts | c55991637.lua | 6 | 2160 | --火竜の火炎弾
function c55991637.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(55991637,0))
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c55991637.condition)
e1:SetT... | gpl-2.0 |
guillaume144/jeu-rp | gamemode/modules/fadmin/fadmin/access/sh_shared.lua | 4 | 9728 | CreateConVar("_FAdmin_immunity", 1, {FCVAR_GAMEDLL, FCVAR_REPLICATED, FCVAR_ARCHIVE, FCVAR_SERVER_CAN_EXECUTE})
FAdmin.Access = FAdmin.Access or {}
FAdmin.Access.ADMIN = {"user", "admin", "superadmin"}
FAdmin.Access.ADMIN[0] = "user"
FAdmin.Access.Groups = FAdmin.Access.Groups or {}
FAdmin.Access.Privileges = FAdmin.... | mit |
mercury233/ygopro-scripts | c3300267.lua | 2 | 3622 | --聖刻龍-シユウドラゴン
function c3300267.initial_effect(c)
--spsummon from hand
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetCondition(c3300267.hspcon)
e1:SetOperation(c330... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Lower_Jeuno/npcs/Domenic.lua | 34 | 1998 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Domenic
-- BCNM/KSNM Teleporter
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/settings")... | gpl-3.0 |
mercury233/ygopro-scripts | c19943114.lua | 2 | 1408 | --サイバネット・リグレッション
function c19943114.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,19943114+EFFECT_COUNT_CO... | gpl-2.0 |
m4h4n/telegram-bot | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
mercury233/ygopro-scripts | c41722932.lua | 9 | 1352 | --ダーク・ジェノサイド・カッター
function c41722932.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c41722932.condition)
e1:SetTarget(c41722932.target)
e1:SetOpera... | gpl-2.0 |
mercury233/ygopro-scripts | c4290468.lua | 2 | 3228 | --スプレンディッド・ローズ
function c4290468.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--atkdown
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(4290468,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType... | gpl-2.0 |
mercury233/ygopro-scripts | c33776843.lua | 2 | 1465 | --CNo.15 ギミック・パペット-シリアルキラー
function c33776843.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,9,3)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(33776843,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE... | gpl-2.0 |
Zenny89/darkstar | scripts/globals/mobskills/Rock_Smash.lua | 12 | 1045 | ---------------------------------------------
-- Rock Smash
--
-- Description: Damages a single target. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
felixjung/dotfiles | wezterm/wezterm.lua | 1 | 1511 | local wezterm = require 'wezterm';
-- A helper function for my fallback fonts
function font_with_fallback(name, params)
local names = {name, "Noto Color Emoji", "FuraCode Nerd Font"}
return wezterm.font_with_fallback(names, params)
end
return {
-- Font
font_size = 12.0,
font_antialias = "Greyscale", -- None... | mit |
mercury233/ygopro-scripts | c32231618.lua | 3 | 1612 | --占術姫コインノーマ
function c32231618.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetTarget(c32231618.sptg)
e1:SetOperation(c32231618.spop)
c:RegisterEffec... | gpl-2.0 |
mercury233/ygopro-scripts | c53828396.lua | 4 | 2231 | --瞬着ボマー
function c53828396.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(53828396,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_CONFIRM)
e1:SetCondition(c53828396.eqcon)
e1:SetOperation(c53828396.eqop)
... | gpl-2.0 |
notcake/gcompute | lua/gcompute/compilercontext.lua | 1 | 6820 | if CLIENT then
TestInput = nil
local function TestE2Compiler (Input)
local self = {}
function self:Error (Message)
Msg ("E2 compile error: " .. Message .. "\n")
end
local startTime = SysTime ()
local status, directives, Input = PreProcessor.Execute (Input)
if not status then self:Error(d... | gpl-3.0 |
mercury233/ygopro-scripts | c57473560.lua | 2 | 2962 | --ワイトプリンス
function c57473560.initial_effect(c)
--change code
aux.EnableChangeCode(c,32274490,LOCATION_GRAVE)
--to grave
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(57473560,0))
e2:SetCategory(CATEGORY_TOGRAVE)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_TO_GRAVE)
e2... | gpl-2.0 |
rouing/FHLG-BW | gamemode/sh_playerstats.lua | 1 | 3111 | function SetName(self, name)
return name
end
function GetName(self)
return ""
end
local mysql_hostname = 'bricksquad.net' -- Your MySQL server address.
local mysql_username = 'bricksquadbase' -- Your MySQL username.
local mysql_password = 'abase5e4y' -- Your MySQL password.
local mysql_database = 'zadmin_base... | unlicense |
Zenny89/darkstar | scripts/zones/Dangruf_Wadi/npcs/_5b1.lua | 19 | 2609 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: Strange Apparatus
-- @pos: -494 -4 -100 191
-----------------------------------
package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil;
require("scripts/zones/Dangruf_Wadi/TextIDs");
require("scripts/globals/strangeapparatus");
-------------------... | gpl-3.0 |
mercury233/ygopro-scripts | c26822796.lua | 4 | 1843 | --帝王の凍志
function c26822796.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCondition(c26822796.condition)
e1:SetTarget(c26822796.target)
e1:SetOperation(c26822796.activate)
c:RegisterEffect(... | gpl-2.0 |
mercury233/ygopro-scripts | c36484016.lua | 2 | 4351 | --ミラクルシンクロフュージョン
function c36484016.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c36484016.target)
e1:SetOperation(c36484016.activate)
c:Regis... | gpl-2.0 |
Zenny89/darkstar | scripts/globals/weaponskills/dragon_kick.lua | 30 | 1693 | -----------------------------------
-- Dragon Kick
-- Hand-to-Hand weapon skill
-- Skill Level: 225
-- Damage varies with TP.
-- Despite the name, Dragon Kick damage is not affected by Kick Attacks or equipment that enhances kick attacks such as Dune Boots. http://www.bluegartr.com/threads/121610-Rehauled-Weapon-S... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Windurst_Waters/npcs/Ahyeekih.lua | 30 | 1695 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ahyeekih
-- Only sells when Windurst controls Kolshushu
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
require("scripts/globals/c... | gpl-3.0 |
EasonYi/thrift | test/lua/test_basic_client.lua | 57 | 7626 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file ... | apache-2.0 |
mercury233/ygopro-scripts | c88962829.lua | 2 | 2965 | --騎甲虫ライト・フラッパー
function c88962829.initial_effect(c)
--add
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88962829,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1... | gpl-2.0 |
mercury233/ygopro-scripts | c29280589.lua | 2 | 4031 | --エッジインプ・サイズ
function c29280589.initial_effect(c)
--fusion summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29280589,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_HAND)
e1:SetHintTiming(0,... | gpl-2.0 |
mercury233/ygopro-scripts | c68597372.lua | 4 | 2412 | --発条機甲ゼンマイスター
function c68597372.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--atk
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(c68597372.... | gpl-2.0 |
valhallaGaming/uno | src_trunk/resources/lvpd-system/helicopters/s_helicopters.lua | 2 | 3290 | function unsitInHelicopter(vehicle)
local seat = getElementData(source, "seat")
if (isElement(vehicle)) then
if not (getElementType(vehicle)=="vehicle") then
local vehicles = exports.pool:getPoolElementsByType("vehicle")
local helicopters = { }
for key, value in ipairs(vehicles) do
if (getEle... | bsd-3-clause |
Zenny89/darkstar | scripts/zones/Abyssea-Misareaux/Zone.lua | 32 | 1543 | -----------------------------------
--
-- Zone: Abyssea - Misareaux
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Misareaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abysse... | gpl-3.0 |
mercury233/ygopro-scripts | c56308388.lua | 3 | 2091 | --クロノダイバー・リューズ
function c56308388.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(56308388,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,56308388)
e1:SetCost(c56308388.spcost)
e1:SetTa... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Upper_Jeuno/npcs/Koriso-Manriso.lua | 38 | 1024 | ----------------------------------
-- Area: Upper Jeuno
-- NPC: Koriso-Manriso
-- Type: Item Deliverer
-- @zone: 244
-- @pos -64.39 1 23.704
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
----------------------------... | gpl-3.0 |
mlepage/memory-game | res/complete.lua | 1 | 3206 | -- Memory game
-- Copyright 2013 Marc Lepage
-- Licensed under the Apache License, Version 2.0
-- http://www.apache.org/licenses/LICENSE-2.0
screen.complete = {}
-- nodes
local root
local player = {}
local next
local function animatePlayerToCenter(player)
local x, y = player:getTranslationX(), player:getTranslat... | apache-2.0 |
mercury233/ygopro-scripts | c88086137.lua | 3 | 1368 | --直通断線
function c88086137.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c88086137.condition)
e1:SetTarget(c88086137.target)
e1:SetOperation(c88086137.activate)
c:RegisterE... | gpl-2.0 |
Zenny89/darkstar | scripts/globals/items/sacred_maul.lua | 16 | 1416 | -----------------------------------------
-- ID: 18392
-- Item: Sacred Maul
-- Additional Effect: Light Damage
-- Enchantment: "Enlight"
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----... | gpl-3.0 |
mercury233/ygopro-scripts | c66380357.lua | 2 | 2972 | --機塊テスト
function c66380357.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:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,66380357+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c66380357.target)... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/North_Gustaberg/npcs/Heavy_Fog_IM.lua | 30 | 3055 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Heavy Fog, I.M.
-- Type: Border Conquest Guards
-- @pos -520.704 38.75 560.258 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conque... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Dynamis-San_dOria/bcnms/dynamis_sandoria.lua | 16 | 1180 | -----------------------------------
-- Area: Dynamis San d'Oria
-- Name: Dynamis San d'Oria
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaSandoria]UniqueID",player:getDynamisUniqueID(1281));
SetServerVaria... | gpl-3.0 |
mercury233/ygopro-scripts | c1157683.lua | 2 | 4070 | --サイバーダーク・インヴェイジョン
function c1157683.initial_effect(c)
--Activate
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_ACTIVATE)
e0:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e0)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(1157683,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFE... | gpl-2.0 |
mercury233/ygopro-scripts | c20318029.lua | 2 | 2771 | --雷源龍-サンダー・ドラゴン
function c20318029.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(20318029,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOC... | gpl-2.0 |
noname007/koreader | spec/unit/kosync_spec.lua | 4 | 5524 | require("commonrequire")
local UIManager = require("ui/uimanager")
local HTTPClient = require("httpclient")
local DEBUG = require("dbg")
local md5 = require("MD5")
--DEBUG:turnOn()
local service = [[
{
"base_url" : "https://vislab.bjmu.edu.cn:7200",
"name" : "api",
"methods" : {
"register" : {
... | agpl-3.0 |
mercury233/ygopro-scripts | c86327225.lua | 6 | 1186 | --天界王 シナト
function c86327225.initial_effect(c)
c:EnableReviveLimit()
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(86327225,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_BATTLE_DESTROY... | gpl-2.0 |
mercury233/ygopro-scripts | c25449584.lua | 2 | 2553 | --地葬星カイザ
function c25449584.initial_effect(c)
--spsummon
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:SetCountLimit(1,25449584+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c25449584.spcon)
e1:SetOp... | gpl-2.0 |
mercury233/ygopro-scripts | c58589739.lua | 2 | 1870 | --S-Force プロフェッサー・Ϝ
function c58589739.initial_effect(c)
--position change
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(58589739,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFF... | gpl-2.0 |
mercury233/ygopro-scripts | c35705817.lua | 2 | 4196 | --幽合-ゴースト・フュージョン
function c35705817.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON+CATEGORY_GRAVE_ACTION)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,35705817+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c357... | gpl-2.0 |
linushsao/marsu_game-linus-v0.2 | mods/technical/pipeworks/item_transport.lua | 1 | 10549 | local luaentity = pipeworks.luaentity
local enable_max_limit = minetest.setting_get("pipeworks_enable_items_per_tube_limit")
local max_tube_limit = tonumber(minetest.setting_get("pipeworks_max_items_per_tube")) or 30
if enable_max_limit == nil then enable_max_limit = true end
function pipeworks.tube_item(pos, item)
e... | gpl-3.0 |
ajayk/kong | kong/plugins/request-size-limiting/handler.lua | 3 | 1368 | -- Copyright (C) Mashape, Inc.
local BasePlugin = require "kong.plugins.base_plugin"
local stringy = require "stringy"
local response = require "kong.tools.responses"
local CONTENT_LENGTH = "content-length"
local RequestSizeLimitingHandler = BasePlugin:extend()
RequestSizeLimitingHandler.PRIORITY = 950
local funct... | apache-2.0 |
Zenny89/darkstar | scripts/zones/Apollyon/npcs/Radiant_Aureole.lua | 19 | 5828 | -----------------------------------
-- Area: Appolyon
-- NPC: Radiant_Aureole
-- @pos
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon... | gpl-3.0 |
mercury233/ygopro-scripts | c88069166.lua | 2 | 2069 | --オーディンの眼
function c88069166.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--confirm
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(88069166,0))
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
... | gpl-2.0 |
mercury233/ygopro-scripts | c49469105.lua | 2 | 2355 | --融合破棄
function c49469105.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c49469105.cost)
e1:SetTarget(c49469105.target)
e1:SetOperation(c49469105.operation)
c:RegisterEffect(e1)
end
fu... | gpl-2.0 |
valhallaGaming/uno | branches/2_0_3_STABLE/carlist-system/menu.lua | 1 | 6890 | function CreateCarList()
Window = {}
TabPanel = {}
Tab = {}
Button = {}
Image = {}
Window[1] = guiCreateWindow(354,187,316,417,"Vehicle ID list.",false)
TabPanel[2] = guiCreateTabPanel(701,246,150,306,false)
Tab[2] = guiCreateTab("MENU",TabPanel[2])
Button[2] = guiCreateButton(0.0133,0.0065,0.953... | bsd-3-clause |
Zenny89/darkstar | scripts/zones/Carpenters_Landing/Zone.lua | 27 | 3518 | -----------------------------------
--
-- Zone: Carpenters_Landing (2)
--
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
mercury233/ygopro-scripts | c17535764.lua | 4 | 1755 | --ゴキポール
function c17535764.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(17535764,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetProperty... | gpl-2.0 |
Zenny89/darkstar | scripts/globals/weaponskills/burning_blade.lua | 30 | 1294 | -----------------------------------
-- Burning Blade
-- Sword weapon skill
-- Skill Level: 30
-- Desription: Deals Fire elemental damage to enemy. Damage varies with TP.
-- Aligned with the Flame Gorget.
-- Aligned with the Flame Belt.
-- Element: Fire
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300... | gpl-3.0 |
valhallaGaming/uno | branches/2_0_3_STABLE/social-system/c_player_rightclick.lua | 1 | 2241 | wRightClick = nil
bAddAsFriend, bCloseMenu = nil
sent = false
ax, ay = nil
player = nil
function clickPlayer(button, state, absX, absY, wx, wy, wz, element)
if (element) then
if (getElementType(element)=="player") and (button=="right") and (sent==false) and (element~=getLocalPlayer()) then
if (wRightCli... | bsd-3-clause |
mercury233/ygopro-scripts | c2530830.lua | 2 | 3158 | --銀河眼の光波刃竜
function c2530830.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,9,3,c2530830.ovfilter,aux.Stringid(2530830,0))
c:EnableReviveLimit()
--xyzlimit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT... | gpl-2.0 |
mercury233/ygopro-scripts | c61399402.lua | 3 | 3663 | --ライトドラゴン@イグニスター
function c61399402.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(61399402,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCoun... | gpl-2.0 |
mercury233/ygopro-scripts | c74519184.lua | 2 | 1450 | --手札断殺
function c74519184.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(c74519184.target)
e1:SetOperation(c74519184.activate)
c:RegisterEffect(e1)
end
function c74519184.target(e,tp,eg,ep,ev,r... | gpl-2.0 |
samihacker/x | plugins/plugins.lua | 2 | 5891 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
mercury233/ygopro-scripts | c14878871.lua | 2 | 2899 | --レスキューキャット
function c14878871.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(14878871,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,14878871)
e1:SetCost(c14878871.spcost)
e1:SetTarg... | gpl-2.0 |
mercury233/ygopro-scripts | c12292422.lua | 2 | 2207 | --標本の閲覧
function c12292422.initial_effect(c)
aux.AddCodeList(c,59419719)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,12292422+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c12292422.cost)
e1:SetTarget(c1229242... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/_4w4.lua | 17 | 2639 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Gold Beastcoin Door
-- @zone 176
-- @pos 60 8.55 -80
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Altar_Room/npcs/Magicite.lua | 19 | 1576 | -----------------------------------
-- Area: Altar Room
-- NPC: Magicite
-- Involved in Mission: Magicite
-- @zone 152
-- @pos -344 25 43
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
fusijie/cocos2d-x-samples | samples/FantasyWarrior3D/src/cocos/cocostudio/DeprecatedCocoStudioFunc.lua | 39 | 3421 | --tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of GUIReader will be deprecated begin
local GUIReaderDeprecated = { }
function GUIReaderDeprecated.shareReader()
deprecatedTip("GUIReader... | mit |
mercury233/ygopro-scripts | c17016362.lua | 2 | 4422 | --Emトラピーズ・マジシャン
function c17016362.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_SPELLCASTER),4,2)
c:EnableReviveLimit()
--avoid damage
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CHANGE_DAMAGE)
e1:SetRange(LOCATION_MZONE)
e1:Se... | gpl-2.0 |
mercury233/ygopro-scripts | c64178424.lua | 3 | 3839 | --転生炎獣の意志
function c64178424.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(64178424,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:S... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Cloister_of_Tides/mobs/Leviathan_Prime.lua | 16 | 1908 | -----------------------------------
-- Area: Cloister of Tides
-- NPC: Leviathan Prime
-- Involved in Quest: Trial by Water, Trial Size Trial by Water
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems... | gpl-3.0 |
mercury233/ygopro-scripts | c64576557.lua | 2 | 3271 | --古代遺跡の静粛
function c64576557.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--search
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(64576557,0))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:S... | gpl-2.0 |
qq779089973/my_openwrt_mod | luci/libs/nixio/docsrc/nixio.bit.lua | 171 | 2044 | --- Bitfield operators and mainpulation functions.
-- Can be used as a drop-in replacement for bitlib.
module "nixio.bit"
--- Bitwise OR several numbers.
-- @class function
-- @name bor
-- @param oper1 First Operand
-- @param oper2 Second Operand
-- @param ... More Operands
-- @return number
--- Invert given number.
... | mit |
ajayk/kong | spec/plugins/ssl/access_spec.lua | 2 | 5620 | local spec_helper = require "spec.spec_helpers"
local url = require "socket.url"
local IO = require "kong.tools.io"
local http_client = require "kong.tools.http_client"
local cjson = require "cjson"
local ssl_fixtures = require "spec.plugins.ssl.fixtures"
local STUB_GET_SSL_URL = spec_helper.STUB_GET_SSL_URL
local STU... | apache-2.0 |
mercury233/ygopro-scripts | c67284107.lua | 2 | 1298 | --スケープ・ゴースト
function c67284107.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(67284107,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetTarget(c6728... | gpl-2.0 |
guillaume144/jeu-rp | gamemode/modules/positions/sv_database.lua | 5 | 5192 | /*---------------------------------------------------------------------------
Loading
---------------------------------------------------------------------------*/
local teamSpawns = {}
local jailPos = {}
local function onDBInitialized()
local map = MySQLite.SQLStr(string.lower(game.GetMap()))
MySQLite.query("S... | mit |
Zenny89/darkstar | scripts/zones/Batallia_Downs/Zone.lua | 17 | 4192 | -----------------------------------
--
-- Zone: Batallia_Downs (105)
--
-----------------------------------
package.loaded[ "scripts/zones/Batallia_Downs/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require( "scripts/zones/Batallia_Downs/TextIDs... | gpl-3.0 |
guillaume144/jeu-rp | entities/weapons/weapon_fiveseven2/shared.lua | 12 | 1108 | AddCSLuaFile()
if CLIENT then
SWEP.PrintName = "FiveSeven"
SWEP.Author = "DarkRP Developers"
SWEP.Slot = 1
SWEP.SlotPos = 1
SWEP.IconLetter = "u"
killicon.AddFont("weapon_fiveseven2", "CSKillIcons", SWEP.IconLetter, Color(255, 80, 0, 255))
end
SWEP.Base = "weapon_cs_base2"
SWEP.Spawnable = t... | mit |
mercury233/ygopro-scripts | c29071332.lua | 2 | 4024 | --アームズ・エイド
function c29071332.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29071332,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.