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
db260179/openwrt-bpi-r1-luci
modules/luci-base/luasrc/tools/webadmin.lua
59
2301
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.tools.webadmin", package.seeall) local util = require "luci.util" local uci = require "luci.model.uci" local ip = require "luci.ip" func...
apache-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Port_Jeuno/npcs/Rachocho.lua
5
1024
----------------------------------- -- Area: Port Jeuno -- NPC: Rachocho -- Type: Standard NPC -- @zone: 246 -- @pos: 3.789 7 -59.411 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; -------------------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c6666668.lua
2
1238
--Lýkos, Shaderune Demon Warrior function c6666668.initial_effect(c) c:EnableUnsummonable() --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetDescription(aux.Stringid(6666668,0)) e...
gpl-3.0
waytim/darkstar
scripts/zones/Windurst_Waters/npcs/Dienger.lua
13
1057
----------------------------------- -- Area: Windurst Waters -- NPC: Dienger -- Type: Melody Minstrel -- @zone: 238 -- @pos -46.448 -6.312 212.384 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c78219322.lua
1
5693
--The City of Nano Engineering function c78219322.initial_effect(c) c:SetCounterLimit(0x1115,7) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --atkup local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c77628900.lua
2
3388
--Griffin, Guardian of the Black Art function c77628900.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_HAND) e1:SetCode(EFFECT_SPSUMMON_CONDITIO...
gpl-3.0
waytim/darkstar
scripts/zones/Metalworks/npcs/Franziska.lua
15
1120
----------------------------------- -- Area: Metalworks -- NPC: Franziska -- Type: Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); ----------------------------------- -- on...
gpl-3.0
forcecore/OpenRA
mods/ra/maps/soviet-02a/soviet02a.lua
6
5648
--[[ Copyright 2007-2017 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
waytim/darkstar
scripts/zones/Rabao/npcs/Maryoh_Comyujah.lua
13
2086
----------------------------------- -- Area: Rabao -- NPC: Maryoh Comyujah -- Involved in Mission: The Mithra and the Crystal (Zilart 12) -- @pos 0 8 73 247 ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems");...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c99970502.lua
2
2240
--DAL - Izayoi Miku function c99970502.initial_effect(c) --Negate Attack local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BE_BATTLE_TARGET) e1:SetTarget(c99970502.natg) e1:SetOperation(c99970502.naop) c:Register...
gpl-3.0
waytim/darkstar
scripts/globals/items/roast_turkey.lua
18
1176
----------------------------------------- -- ID: 5620 -- Item: roast_turkey -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 4 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----...
gpl-3.0
MinFu/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
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Northern_San_dOria/npcs/Miageau.lua
2
2368
----------------------------------- -- Area: Northern San d'Oria -- NPC: Miageau -- Type: Quest Giver NPC -- @zone: 231 -- @pos: 115 0 108 -- -- Starts and Finishes: Waters of Cheval ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ------------------------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c1143235.lua
2
5012
--ANTI-MATTERVERSE, The Gate to Wierd Worlds function c1143235.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --dig local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(1143235,0)) e2:SetCategory(CATEGORY...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c951234232.lua
2
2042
--Hierunyph O. Uail function c951234232.initial_effect(c) --spsummon proc local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c951234232.hspcon) e1:SetOperation(c951234232.hspop) c:Regis...
gpl-3.0
waytim/darkstar
scripts/zones/West_Sarutabaruta/TextIDs.lua
13
2666
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obt...
gpl-3.0
gfgtdf/wesnoth-old
data/ai/micro_ais/cas/ca_forest_animals_tusker_attack.lua
5
2159
local AH = wesnoth.require "ai/lua/ai_helper.lua" local M = wesnoth.map local function get_tuskers(cfg) local tuskers = AH.get_units_with_moves { side = wesnoth.current.side, type = cfg.tusker_type } return tuskers end local function get_adjacent_enemies(cfg) local adjacent_enemies = A...
gpl-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c100000885.lua
2
4533
--Created and coded by Rising Phoenix function c100000885.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(100000885,0)) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:Set...
gpl-3.0
TienHP/Aquaria
files/scripts/entities/bigmaul.lua
6
3581
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
db260179/openwrt-bpi-r1-luci
applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua
1
1742
-- Copyright (c) 2016, prpl Foundation -- -- Permission to use, copy, modify, and/or distribute this software for any purpose with or without -- fee is hereby granted, provided that the above copyright notice and this permission notice appear -- in all copies. -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL...
apache-2.0
narner/Soundpipe
modules/data/slice.lua
3
1513
sptbl["slice"] = { files = { module = "slice.c", header = "slice.h", example = "ex_slice.c", }, func = { create = "sp_slice_create", destroy = "sp_slice_destroy", init = "sp_slice_init", compute = "sp_slice_compute", }, params = { ma...
mit
TienHP/Aquaria
files/scripts/entities/groundshockerattackl.lua
6
1178
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c77777729.lua
2
3167
--Witchcrafter Spooky Sanctuary function c77777729.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --RUM to hand local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e2:SetType(EFFECT_TYPE...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c25667891.lua
2
1468
--King of Wishes, Hope function c25667891.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:SetCondition(c25667891.condition) e1:SetTarget(c25667891.target) e...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c29001792.lua
2
3552
--D.S. Sea Dragon function c29001792.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WATER),aux.NonTuner(Card.IsRace,RACE_FISH),1) c:EnableReviveLimit() --synchro summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(29001792,0...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Lufaise_Meadows/Zone.lua
2
1923
----------------------------------- -- -- Zone: Lufaise_Meadows (24) -- ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/missions"); ----------------------------------- -- onInitialize ----------------------------------- function onInitialize(zone) local Colorful_Le...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c90000042.lua
2
3034
--Toxic Level Adjuster Lady function c90000042.initial_effect(c) --Pendulum Summon aux.EnablePendulumAttribute(c) --Level Change local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_PZONE) e1:SetCountLimit(1) e1:SetTarget(c90000042.target...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c66666693.lua
2
3309
--Seafarer Steward Jack function c66666693.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,66666693) e1:SetDescription(aux.Stringid(66666693,0)) ...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c99970760.lua
1
3836
--DAL - Angel function c99970760.initial_effect(c) --Special Summon + Search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(99970760,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCC...
gpl-3.0
mehrpouya81/gamerspm
plugins/invite.lua
299
1025
-- Invite other user to the chat group. -- Use !invite name User_name or !invite id id_number -- The User_name is the print_name (there are no spaces but _) do local function callback(extra, success, result) vardump(success) vardump(result) end local function run(msg, matches) local user = matches[2] -- Use...
gpl-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c22769914.lua
2
4035
--Dreadnought Mark - Z02 Grad function c22769914.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WIND),10,2) c:EnableReviveLimit() --spsummon limit local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(E...
gpl-3.0
waytim/darkstar
scripts/globals/spells/hyoton_san.lua
21
1278
----------------------------------------- -- Spell: Hyoton: San -- Deals ice damage to an enemy and lowers its resistance against fire. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast --------------...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/The_Celestial_Nexus/npcs/_515.lua
2
1386
----------------------------------- -- Area: 181 -- NPC: Celestial gate ----------------------------------- package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("scripts/globals/missions"); re...
gpl-3.0
X-Raym/REAPER-ReaScripts
Envelopes/Automation Items/X-Raym_Delete automation items in time selection.lua
1
3936
--[[ * ReaScript Name: Delete automation items in time selection * Author: X-Raym * Author URI: https://extremraym.com * Repository: GitHub > X-Raym > REAPER-ReaScripts * Repository URI: https://github.com/X-Raym/REAPER-ReaScripts * Licence: GPL v3 * REAPER: 5.0 * Version: 1.0 --]] --[[ * Changelog: * v1.0 (...
gpl-3.0
chatid/fend
include/string.lua
1
7665
include "xlocale" ffi.cdef [[ extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__ , __le...
mit
waytim/darkstar
scripts/zones/Escha_ZiTah/Zone.lua
34
1440
----------------------------------- -- -- Zone: Escha - Zi'Tah (288) -- ----------------------------------- package.loaded["scripts/zones/Escha_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Escha_ZiTah/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/zone"); ...
gpl-3.0
TienHP/Aquaria
files/scripts/entities/greenseadragon.lua
6
6527
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
CaptainPRICE/wire
lua/entities/gmod_wire_egp/cl_init.lua
9
1335
include('shared.lua') ENT.gmod_wire_egp = true function ENT:Initialize() self.GPU = GPULib.WireGPU( self ) self.RenderTable = {} self:EGP_Update( EGP.HomeScreen ) end function ENT:EGP_Update( Table ) self.NeedsUpdate = true self.NextUpdate = Table end function ENT:_EGP_Update( bool ) self.NeedsUpdate = nil ...
apache-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c112000014.lua
2
1249
--Corrupted Metal Dragon function c112000014.initial_effect(c) -- local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(112000014,0)) e1:SetCategory(CATEGORY_HANDES+CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c112000014.target) e1:S...
gpl-3.0
waytim/darkstar
scripts/globals/items/serving_of_crimson_jelly.lua
18
1411
----------------------------------------- -- ID: 5144 -- Item: serving_of_crimson_jelly -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 12 -- Magic Cap 85 -- Intelligence 6 -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/globals/status");...
gpl-3.0
waytim/darkstar
scripts/globals/items/prized_angler_stewpot.lua
18
2003
----------------------------------------- -- ID: 5613 -- Item: Prized Angler's Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% -- MP +20 -- Dexterity 4 -- Agility 2 -- Mind 2 -- HP Recovered while healing 9 -- MP Recovered while healing 3 -- Accuracy 1...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/weaponskills/skullbreaker.lua
4
1352
----------------------------------- -- Skullbreaker -- Club weapon skill -- Skill level: 150 -- Lowers enemy's INT. Chance of lowering INT varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Snow Gorget & Aqua Gorget. -- Aligned with the Snow Belt & Aqua Belt. -- Element: None -- Modifiers: ST...
gpl-3.0
waytim/darkstar
scripts/zones/Kazham/npcs/Thali_Mhobrum.lua
13
1641
----------------------------------- -- Area: Kazham -- NPC: Thali Mhobrum -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); local path = { 55.816410, -11.000000, -43.992680, 54.761787, -11.000000, -44.046181, 51.8058...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Crawlers_Nest_[S]/Zone.lua
4
1239
----------------------------------- -- -- Zone: Crawlers_Nest_[S] (171) -- ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Crawlers_Nest_[S]/TextIDs"); ----------------------------------- -- onInitialize -...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c100000996.lua
2
2286
--Created and coded by Rising Phoenix function c100000996.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(100000996,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_GRAVE+LOCATION_REMOVED) e1:SetCost(c100000996.cost) e1:SetTarg...
gpl-3.0
waytim/darkstar
scripts/zones/East_Ronfaure/npcs/Cheval_River.lua
13
1679
----------------------------------- -- Area: East Ronfaure -- NPC: Cheval_River -- @pos 223 -58 426 101 -- Involved in Quest: Waters of Cheval ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); r...
gpl-3.0
waytim/darkstar
scripts/zones/RuLude_Gardens/npcs/Macchi_Gazlitah.lua
12
1947
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Macchi Gazlitah -- Standard Mechant NPC -- Sells base items, then sells better items based -- on a gil amount of what has been already purchased -- in a given timeframe. ----------------------------------- require("scripts/globals/shop"); r...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c123211.lua
2
4391
-- Arcana Force XIX The Sun function c123211.initial_effect(c) --coin local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(123211,0)) e1:SetCategory(CATEGORY_COIN) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c123211.cointg) e1:SetOperation(c123211...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c99990441.lua
2
3525
--SAO - Yuuki ALO function c99990441.initial_effect(c) --Synchro summon aux.AddSynchroProcedure2(c,nil,aux.NonTuner(Card.IsSetCard,9999)) c:EnableReviveLimit() --Attack all monsters local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_ATTACK_ALL) e1:SetValue(1) c:RegisterEffect(e...
gpl-3.0
waytim/darkstar
scripts/zones/Kazham/npcs/Hari_Pakhroib.lua
29
3020
----------------------------------- -- Area: Kazham -- NPC: Hari Pakhroib -- Starts and Finishes Quest: Greetings to the Guardian ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/globals/t...
gpl-3.0
waytim/darkstar
scripts/zones/Metalworks/npcs/Elayne.lua
33
1375
----------------------------------- -- Area: Metalworks -- NPC: Elayne -- Involved in Quest: Stamp Hunt ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Metalworks/TextIDs"); ---...
gpl-3.0
jixianliang/DBProxy
examples/tutorial-monitor.lua
4
5491
--[[ $%BEGINLICENSE%$ Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. 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 dis...
gpl-2.0
hacker44-h44/spammer
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
waytim/darkstar
scripts/globals/homepoint.lua
13
17850
require("scripts/globals/settings"); local homepoints = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25, 26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50, 51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75, 76,77,78,79,80,81...
gpl-3.0
waytim/darkstar
scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua
59
2394
----------------------------------- -- Area: Qu'Bia Arena -- NPC: Those Who Lurk in Shadows -- @pos -221 -24 19 206 ----------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"...
gpl-3.0
ZACTELEGRAM1/EMAM-ALI
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c100000924.lua
2
4768
--Created and coded by Rising Phoenix function c100000924.initial_effect(c) --atk def local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(100000924,0)) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_M...
gpl-3.0
waytim/darkstar
scripts/zones/Metalworks/npcs/Raibaht.lua
26
3265
----------------------------------- -- Area: Metalworks -- NPC: Raibaht -- Starts and Finishes Quest: Dark Legacy -- Involved in Quest: The Usual, Riding on the Clouds -- @pos -27 -10 -1 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c12310735.lua
2
3629
--Gaping Dragon --lua script by SGJin function c12310735.initial_effect(c) --Synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),aux.NonTuner(nil),1) c:EnableReviveLimit() --Special Summon cant be negated local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNO...
gpl-3.0
waytim/darkstar
scripts/globals/items/chocolate_rarab_tail.lua
18
1193
----------------------------------------- -- ID: 5921 -- Item: Chocolate Rarab Tail -- Food Effect: 3 Min, All Races ----------------------------------------- -- Dexterity 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/abilities/sublimation.lua
2
1275
----------------------------------- -- Ability: Sublimation ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- OnUseAbility ----------------------------------- function OnAbilityCheck(player,target,ability) return 0,0; e...
gpl-3.0
waytim/darkstar
scripts/globals/mobskills/Sickle_Slash.lua
34
1178
--------------------------------------------------- -- Sickle Slash -- Deals critical damage. Chance of critical hit varies with TP. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ------------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c36354008.lua
2
1641
--ギルフォード·ザ·ライトニング function c36354008.initial_effect(c) --summon with 3 tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(36354008,0)) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c36354008.ttco...
gpl-3.0
Desarrollo-Bots-Telegram-ES/TestBot
plugins/google.lua
2
1036
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
waytim/darkstar
scripts/globals/spells/doton_san.lua
21
1275
----------------------------------------- -- Spell: Doton: San -- Deals earth damage to an enemy and lowers its resistance against wind. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -------------...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/monstertpmoves.lua
2
21014
require("scripts/globals/magic"); require("scripts/globals/magicburst") require("scripts/globals/status") -- Foreword: A lot of this is good estimating since the FFXI playerbase has not found all of info for individual moves. -- What is known is that they roughly follow player Weaponskill calculations (pDIF, dMOD, r...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Davoi/npcs/Hide_Flap.lua
4
2618
----------------------------------- -- Area: Davoi -- NPC: Hide Flap -- Involved in Quest: The Doorman, The First Meeting -- @zone 149 -- @pos 293 3 -213 (WAR)(K-9) @pos -124 3 -43 (MNK)(F-7) ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- r...
gpl-3.0
remjey/luaotp
src/otp.lua
1
7120
local M = {} local bxx = require"basexx" local rand = require"openssl.rand" local hmac = require"openssl.hmac" ------ Lua 5.3 compatibility ------ local unpack = unpack or table.unpack ------ Defaults ------ local serializer_format_version = 1 local default_key_length = 15 local default_digits = 6 local default_...
mit
jixianliang/DBProxy
lib/load-multi.lua
4
14764
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. 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 dis...
gpl-2.0
gfgtdf/wesnoth-old
data/campaigns/World_Conquest/lua/map/generator/maritime.lua
4
6120
local function generate(length, villages, castle, iterations, size, players, island) local res = wct_generator_settings_arguments( length, villages, castle, iterations, size, players, island) res.max_lakes=90 res.min_lake_height=250 res.lake_size=60 res.river_frequency=100 res.temperature_size=7 res.roads=25 ...
gpl-2.0
waytim/darkstar
scripts/zones/Windurst_Woods/npcs/Nikkoko.lua
53
1835
----------------------------------- -- Area: Windurst Woods -- NPC: Nikkoko -- Type: Clothcraft Image Support -- @pos -32.810 -3.25 -113.680 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Northern_San_dOria/npcs/Morunaude.lua
6
1370
----------------------------------- -- Area: Northern San d'Oria -- NPC: Morunaude -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); requ...
gpl-3.0
waytim/darkstar
scripts/zones/Rolanberry_Fields/npcs/Saarlan.lua
29
8425
----------------------------------- -- Area: Rolanberry Fields -- NPC: Saarlan -- Legion NPC -- @pos 242 24.395 468 ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/key...
gpl-3.0
GregSatre/nn
CMulTable.lua
31
1238
local CMulTable, parent = torch.class('nn.CMulTable', 'nn.Module') function CMulTable:__init() parent.__init(self) self.gradInput = {} end function CMulTable:updateOutput(input) self.output:resizeAs(input[1]):copy(input[1]) for i=2,#input do self.output:cmul(input[i]) end return self.output e...
bsd-3-clause
waytim/darkstar
scripts/zones/Apollyon/mobs/Adamantshell.lua
4
1251
----------------------------------- -- Area: Apollyon SE -- NPC: Adamantshell ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ---------------------------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c512000103.lua
2
5225
--Colorless, Chaos King of Dark World function c512000103.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode2(c,99458769,34230233,true,true) --spsummon condition local e0=Effect.CreateEffect(c) e0:SetType(EFFECT_TYPE_SINGLE) e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOP...
gpl-3.0
Contatta/prosody-modules
mod_onhold/mod_onhold.lua
32
2253
-- Prosody IM -- Copyright (C) 2008-2009 Matthew Wild -- Copyright (C) 2008-2009 Waqas Hussain -- Copyright (C) 2009 Jeff Mitchell -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local datamanager = require "util.datamanager"; local jid_bare = requi...
mit
TheOnePharaoh/YGOPro-Custom-Cards
script/c512000062.lua
2
1786
--スター・フォース function c512000062.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCost(c512000062.cost) e1:SetTarget(c512000062.target) e1:SetOperation(c51200...
gpl-3.0
waytim/darkstar
scripts/zones/Windurst_Waters/npcs/Orez-Ebrez.lua
17
1793
----------------------------------- -- Area: Windurst Waters -- NPC: Orez-Ebrez -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/zones/Windurst_Waters/TextI...
gpl-3.0
waytim/darkstar
scripts/globals/abilities/penury.lua
27
1096
----------------------------------- -- Ability: Penury -- Reduces the MP cost of your next white magic spell by 50%. -- Obtained: Scholar Level 10 -- Recast Time: Stratagem Charge -- Duration: 1 white magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge -- ----- -------- ...
gpl-3.0
waytim/darkstar
scripts/zones/Qufim_Island/npcs/qm3.lua
29
4306
----------------------------------- -- Area: Qufim Island -- NPC: ??? (qm3) -- Mission: ACP - The Echo Awakens -- @zone 126 -- @pos -120.342 -19.471 306.661 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Qufim...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c99200174.lua
2
1904
--Dark Android Berserker function c99200174.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --immune local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_IMMUNE_EFFECT) e2:SetRange(LOCATION_PZONE) e2:SetTargetRange(LOCATION_MZONE,0) e2:SetTarget(aux.TargetBoolFunct...
gpl-3.0
TienHP/Aquaria
files/scripts/entities/starmie2.lua
6
1141
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/dish_of_spaghetti_carbonara.lua
3
1691
----------------------------------------- -- ID: 5190 -- Item: dish_of_spaghetti_carbonara -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 175 -- Magic 10 -- Strength 4 -- Vitality 2 -- Intelligence -3 -- Attack % 17 -- Attack Cap 65 -- Store TP 4 ----------------...
gpl-3.0
TienHP/Aquaria
files/scripts/entities/_unused/transitfish.lua
6
1178
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
TienHP/Aquaria
files/scripts/entities/collectiblearnassistatue.lua
6
1427
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
wanmaple/MWFrameworkForCocosLua
frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/extension/DeprecatedExtensionFunc.lua
39
1309
--tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of CCControl will be deprecated end local CCControlDeprecated = { } function CCControlDeprecated.addHandleOfControlEvent(self,func,controlEve...
apache-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters_[S]/npcs/Ekki-Mokki.lua
4
1049
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ekki-Mokki -- Type: Standard NPC -- @zone: 94 -- @pos: -26.558 -4.5 62.930 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ...
gpl-3.0
X-Raym/REAPER-ReaScripts
Items Properties/X-Raym_Toggle selected items active take sources online-offline.lua
1
1959
--[[ * ReaScript Name: Toggle selected items active take sources online-offline * Author: X-Raym * Author URI: https://www.extremraym.com * Repository: GitHub > X-Raym > REAPER-ReaScripts * Repository URI: https://github.com/X-Raym/REAPER-ReaScripts * Forum Thread: Online / Offline takes * Forum Thread URI: http...
gpl-3.0
TienHP/Aquaria
files/scripts/entities/moneye.lua
6
6675
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/gear_sets.lua
2
16164
----------------------------------- -- Author: Linkandentity -- Gear sets -- Allows the use of gear sets with modifiers ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- 5 peice sets with 1 mod only -- The order of id's must be as follows: -- Head, Body, H...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/serving_of_batagreen_sautee.lua
3
1304
----------------------------------------- -- ID: 4553 -- Item: serving_of_batagreen_sautee -- Food Effect: 180Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -2 -- Ranged ACC % 7 -- Ranged ACC Cap 15 ----------------------------------------- require("scripts/globals/status"); -------...
gpl-3.0
TienHP/Aquaria
files/scripts/maps/premap_licave.lua
6
1078
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
waytim/darkstar
scripts/zones/Abyssea-Altepa/npcs/qm11.lua
17
1517
----------------------------------- -- Zone: Abyssea-Altepa -- NPC: ??? -- Spawns: Rani ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,np...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/spells/regen.lua
2
1213
----------------------------------------- -- Spell: Regen -- Gradually restores target's HP. ----------------------------------------- -- Cleric's Briault enhances the effect -- Scale down duration based on level -- Composure increases duration 3x ----------------------------------------- require("scripts/globals/stat...
gpl-3.0
CaptainPRICE/wire
lua/wire/gates/arithmetic.lua
18
8263
--[[ Arithmetic Gates ]] GateActions("Arithmetic") GateActions["increment"] = { name = "Increment", inputs = { "A", "Clk", "Reset" }, output = function(gate, A, Clk, Reset) local clk = ( Clk > 0 ) local reset = ( Reset > 0 ) if ( gate.PrevValue ~= clk ) then gate.PrevValue = clk if ( clk ) then ...
apache-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c20912291.lua
1
2795
--Lucy function c20912291.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,3,3,c20912291.ovfilter,aux.Stringid(20912291,0)) c:EnableReviveLimit() --copy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20912291,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetPropert...
gpl-3.0
waytim/darkstar
scripts/globals/mobskills/Pyric_Blast.lua
33
1323
--------------------------------------------- -- Pyric Blast -- -- Description: Deals Fire damage to enemies within a fan-shaped area. Additional effect: Plague -- Type: Breath -- Ignores Shadows -- Range: Unknown Cone --------------------------------------------- require("scripts/globals/settings"); require("scr...
gpl-3.0
X-Raym/REAPER-ReaScripts
Items Properties/X-Raym_Rename selected takes from CSV input.lua
1
3787
--[[ * ReaScript Name: Rename selected takes from CSV input * Instructions: Select items. Run. * Author: X-Raym * Author URI: https://www.extremraym.com * Repository: GitHub > X-Raym > REAPER-ReaScripts * Repository URI: https://github.com/X-Raym/REAPER-ReaScripts * Licence: GPL v3 * Forum Thread: Scripts: Item...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c100000946.lua
2
4424
--Created and coded by Rising Phoenix function c100000946.initial_effect(c) --cannot special summon local e10=Effect.CreateEffect(c) e10:SetType(EFFECT_TYPE_SINGLE) e10:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e10:SetCode(EFFECT_SPSUMMON_CONDITION) e10:SetValue(aux.FALSE) c:RegisterEffect...
gpl-3.0