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
Herve-M/OpenRA
mods/d2k/maps/harkonnen-09a/harkonnen09a.lua
7
12633
--[[ Copyright 2007-2022 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Windurst_Woods/npcs/Meriri.lua
27
1180
----------------------------------- -- Area: Windurst Woods -- NPC: Meriri -- Guild Merchant NPC: Clothcrafting Guild -- @pos -76.471 -3.55 -128.341 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c16832845.lua
3
2812
--ファイナル・ギアス function c16832845.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE+TIMING_TOGRAVE) e1:SetCondition(c16832845.condition) e1:SetTarget(...
gpl-2.0
sempiternum/telegram-bot
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c43040603.lua
5
1901
--モンスターゲート function c43040603.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c43040603.cost) e1:SetTarget(c43040603.target) e1:SetOperation(c43040603.operation) c:RegisterEffect(e1) end function c...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c5592689.lua
7
2169
--サクリファイス・ロータス function c5592689.initial_effect(c) --Special Summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(5592689,0)) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCode(EVENT_PHASE+PHASE_END) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimi...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c68191243.lua
6
1508
--黒蠍団召集 function c68191243.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c68191243.con) e1:SetTarget(c68191243.tg) e1:SetOperation(c68191243.op) c:RegisterEffect(e1) end function...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Attohwa_Chasm/mobs/Alastor_Antlion.lua
9
1866
----------------------------------- -- Area: Attohwa Chasm -- NPC: Alastor Antlion ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); mixins = {require("scripts/mixins/families/antlion_ambush_noaggro")} ----------------------------------- -- onMobInitialize Actio...
gpl-3.0
waruqi/xmake
xmake/toolchains/sdcc/xmake.lua
1
2245
--!A cross-platform build utility based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law...
apache-2.0
Caduceus/forgottenserver
data/lib/compat/compat.lua
5
33482
TRUE = true FALSE = false result.getDataInt = result.getNumber result.getDataLong = result.getNumber result.getDataString = result.getString result.getDataStream = result.getStream LUA_ERROR = false LUA_NO_ERROR = true STACKPOS_GROUND = 0 STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE = 1 STACKPOS_SECOND_ITEM_ABOVE_GROUNDTILE...
gpl-2.0
saeedtadayon/rest-room
plugins/stats.lua
866
4001
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
mrmhxx82/Mp3Bot-NewEdit-
plugins/stats.lua
866
4001
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
Mashape/lua-resty-dns-client
spec/balancer/generic_spec.lua
1
51686
local client -- forward declaration local helpers = require "spec.test_helpers" local dnsSRV = function(...) return helpers.dnsSRV(client, ...) end local dnsA = function(...) return helpers.dnsA(client, ...) end local dnsExpire = helpers.dnsExpire for algorithm, balancer_module in helpers.balancer_types() do desc...
apache-2.0
dr01d3r/darkstar
scripts/zones/Monarch_Linn/bcnms/ancient_vows.lua
17
1926
----------------------------------- -- Area: Monarch Linn -- Name: Ancient Vows ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) end; -- Physically entering the ...
gpl-3.0
chaot4/ardour
share/scripts/s_pluginutils.lua
2
1999
ardour { ["type"] = "Snippet", name = "Plugin Utils" } function factory () return function () ------------------------------------------------------------------------------- -- List all Plugins for p in ARDOUR.LuaAPI.list_plugins():iter() do print (p.name, p.unique_id, p.type) local psets = p:get_presets() i...
gpl-2.0
dr01d3r/darkstar
scripts/globals/spells/refresh.lua
43
1077
----------------------------------------- -- Spell: Refresh -- Gradually restores target party member's MP -- Composure increases duration 3x ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- ...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c3149764.lua
6
1241
--ツタン仮面 function c3149764.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(c3149764.condition) e1:SetTarget(c3149764.target) e1:SetOperation(c3149764.activate) c:RegisterEffe...
gpl-2.0
SOCLE15/mMediaWiki
extensions/Scribunto/engines/LuaCommon/lualib/ustring/charsets.lua
8
61782
-- This file is automatically generated by make-tables.php local pats = { [0x61] = { [0x0000aa] = 1, [0x0000ba] = 1, [0x0001bb] = 1, [0x0001c0] = 1, [0x0001c1] = 1, [0x0001c2] = 1, [0x0001c3] = 1, [0x0001c5] = 1, [0x0001c8] = 1, [0x0001cb] = 1, [0x0001f2] = 1, [0x000294] = 1, [0x0002e0] = 1, ...
gpl-2.0
thegrb93/wire
lua/entities/gmod_wire_cd_lock.lua
8
3272
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire CD Lock" ENT.WireDebugName = "CD Lock" if CLIENT then return end -- No more client --Time after losing one disk to search for another local NEW_DISK_WAIT_TIME = 2 local DISK_IN_SOCKET_CONSTRAINT_POWER = 5000 local DISK_IN_ATTACH_RANGE = 16 ...
apache-2.0
dr01d3r/darkstar
scripts/zones/San_dOria-Jeuno_Airship/npcs/Nigel.lua
30
2316
----------------------------------- -- Area: San d'Oria-Jeuno Airship -- NPC: Nigel -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil; require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Upper_Jeuno/npcs/Finnela.lua
14
1040
----------------------------------- -- Area: Upper Jeuno -- NPC: Finnela -- Type: Standard NPC -- @zone 244 -- @pos -51.880 -1 106.486 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ------------------------...
gpl-3.0
rigeirani/uzrep
plugins/id.lua
355
2795
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..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c8949584.lua
9
1391
--ヒーローアライブ function c8949584.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c8949584.condition) e1:SetCost(c8949584.cost) e1:SetTarget(c8949584.target) e1:SetOperation(c8949584.ac...
gpl-2.0
diogo24/gamecode4
Assets/Scripts/LevelInit.lua
44
3469
--======================================================================== -- LevelInit.lua : A script that's executed when the level is initializing -- -- Part of the GameCode4 Application -- -- GameCode4 is the sample application that encapsulates much of the source code -- discussed in "Game Coding Complete - ...
lgpl-3.0
waruqi/xmake
xmake/actions/require/export.lua
1
1800
--!A cross-platform build utility based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law...
apache-2.0
Afforess/Big_Brother
stdlib/entity/resource.lua
1
8759
--- Resource utilities. -- @module Resource -- @usage local Resource = require('stdlib/entity/resource') Resource = {_module_name = "Resource"} --luacheck: allow defined top setmetatable(Resource, {__index = require('stdlib/core')}) local fail_if_missing = Resource.fail_if_missing local Surface = require('stdlib/area...
isc
SalvationDevelopment/Salvation-Scripts-Production
c8316661.lua
5
1340
--魔轟神ミーズトージ function c8316661.initial_effect(c) --change type local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8316661,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c8316661.cost) e1:SetTarget(c8316661.tg) e1:SetOperation(c83166...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c26638543.lua
2
3339
--メトロンノーム function c26638543.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --scale local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(26638543,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_PZONE) e1:SetCountLimit(1) e1:SetTar...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Windurst_Woods/npcs/Catalia.lua
14
1050
----------------------------------- -- Area: Windurst Woods -- NPC: Catalia -- Type: Standard NPC -- @zone 241 -- @pos -46.160 -0.501 -32.698 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; --------------...
gpl-3.0
TWilmer/vlc
share/lua/playlist/bbc_co_uk.lua
112
1468
--[[ $Id$ Copyright © 2008 the VideoLAN team Authors: Dominique Leuenberger <dominique-vlc.suse@leuenberger.net> 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 Licens...
gpl-2.0
ZHAW-INES/rioxo-uClinux-dist
vendors/InES/eva/rootfs/home/httpd/cgi-bin/pages/settings.lua
1
4678
#!/usr/bin/lua module (..., package.seeall) require("hdoip.html") require("hdoip.pipe") require("hdoip.download") -- ------------------------------------------------------------------ -- Status page -- ------------------------------------------------------------------ function show(t) local lang_cnt = 2 local ...
gpl-2.0
schrorg/openwrt-packages
net/luci-app-clamav/files/model/cbi/clamav-cbi.lua
100
6776
--[[ LuCI ClamAV module Copyright (C) 2015, Itus Networks, Inc. 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 Author: Marko Ratkaj <marko.ratkaj@sar...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Windurst_Waters/npcs/Lumomo.lua
14
3048
----------------------------------- -- Area: Windurst Waters -- NPC: Lumomo -- Type: Standard NPC -- @zone 238 -- @pos -55.770 -5.499 18.914 -- 0x027e 0x0332 0x0334 0x0336 0x0337 -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurs...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c60549248.lua
2
2382
--電池メン-角型 function c60549248.initial_effect(c) --tohand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(60549248,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_DAMAGE_STEP) e1:Set...
gpl-2.0
thegrb93/wire
lua/entities/gmod_wire_expression2/core/http.lua
2
2539
/* Simple HTTP Extension (McLovin) */ E2Lib.RegisterExtension( "http", false, "Lets E2 chips make web requests to the real internet.", "Allows any E2 to make your server make arbitrary HTTP GET requests to any site. It can use this to make HTTP requests to any IP address inside your local network." ) local cva...
apache-2.0
joev/SVUI-Temp
SVUI_Skins/components/addons/TinyDPS.lua
2
1394
--[[ ########################################################## S V U I By: Munglunch ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.select...
mit
SalvationDevelopment/Salvation-Scripts-Production
c14212201.lua
7
1921
--シャドウ・ヴァンパイア function c14212201.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(14212201,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c14212201.sptg) e1:SetOperation(c14...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_ir9.lua
14
1790
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _ir9 (Iron Gate) -- @pos 70 -1.5 140 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/missions...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c52687916.lua
5
1868
--氷結界の龍 トリシューラ function c52687916.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),2) c:EnableReviveLimit() --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(52687916,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) ...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c100912080.lua
2
5053
--ダイヤモンドダストン --Diamond Duston --Script by dest function c100912080.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_DESTROYED) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCountLimit(1) e1:SetCondition(c100912...
gpl-2.0
waruqi/xmake
xmake/modules/detect/tools/gfortran/has_flags.lua
1
3641
--!A cross-platform build utility based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law...
apache-2.0
dr01d3r/darkstar
scripts/zones/Sacrarium/mobs/Old_Professor_Mariselle.lua
23
2328
----------------------------------- -- Area: Sacrarium -- MOB: Old Professor Mariselle ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); ----------------------------------- -- onMobSpawn ----------------------------------- function onMobSpawn(mob) end; --...
gpl-3.0
sempiternum/telegram-bot
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c74892653.lua
2
3601
--スターダスト・ウォリアー function c74892653.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsType,TYPE_SYNCHRO),aux.NonTuner(Card.IsType,TYPE_SYNCHRO),1) c:EnableReviveLimit() --disable spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(74892653,0)) e1:SetCate...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c14094090.lua
6
2063
--超戦士の儀式 function c14094090.initial_effect(c) aux.AddRitualProcEqual(c,c14094090.ritual_filter) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimit(1,14094090) e1:SetCondition(aux.exccon) e1:SetCost(c14...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c87246309.lua
3
2628
--ファーニマル・オクト function c87246309.initial_effect(c) --tohand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(87246309,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,...
gpl-2.0
ponywolf/ponytiled
com/ponywolf/plugins/decor.lua
2
1029
-- tiled Plugin template -- Use this as a template to extend a tiled object with functionality local M = {} local fx = require "com.ponywolf.ponyfx" function M.new(instance) if not instance then error("ERROR: Expected display object") end if instance.decorType == "bounce" then fx.bounce(instance, instance.i...
mit
SalvationDevelopment/Salvation-Scripts-Production
c24701235.lua
2
1955
--和魂 function c24701235.initial_effect(c) --spirit aux.EnableSpiritReturn(c,EVENT_SUMMON_SUCCESS,EVENT_FLIP) --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEf...
gpl-2.0
finnw/grodlob
winapi/listbox.lua
1
6233
--proc/listbox: standard listbox control. setfenv(1, require'winapi') require'winapi.window' require'winapi.comctl' --creation WC_LISTBOX = 'ListBox' LBS_NOTIFY = 0x0001 LBS_SORT = 0x0002 LBS_NOREDRAW = 0x0004 LBS_MULTIPLESEL = 0x0008 LBS_OWNERDRAWFIXED = 0x...
mit
SalvationDevelopment/Salvation-Scripts-Production
c30860696.lua
5
1291
--ロケット戦士 function c30860696.initial_effect(c) --invincible local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e1:SetCondition(c30860696.ivcon) e1:SetValue(1) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e2:SetCode(EFFE...
gpl-2.0
retep998/Vana
scripts/npcs/refine_perion.lua
2
12229
--[[ Copyright (C) 2008-2016 Vana Development Team 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c20403123.lua
2
2057
--EMスライハンド・マジシャン function c20403123.initial_effect(c) --spsummon from hand local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_HAND) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetCondition(c20403123.hspcon) e1:SetOperation(c20403123.hspop) c:Regist...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c74298287.lua
3
2754
--水精鱗-アビスディーネ function c74298287.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(74298287,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCode(EVENT_TO_HAND) e1:SetCountLimi...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c89235196.lua
2
1254
--ビッグ・ワン・ウォリアー function c89235196.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(89235196,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c89235196.spcost) e1:SetTarget(c89235196.sptg) e1:SetOp...
gpl-2.0
dr01d3r/darkstar
scripts/globals/spells/drain_ii.lua
21
1983
----------------------------------------- -- Spell: Drain II -- Drain functions only on skill level!! ----------------------------------------- require("scripts/globals/magic"); require("scripts/globals/status"); require("scripts/globals/settings"); ----------------------------------------- -- OnSpellCast -----------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c85346853.lua
9
2293
--光子竜の聖騎士 function c85346853.initial_effect(c) c:EnableReviveLimit() --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(85346853,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c85346853.spcost) e1:SetTarget(c85346853.sp...
gpl-2.0
koreader/koreader
spec/unit/mock_time.lua
4
11171
require("commonrequire") local time = require("ui/time") local ffi = require("ffi") local dummy = require("ffi/posix_h") local logger = require("logger") local util = require("ffi/util") local C = ffi.C local MockTime = { original_os_time = os.time, original_util_time = nil, original_tv_realtime = nil, ...
agpl-3.0
dr01d3r/darkstar
scripts/zones/Garlaige_Citadel/npcs/Mashira.lua
14
2139
----------------------------------- -- Area: Garlaige Citadel -- NPC: Mashira -- Involved in Quests: Rubbish day, Making Amens! -- @pos 141 -6 138 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Al_Zahbi/npcs/Talruf.lua
14
1033
----------------------------------- -- Area: Al Zahbi -- NPC: Talruf -- Type: Standard NPC -- @zone 48 -- @pos 100.878 -7 14.291 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------------------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Geltpix.lua
14
1142
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Geltpix -- @zone 80 -- @pos 154 -2 103 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------- -- onTr...
gpl-3.0
moonlibs/tarantoolapp
tarantoolapp/fileio.lua
1
4063
local errno = require 'errno' local fio = require 'fio' local compat = require 'tarantoolapp.compat' local util = require 'tarantoolapp.util' local fileio = {} local S_IFREG = tonumber('0100000', 8) -- regular file local S_IFDIR = tonumber('0040000', 8) -- directory local modes = fio.c.mode local perms = bit.bor(...
mit
SalvationDevelopment/Salvation-Scripts-Production
c82639107.lua
4
1469
--コンバート・コンタクト function c82639107.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c82639107.condition) e1:SetTarget(c82639107.target) e1:SetOperation(c82639107.activate) c:Re...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c91345518.lua
3
1328
--裁きの代行者 サターン function c91345518.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(91345518,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c91345518.damcost) e1:SetTarg...
gpl-2.0
dr01d3r/darkstar
scripts/globals/weaponskills/slug_shot.lua
16
1558
----------------------------------- -- Slug Shot -- Marksmanship weapon skill -- Skill Level: 175 -- Delivers an inparams.accurate attack that deals quintuple damage. params.accuracy varies with TP. -- Despite the lack of a STR weaponskill mod, STR is still the most potent stat for increasing this weaponskill's damage ...
gpl-3.0
salamader/ffxi-a
scripts/zones/Beaucedine_Glacier/Zone.lua
2
1969
----------------------------------- -- -- Zone: Beaucedine_Glacier (111) -- ----------------------------------- package.loaded[ "scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; require( "scripts/zones/Beaucedine_Glacier/TextIDs"); require( "scripts/globals/missions"); require( "scripts/globals/icanhearara...
gpl-3.0
jcdenton/mono-ui-cfg
AddOns/m_Bags/cargBags/base/implementation.lua
1
14075
--[[ cargBags: An inventory framework addon for World of Warcraft Copyright (C) 2010 Constantin "Cargor" Schomburg <xconstruct@gmail.com> cargBags 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; eit...
mit
CapsAdmin/goluwa
game/lua/modules/luacheck/decoder.lua
1
4988
local unicode = require("luacheck.unicode") local utils = require("luacheck.utils") local decoder = {} local sbyte = string.byte local sfind = string.find local sgsub = string.gsub local ssub = string.sub -- `LatinChars` and `UnicodeChars` objects represent source strings -- and provide Unicode-aware access to them wit...
gpl-3.0
Shayan123456/botttttt12
plugins/chatbot.lua
5
1828
--shared by @blackhatchannel local function run(msg) if msg.text == "hi" then return "Hello bb" end if msg.text == "Hi" then return "Hello honey" end if msg.text == "Hello" then return "Hi bb" end if msg.text == "hello" then return "Hi honey" end if msg.text == "Salam" then return "Salam aleykom" end if msg.text =...
gpl-2.0
Baylamon/Illarion-Content
npc/base/condition/magictype.lua
3
2237
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
marcelstoer/nodemcu-firmware
app/lua53/host/tests/sort.lua
7
8340
-- $Id: sort.lua,v 1.38 2016/11/07 13:11:28 roberto Exp $ -- See Copyright Notice in file all.lua print "testing (parts of) table library" print "testing unpack" local unpack = table.unpack local maxI = math.maxinteger local minI = math.mininteger local function checkerror (msg, f, ...) local s, err = pcall(f, ...
mit
TBSHRichard/ROBLOX-Markup-Language
lib/com/blacksheepherd/roml/RomlObject.lua
1
4346
local HashMap local _currentId = 1 if game then HashMap = require(game:GetService("ServerScriptService").com.blacksheepherd.util.HashMap) else HashMap = require("com.blacksheepherd.util.HashMap") end local RomlObject do local _base_0 = { SetParent = function(self, parent) self._parent = parent if ...
mit
SirFrancisBillard/stupid-ttt
stupid-ttt/lua/entities/ttt_c4/shared.lua
1
17879
-- c4 explosive local math = math if SERVER then AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") end if CLIENT then -- this entity can be DNA-sampled so we need some display info ENT.Icon = "vgui/ttt/icon_c4" ENT.PrintName = "C4" local GetPTranslation = LANG.GetParamTranslation local hin...
gpl-3.0
salamader/ffxi-a
scripts/globals/weaponskills/vidohunir.lua
2
1694
----------------------------------- -- Vidohunir -- Staff weapon skill -- Skill Level: N/A -- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP. -- Reduces enemy's magic defense by 10%. -- Available only after completing the Unlocking a Myth (Black...
gpl-3.0
whinis/OpenRA
mods/cnc/maps/nod05/nod05.lua
10
10863
NodUnitsVehicle = { 'bike', 'bike', 'bggy', 'ltnk', 'bike', 'bike' } NodUnitsRocket = { 'e1', 'e1', 'e1', 'e1' } NodUnitsGunner = { 'e3', 'e3', 'e3', 'e3' } GDIReinforceUnits = { 'e2', 'e2', 'e2', 'e2', 'e2' } Gdi1Units = { ['e1'] = 3, ['e2'] = 1 } Gdi2Units = { ['e1'] = 2, ['e2'] = 1 } Gdi3Units = { ['jeep'] = 1 } Gd...
gpl-3.0
salamader/ffxi-a
scripts/zones/Windurst_Woods/npcs/Palyalya.lua
5
1041
----------------------------------- -- Area: Windurst Woods -- NPC: Palyalya -- Type: Adv. Assistant -- @zone: 241 -- @pos: 62.298 -3.499 -128.093 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; --------...
gpl-3.0
mahdikord/mahdib
plugins/banhammer.lua
34
11497
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
GreatBigBushyBeard/PAYDAY-2-BeardLib
Classes/Utils/Table.lua
2
11423
-- From: http://stackoverflow.com/questions/7183998/in-lua-what-is-the-right-way-to-handle-varargs-which-contains-nil function table.pack(...) return {n = select("#", ...), ...} end function table.merge(og_table, new_table) if not new_table then return og_table end for i, data in pairs(new_tab...
mit
salamader/ffxi-a
scripts/zones/Foret_de_Hennetiel/Zone.lua
2
1131
----------------------------------- -- -- Zone: Foret de Hennetiel -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Foret_de_Hennetiel/TextIDs"] = nil; require("scripts/zones/Foret_de_Hennetiel/TextIDs"); ----------------------------------- -- onI...
gpl-3.0
salamader/ffxi-a
scripts/zones/Lower_Jeuno/npcs/Sutarara.lua
2
1694
----------------------------------- -- Area: Lower Jeuno -- NPC: Sutarara -- Involved in Quests: Tenshodo Menbership (before accepting) -- @zone 245 -- @pos 30 0 -2 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
fegimanam/tb
plugins/all.lua
54
4746
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
davedevils/MineClone
mods/redstone/mesecons/internal.lua
4
14484
-- Internal.lua - The core of mesecons -- -- For more practical developer resources see mesecons.tk -- -- Function overview -- mesecon:get_effector(nodename) --> Returns the mesecons.effector -specifictation in the nodedef by the nodename -- mesecon:get_receptor(nodename) --> Returns the mesecons.receptor -spec...
lgpl-2.1
davedevils/MineClone
mods/mobs/spider.lua
3
1031
mobs:register_mob("mobs:spider", { type = "monster", hp_max = 16, --collisionbox = {-0.4, -1.0, -0.4, 0.4, 0.8, 0.4}, collisionbox = {-0.9, -0.01, -0.7, 0.7, 0.6, 0.7}, visual_size = {x=7,y=7}, visual = "mesh", mesh = "creatures_spider.x", textures = {"mobs_spider.png"}, --visual_size = {x = 1.1, y = ...
lgpl-2.1
CapsAdmin/goluwa
core/bin/shared/jit/dis_arm.lua
1
19631
---------------------------------------------------------------------------- -- LuaJIT ARM disassembler module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
gpl-3.0
salamader/ffxi-a
scripts/zones/Southern_San_dOria/npcs/Vaquelage.lua
2
1521
----------------------------------- -- Area: Southern San dOria -- NPC: Vaquelage -- Type: Item Deliverer NPC -- @zone: 230 -- @pos: 17.396 1.699 -29.357 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
g0g0dancer/searework
LuaUI/Widgets/chili_new/controls/image.lua
9
3306
--//============================================================================= --- Image module --- Image fields. -- Inherits from Control. -- @see button.Button -- @table Image -- @tparam {r,g,b,a} color color, (default {1,1,1,1}) -- @string[opt=nil] file path -- @bool[opt=true] keepAspect aspect should be kept -...
gpl-2.0
cardentity/DarkRP
gamemode/modules/fadmin/fadmin/playeractions/ignite/sv_init.lua
3
1560
local function Ignite(ply, cmd, args) local targets = FAdmin.FindPlayer(args[1]) if not targets or #targets == 1 and not IsValid(targets[1]) then FAdmin.Messages.SendMessage(ply, 1, "Player not found") return end local time = tonumber(args[2] or 10) for _, target in pairs(targets) do if not FAdmin.Access.P...
mit
kyle-wang/skynet
test/testrediscluster.lua
11
2488
local skynet = require "skynet" local rediscluster = require "skynet.db.redis.cluster" local test_more = ... skynet.start(function () local db = rediscluster.new({ {host="127.0.0.1",port=7000}, {host="127.0.0.1",port=7001},}, {read_slave=true,auth=nil,db=0,} ) db:del("list") db:del("map") db:rpush("list",1...
mit
male-puppies/luci
applications/luci-app-radicale/luasrc/model/cbi/radicale.lua
39
27698
-- Copyright 2015 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed under the Apache License, Version 2.0 local NXFS = require("nixio.fs") local DISP = require("luci.dispatcher") local DTYP = require("luci.cbi.datatypes") local HTTP = require("luci.http") local UTIL = require("luci.ut...
apache-2.0
Skyscanner/kong
spec/plugins/ratelimiting/daos_spec.lua
12
3625
local spec_helper = require "spec.spec_helpers" local timestamp = require "kong.tools.timestamp" local uuid = require "uuid" local env = spec_helper.get_env() local dao_factory = env.dao_factory local ratelimiting_metrics = dao_factory.ratelimiting_metrics describe("Rate Limiting Metrics", function() local api_id =...
mit
salamader/ffxi-a
scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua
4
1027
----------------------------------- -- Area: Al Zahbi -- NPC: Eumoa-Tajimoa -- Type: Standard NPC -- @zone: 48 -- @pos: 19.275 -1 55.182 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------...
gpl-3.0
sutambe/rticonnextdds-ddsl
src/ddsl/xtypes/utils/to_instance_string_table.lua
2
4356
--[[ Copyright (C) 2015 Real-Time Innovations, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
apache-2.0
salamader/ffxi-a
scripts/globals/effects/curse_i.lua
39
1034
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) --NOTE: The power amount dictates the amount to REDU...
gpl-3.0
CapsAdmin/goluwa
framework/lua/libraries/graphics/render2d/camera.lua
1
1626
local render2d = ... or _G.render2d render2d.camera = camera.CreateCamera() render2d.camera:Set3D(false) render2d._camera = render2d.camera function render2d.SetCamera(cam) render2d.camera = cam or render2d._camera end function render2d.GetSize() return render2d.camera.Viewport.w, render2d.camera.Viewport.h end do...
gpl-3.0
GTWCode/GTW-RPG
[misc]/modloader/handling.lua
3
3015
handlingProperties = { "identifier", "mass", "turnMass", "dragCoeff", "centerOfMassX", "centerOfMassY", "centerOfMassZ", "percentSubmerged", "tractionMultiplier", "tractionLoss", "tractionBias", "numberOfGears", "maxVelocity", "engineAcceleration", "engineInertia", "driveType", "engineType", "brakeDecelera...
bsd-2-clause
salamader/ffxi-a
scripts/zones/Yuhtunga_Jungle/npcs/Richacha_WW.lua
4
2901
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Richacha, W.W. -- Border Conquest Guards -- @pos -241.334 -1 478.602 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requ...
gpl-3.0
salamader/ffxi-a
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ghanraam.lua
2
4825
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ghanraam -- Type: "Nyzul Weapon/Salvage Armor Storer," -- @zone: 50 -- @pos: 108.773 -6.999 -51.297 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Ah...
gpl-3.0
g0g0dancer/searework
LuaRules/Gadgets/exp_no_air_nuke.lua
17
1024
-- $Id: exp_no_air_nuke.lua 3171 2008-11-06 09:06:29Z det $ function gadget:GetInfo() return { name = "NoAirNuke", desc = "Disables the custom nuke effect, if the nuke is shoot in the air.", author = "jK", date = "Dec, 2007", license = "GNU GPL, v2 or later", layer = 0...
gpl-2.0
g0g0dancer/searework
scripts/slowmort.lua
8
6437
local support = piece 'support' local flare = piece 'flare' local thigh1 = piece 'thigh1' local thigh2 = piece 'thigh2' local torso = piece 'torso' local barrel = piece 'barrel' local foot2 = piece 'foot2' local foot1 = piece 'foot1' local leg2 = piece 'leg2' local leg1 = piece 'leg1' include "constants.lua"...
gpl-2.0
jinshiyi11/QuickTest
src/framework/cc/ui/UISlider.lua
1
14438
--[[ Copyright (c) 2011-2014 chukong-inc.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 to use, copy, modify, merge, pub...
apache-2.0
salamader/ffxi-a
scripts/zones/Grand_Palace_of_HuXzoi/mobs/Ix_ghrah.lua
2
1228
----------------------------------- -- Area: Grand Palace of Hu'Xzoi (34) -- NPC: Ix_ghrah ----------------------------------- require("scripts/globals/status"); require("scripts/globals/missions"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMob...
gpl-3.0