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
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Qufim_Island/npcs/Numumu_WW.lua
4
2890
----------------------------------- -- Area: Qufim Island -- NPC: Numumu, W.W. -- Border Conquest Guards -- @pos 179.093 -21.575 -15.282 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require(...
gpl-3.0
waytim/darkstar
scripts/zones/Kazham/npcs/Nti_Badolsoma.lua
15
1053
----------------------------------- -- Area: Kazham -- NPC: Nti Badolsoma -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- f...
gpl-3.0
zorfmorf/loveprojects
traderun/Client/model/background.lua
1
2829
-- The background for a traderun such as nebula, stars, planets, wrecks class "Background" { nebulator = nil; --the nebula generator thread stars = nil; -- star background seed = nil; -- the seed for the nebula nebula = nil; -- the nebula image -- initate a new background __init__ = function(self, seed) ...
apache-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c816000001.lua
2
3078
--Quirinus, Tsuiho Arcane Knight function c816000001.initial_effect(c) --banished special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_REMOVED) e1:SetCountLimit(1,81600001) e1:SetCondition(c816000001.spcon) e1:SetTarget(c8160...
gpl-3.0
waytim/darkstar
scripts/zones/Abyssea-Grauberg/npcs/qm13.lua
17
1364
----------------------------------- -- Zone: Abyssea-Grauberg -- NPC: ??? -- Spawns: Azdaja ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(playe...
gpl-3.0
MinFu/luci
applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_radius.lua
79
1554
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("coovachilli") -- radius server s1 = m:section(TypedSection, "radius") s1.anonymous = true s1:option( Value, "radiusserver1" ) s1:option( Value, "rad...
apache-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/serving_of_mushroom_sautee.lua
3
1197
----------------------------------------- -- ID: 5676 -- Item: serving_of_mushroom_sautee -- Food Effect: 3Hrs, All Races ----------------------------------------- -- MP 60 -- Mind 6 -- MP Recovered While Healing 6 ----------------------------------------- require("scripts/globals/status"); --------------------------...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/West_Sarutabaruta/npcs/Slow_Axe_IM.lua
4
2906
----------------------------------- -- Area: West Sarutabaruta -- NPC: Slow Axe, I.M. -- Border Conquest Guards -- @pos 399.450 -25.858 727.545 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest...
gpl-3.0
CaptainPRICE/wire
lua/entities/gmod_wire_egp_hud/init.lua
9
2380
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include('shared.lua') AddCSLuaFile("HUDDraw.lua") include("HUDDraw.lua") ENT.WireDebugName = "E2 Graphics Processor HUD" function ENT:Initialize() self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) self.RenderT...
apache-2.0
TienHP/Aquaria
game_scripts/_mods/aquariaeditortutorial/scripts/nautilus.lua
6
5192
-- 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/auto/api/TileMapAtlas.lua
10
1770
-------------------------------- -- @module TileMapAtlas -- @extend AtlasNode -- @parent_module cc -------------------------------- -- initializes a TileMap with a tile file (atlas) with a map file and the width and height of each tile in points.<br> -- The file will be loaded using the TextureMgr. -- @function [par...
apache-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/dish_of_spaghetti_peperoncino_+1.lua
3
1288
----------------------------------------- -- ID: 5197 -- Item: dish_of_spaghetti_peperoncino_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health % 30 -- Health Cap 75 -- Vitality 2 -- Store TP 6 ----------------------------------------- require("scripts/globals/status"); ----------...
gpl-3.0
gfgtdf/wesnoth-old
data/campaigns/World_Conquest/lua/map/wct_map_generator.lua
4
2871
---------------------------------------------------------- ---- The code that generates the maps, basicially ---- ---- each map is generated in two steps, first ---- ---- the default mapgenerator is used then, one of ---- ---- the codes in ,/postgeneration is run ---- ------------------------...
gpl-2.0
waytim/darkstar
scripts/globals/items/plate_of_dorado_sushi.lua
18
1686
----------------------------------------- -- ID: 5178 -- Item: plate_of_dorado_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 5 -- Accuracy % 15 -- Accuracy Cap 72 -- Ranged ACC % 15 -- Ranged ACC Cap 72 -- Sleep Resist 5 -- Enmity 4 ---------------------------------------...
gpl-3.0
waytim/darkstar
scripts/zones/Full_Moon_Fountain/npcs/Moon_Spiral.lua
27
1442
----------------------------------- -- Area: Full Moon Fountain -- NPC: Moon Spiral -- Involved in Quests: The Moonlit Path -- @pos -302 9 -260 170 ----------------------------------- package.loaded["scripts/zones/Full_Moon_Fountain/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/The_Shrine_of_RuAvitau/Zone.lua
2
4885
----------------------------------- -- -- Zone: The_Shrine_of_RuAvitau (178) -- ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/globals/missions"); require("scripts/globals/keyitems"); require("scripts/zones...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/balik_sis_+1.lua
3
1540
----------------------------------------- -- ID: 5601 -- Item: Balik Sis +1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 5 -- Mind -2 -- Attack % 15 -- Attack Cap 45 -- Ranged ACC 1 -- Ranged ATT % 15 -- Ranged ATT Cap 45 ----------------------------------------- require("scr...
gpl-3.0
TienHP/Aquaria
files/scripts/entities/creatorform4.lua
6
13626
-- 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/druniad.lua
6
2267
-- 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/c41703250.lua
2
2128
--Rank-Up Magic Vocalist Last Movement function c41703250.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_BATTLE_START+TIMING_BATTLE_END) e1:SetProperty(EFFECT_FLAG_CARD_TA...
gpl-3.0
waytim/darkstar
scripts/zones/Windurst_Woods/npcs/Nhobi_Zalkia.lua
12
1557
----------------------------------- -- Area: Windurst_Woods -- NPC: Nhobi Zalkia -- Only sells when Windurst controlls Kuzotz Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); require("scripts/globals/co...
gpl-3.0
forcecore/OpenRA
mods/d2k/maps/ordos-04/ordos04-AI.lua
5
4180
IdlingUnits = { Harkonnen = { }, Smugglers = { } } AttackGroupSize = { easy = 6, normal = 8, hard = 10 } AttackDelays = { easy = { DateTime.Seconds(4), DateTime.Seconds(7) }, normal = { DateTime.Seconds(2), DateTime.Seconds(5) }, hard = { DateTime.Seconds(1), DateTime.Seconds(3) } } EnemyInfantryTypes = { "l...
gpl-3.0
waytim/darkstar
scripts/zones/Windurst_Waters/npcs/Serukoko.lua
13
1055
----------------------------------- -- Area: Windurst Waters -- NPC: Serukoko -- Type: Standard NPC -- @zone: 238 -- @pos -54.916 -7.499 114.855 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ---------...
gpl-3.0
waytim/darkstar
scripts/globals/items/pestle.lua
41
1123
----------------------------------------- -- ID: 18599 -- Item: Pestle -- Additional effect: MP Drain ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- fun...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c11111124.lua
2
1332
--My True Self - Song of Self Confession function c11111124.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c11111124.cost) c:RegisterEffect(e1) --disable spsummon local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD)...
gpl-3.0
hasanee/Terminaler-Bot
plugins/Google.lua
4
1047
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
X-Raym/REAPER-ReaScripts
Track Properties/X-Raym_Move selected tracks down on visible track list.lua
1
5476
--[[ * ReaScript Name: Move selected tracks down on visible track list * Instructions: Select tracks. Run. * Screenshot: http://i.imgur.com/GfN9y50.gif * Author: X-Raym * Author URI: https://www.extremraym.com * Repository: GitHub > X-Raym > REAPER Scripts * Repository URI: https://github.com/X-Raym/REAPER-ReaSc...
gpl-3.0
mohammad9731/s_e_c_u_r_i_t_y
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
pedrohenriquerls/cocos2d_ruby_binding
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua
10
1192
-------------------------------- -- @module TurnOffTiles -- @extend TiledGrid3DAction -- @parent_module cc -------------------------------- -- -- @function [parent=#TurnOffTiles] turnOnTile -- @param self -- @param #vec2_table pos -------------------------------- -- -- @function [parent=#TurnOffTiles] tur...
mit
wanmaple/MWFrameworkForCocosLua
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua
10
1192
-------------------------------- -- @module TurnOffTiles -- @extend TiledGrid3DAction -- @parent_module cc -------------------------------- -- -- @function [parent=#TurnOffTiles] turnOnTile -- @param self -- @param #vec2_table pos -------------------------------- -- -- @function [parent=#TurnOffTiles] tur...
apache-2.0
hfjgjfg/persianguard76
plugins/welcome.lua
190
3526
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c59821033.lua
2
4248
--The Idol Shine function c59821033.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59821033,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STE...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c952510934.lua
2
1782
--Runed Recovery function c952510934.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:SetOperation(c952510934.activate) c:RegisterEffect(e1) --Draw local e2=Effect.CreateEffect(c) e2:Se...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c77790013.lua
2
3800
--Grissa the Mind, 2nd Arian Guardian function c77790013.initial_effect(c) --dark synchro summon c:EnableReviveLimit() local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_EXTRA) e1:SetCondition(c77790013.synco...
gpl-3.0
chrox/koreader
frontend/ui/widget/verticalscrollbar.lua
8
1034
local Widget = require("ui/widget/widget") local Geom = require("ui/geometry") local Blitbuffer = require("ffi/blitbuffer") local VerticalScrollBar = Widget:new{ enable = true, low = 0, high = 1, width = 6, height = 50, bordersize = 1, bordercolor = Blitbuffer.COLOR_BLACK, radius =...
agpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Ship_bound_for_Selbina/npcs/Rajmonda.lua
2
1039
----------------------------------- -- Area: Ship bound for Selbina -- NPC: Rajmonda -- Guild Merchant NPC: Fishing Guild ----------------------------------- package.loaded["scripts/zones/Ship_bound_for_Selbina/TextIDs"] = nil; require("scripts/zones/Ship_bound_for_Selbina/TextIDs"); -------------------------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c99200160.lua
2
3336
--Dark Android Predator function c99200160.initial_effect(c) --fusion material c:EnableReviveLimit() --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(c99200160.s...
gpl-3.0
LuaDist2/prosody
util/datetime.lua
2
1469
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- -- XEP-0082: XMPP Date and Time Profiles local os_date = os.date; local os_time = os.time; local os_diff...
mit
TheEggi/FTCCustom
core/Events.lua
1
14290
--[[---------------------------------------------------------- EVENTS COMPONENT ---------------------------------------------------------- * Registers event handlers for various components used by FTC. * Some events are conditionally applied depending on the configuration options used. * Listeners are registered a...
apache-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c99990480.lua
1
3921
--SAO - Klein ALO function c99990480.initial_effect(c) --Synchro summon aux.AddSynchroProcedure2(c,nil,aux.NonTuner(Card.IsSetCard,0x999)) c:EnableReviveLimit() --Draw local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) ...
gpl-3.0
waytim/darkstar
scripts/globals/items/plate_of_ic_pilav.lua
18
1945
----------------------------------------- -- ID: 5584 -- Item: plate_of_ic_pilav -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 65 -- Strength 4 -- Vitality -1 -- Intelligence -1 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 65 -- Ranged ATT % 22 ...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c99990401.lua
2
4260
--SAO - Sinon ALO function c99990401.initial_effect(c) --Synchro summon aux.AddSynchroProcedure2(c,nil,aux.NonTuner(Card.IsSetCard,9999)) c:EnableReviveLimit() --Discard local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_HANDES) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SPSUM...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Port_Windurst/npcs/Jack_of_Clubs.lua
6
1185
----------------------------------- -- Area: Port Windurst -- NPC: Jack of Clubs -- Adventurer's Assistant -- Working 100% ------------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); -----------...
gpl-3.0
waytim/darkstar
scripts/zones/La_Theine_Plateau/npcs/Telepoint.lua
13
1675
----------------------------------- -- Area: La Theine Plateau -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/La_Theine_Plateau/TextIDs"); ----------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c17930170.lua
1
1399
--Vocaloid Kids United! function c17930170.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,1,2) c:EnableReviveLimit() --disable summon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DISABLE_SUMMON+CATEGORY_DESTROY) e1:SetDescription(aux.Stringid(17930170,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c59821139.lua
2
3412
--The Idol's Graceful Burial function c59821139.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c59821139.target) e1:SetOperation(c59821139.activate) c:RegisterEffect(e1) --spsummon local e...
gpl-3.0
Amadiro/debugUI
loveframes/objects/internal/scrollable/scrollbody.lua
17
6652
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".objects.internal.scrollable.s...
mit
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/woozyshroom.lua
3
1082
----------------------------------------- -- ID: 4373 -- Item: woozyshroom -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -4 -- Mind 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
erfan1292/sezar2
plugins/admin.lua
3
10618
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
gpl-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria/npcs/Deraquien.lua
2
2286
----------------------------------- -- Area: Southern San d'Oria -- NPC: Deraquien -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -98 -2 31 230 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
wginolas/playground
lua/love/phys_test/asteroid.lua
1
1639
local shapes = require('shapes') local Asteroid = { type = 'aster' } Asteroid.__index = Asteroid local function createBody(world, x, y, a, vx, vy, va, shape) local body = love.physics.newBody(world, x, y, "dynamic") local fixture = love.physics.newFixture(body, shape) fixture:setFriction(0.9) fixture:setRes...
lgpl-3.0
waytim/darkstar
scripts/globals/weaponskills/hexa_strike.lua
11
1466
----------------------------------- -- Hexa Strike -- Club weapon skill -- Skill level: 220 -- Delivers a six-hit attack. Chance of params.critical varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers...
gpl-3.0
waytim/darkstar
scripts/zones/La_Theine_Plateau/npcs/Stone_Monument.lua
13
1281
----------------------------------- -- Area: La Theine Plateau -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 334.133 50.623 141.163 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
CaptainPRICE/wire
lua/wire/beam_netvars.lua
9
11729
-- this is all crap D: /////////////////////////////////////////////// // ===BeamNetVars=== // // Custom Networked Vars Module // // Based off Garry's Networked Vars Module // // Modification by: TAD2020 // /////////////////////////////////////////////// // How to use: // // Just like NetVars, ent:SetN...
apache-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c90000012.lua
2
3011
--Night Clock Portal function c90000012.initial_effect(c) --Special Summon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,90000012) e1:SetTarget(c90000012.target) e1:SetOperation(c90000012.operation) c:Reg...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Buburimu_Peninsula/npcs/Lobho_Ukipturi.lua
2
1647
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Lobho Ukipturi -- @pos -485 -31 50 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest");...
gpl-3.0
lusiankaitz/koreader-master
frontend/apps/reader/modules/readerfrontlight.lua
1
4231
local InputContainer = require("ui/widget/container/inputcontainer") local InputDialog = require("ui/widget/inputdialog") local Notification = require("ui/widget/notification") local GestureRange = require("ui/gesturerange") local UIManager = require("ui/uimanager") local Geom = require("ui/geometry") local Screen = re...
agpl-3.0
pouya-joker/c16-bot
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
Shayan123456/botttttt
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
icoowner/icorobot
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
agpl-3.0
Em30-tm-lua/Emc
plugins/groupcontrol.lua
7
41883
do -- make sure to set with value that not higher than stats.lua local NUM_MSG_MAX = 4 local TIME_CHECK = 4 -- seconds local function generate_link(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local user_id = cb_extra.user_id local chat_id = string.gsub(rece...
gpl-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c99199017.lua
2
2069
--A Melody From the Future function c99199017.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c99199017.target) c:RegisterEffect(e1) --inactivatable local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(...
gpl-3.0
saeqe/nod
plugins/anti_ads.lua
61
1032
local function run(msg) local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['antilink'] == 'yes' then if not is_momod(msg) then chat_del_user('chat#id'..msg.to.id, 'user#id'..msg.from.id, ok_cb, true) local msgads = 'ForbiddenAdText' ...
gpl-2.0
waytim/darkstar
scripts/zones/Qufim_Island/npcs/Jiwon.lua
13
1889
----------------------------------- -- Area: Qufim Island -- NPC: Jiwon -- Type: Outpost Vendor -- @pos -249 -19 300 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conques...
gpl-3.0
TienHP/Aquaria
game_scripts/_mods/guert_mod/tempo/anemone4.lua
12
2875
-- 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/c44646227.lua
2
1515
--Delayed modification function c44646227.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW+CATEGORY_RECOVER) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c44646227.cost) e1:SetTarget(c44646227.target) ...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/abilities/pets/hydro_breath.lua
4
1222
--------------------------------------------------- -- Hydro Breath --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); --------------------------------------------------- function OnAbilityCheck(pla...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/spells/gain-dex.lua
2
2309
-------------------------------------- -- Spell: Gain-DEX -- Boosts targets DEX stat -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------...
gpl-3.0
niegenug/wesnoth
data/ai/micro_ais/cas/ca_wolves_multipacks_attack.lua
26
9253
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" local WMPF = wesnoth.require "ai/micro_ais/cas/ca_wolves_multipacks_functions.lua" local ca_wolves_multipacks_attack = {} function ca_wolves_multipacks_...
gpl-2.0
dmccuskey/dmc-sockets
examples/dmc-sockets-basic/dmc_corona/lib/dmc_lua/lua_events_mix.lua
14
8192
--====================================================================-- -- dmc_lua/lua_events_mix.lua -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2014-2015 David McCuskey. All Rights Reserved. ...
mit
dmccuskey/dmc-sockets
examples/dmc-sockets-asynctcp/dmc_corona/lib/dmc_lua/lua_events_mix.lua
14
8192
--====================================================================-- -- dmc_lua/lua_events_mix.lua -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2014-2015 David McCuskey. All Rights Reserved. ...
mit
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Lower_Delkfutts_Tower/npcs/Cermet_Door.lua
2
1131
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Cermet door that leads to Upper Delkfutt's Tower. -- @zone 184 -- @pos 524 16 20 ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action ------------------...
gpl-3.0
waytim/darkstar
scripts/zones/Upper_Jeuno/npcs/Turlough.lua
41
1446
----------------------------------- -- Area: Upper Jeuno -- NPC: Turlough -- Mission NPC -- @pos ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); require("scripts/globals/missions"); require(...
gpl-3.0
waytim/darkstar
scripts/globals/items/blacksmiths_belt.lua
18
1175
----------------------------------------- -- ID: 15445 -- Item: Blacksmith's Belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Smithing Skill +3 ----------------------------------------- require("script...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Kuftal_Tunnel/Zone.lua
2
1226
----------------------------------- -- -- Zone: Kuftal_Tunnel (174) -- ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Kuftal_Tunnel/TextIDs"); ----------------------------------- -- onInitialize -------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c90000004.lua
2
1153
--Night Clock Archer function c90000004.initial_effect(c) --ATK 0 local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_TO_GRAVE) e1:SetCountLimit(1,90000004) e1:SetCondit...
gpl-3.0
waytim/darkstar
scripts/globals/spells/dragonfoe_mambo.lua
27
1611
----------------------------------------- -- Spell: Dragonfoe Mambo -- Grants evasion bonus to all members. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(cast...
gpl-3.0
waytim/darkstar
scripts/zones/Jugner_Forest_[S]/Zone.lua
12
1790
----------------------------------- -- -- Zone: Jugner_Forest_[S] (82) -- ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Jugner_Forest_[S]/TextIDs"); ------------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c44559834.lua
1
7396
--Dabo Gong, Wealth God of the Sky Nirvana function c44559834.initial_effect(c) c:SetUniqueOnField(1,0,44559834) --fusion material local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_FUSION_MATERIAL) e1:SetCondition(c4...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Silver_Sea_route_to_Al_Zahbi/Zone.lua
2
1469
----------------------------------- -- -- Zone: Silver_Sea_route_to_Al_Zahbi -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs"] = nil; require("scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs"); ------------------------...
gpl-3.0
CaptainPRICE/wire
lua/entities/gmod_wire_egp/lib/egplib/objectcontrol.lua
9
7301
-------------------------------------------------------- -- Objects -------------------------------------------------------- local EGP = EGP EGP.Objects = {} EGP.Objects.Names = {} EGP.Objects.Names_Inverted = {} -- This object is not used. It's only a base EGP.Objects.Base = {} EGP.Objects.Base.ID = 0 EGP.Objects.Ba...
apache-2.0
waytim/darkstar
scripts/globals/mobskills/Randgrith.lua
33
1026
--------------------------------------------- -- Randgrith -- -- Description: Lowers target's evasion. Gullintani/Mjollnir: Temporarily improves accuracy. -- Type: Physical -- Range: Melee --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require...
gpl-3.0
db260179/openwrt-bpi-r1-luci
modules/luci-base/luasrc/sys/zoneinfo/tzoffset.lua
11
4099
-- Licensed to the public under the Apache License 2.0. module "luci.sys.zoneinfo.tzoffset" OFFSET = { gmt = 0, -- GMT eat = 10800, -- EAT cet = 3600, -- CET wat = 3600, -- WAT cat = 7200, -- CAT eet = 7200, -- EET wet = 0, -- WET sast = 7200, -- SAST hst = -36000, -- HS...
apache-2.0
waytim/darkstar
scripts/zones/Windurst_Waters/npcs/Upih_Khachla.lua
12
2150
----------------------------------- -- Area: Windurst Waters -- NPC: Upih Khachla -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["...
gpl-3.0
waytim/darkstar
scripts/globals/spells/armys_paeon_iii.lua
27
1361
----------------------------------------- -- Spell: Army's Paeon III -- Gradually restores target's HP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,t...
gpl-3.0
CaptainPRICE/wire
lua/entities/gmod_wire_spawner.lua
10
6966
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Prop Spawner" ENT.RenderGroup = RENDERGROUP_BOTH ENT.WireDebugName = "Prop Spawner" if CLIENT then return end -- No more client local wire_spawner_delay = CreateConVar( "wire_spawner_delay", game.SinglePlayer() and 0 or 0.2 ) local Gl...
apache-2.0
wanmaple/MWFrameworkForCocosLua
frameworks/runtime-src/Framework/lua/auto/api/MWGifSprite.lua
1
2246
-------------------------------- -- @module MWGifSprite -- @extend Sprite -- @parent_module mw -------------------------------- -- Play the animation.<br> -- param count How many times would you want to play the animation? It will play forever if the count is set to 0. -- @function [parent=#MWGifSprite] play -- @par...
apache-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Spire_of_Mea/npcs/_0l2.lua
8
1251
----------------------------------- -- Area: Spire_of_Mea -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Mea/TextIDs"); -------------------------...
gpl-3.0
lusiankaitz/koreader-master
frontend/apps/reader/modules/readersearch.lua
5
3215
local InputContainer = require("ui/widget/container/inputcontainer") local ButtonDialog = require("ui/widget/buttondialog") local UIManager = require("ui/uimanager") local Geom = require("ui/geometry") local Screen = require("ui/screen") local DEBUG = require("dbg") local _ = require("gettext") local ReaderSearch = In...
agpl-3.0
waytim/darkstar
scripts/zones/King_Ranperres_Tomb/Zone.lua
13
2309
----------------------------------- -- -- Zone: King_Ranperres_Tomb (190) -- ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/King_Ranpe...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Rabao/npcs/Home_Point.lua
2
1117
----------------------------------- -- Area: Rabao -- NPC: Home Point ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------...
gpl-3.0
waytim/darkstar
scripts/zones/Sacrarium/npcs/Treasure_Chest.lua
13
2914
----------------------------------- -- Area: Sacrarium -- NPC: Treasure Chest -- @zone 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/zones/Sa...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Sealions_Den/npcs/Airship_Door.lua
2
3554
----------------------------------- -- Area: -- NPC: Airship_Door ----------------------------------- package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missions"); require("scripts/zones/Sealions_Den/TextIDs"); -...
gpl-3.0
Apprehentice/vex
test.lua
2
1461
vex = require("vex") print("Test Matching\n") tester = vex():startofline():find("http"):maybe("s"):find("://"):maybe("www."):anythingbut(" "):endofline() testURL = "https://github.com" print("Testing \n\t" .. tester:pattern() .. "\nagainst\n\t" .. testURL .. "\n") res = tester:match(testURL) print(res and "It works!...
mit
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Port_Windurst/npcs/Pichichi.lua
6
2580
----------------------------------- -- Area: Port Windurst -- NPC: Pichichi ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/Port_Windurst/T...
gpl-3.0
gfgtdf/wesnoth-old
data/ai/lua/generic_recruit_engine.lua
3
54679
return { -- init parameters: -- ai_cas: an object reference to store the CAs and associated data -- the CA will use the function names ai_cas:recruit_rushers_eval/exec, so should be referenced by the object name used by the calling AI -- ai_cas also has the functions find_best_recruit, find_best_rec...
gpl-2.0
jixianliang/DBProxy
examples/tutorial-basic.lua
4
1772
--[[ $%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
waytim/darkstar
scripts/zones/Quicksand_Caves/npcs/_5s3.lua
13
1255
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -694 0 -420 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/TextID...
gpl-3.0
internetisalie/lua-for-idea
testdata/non-test-system-files/lua5.1-tests/closure.lua
10
8756
print "testing closures and coroutines" local A,B = 0,{g=10} function f(x) local a = {} for i=1,1000 do local y = 0 do a[i] = function () B.g = B.g+1; y = y+x; return y+A end end end local dummy = function () return a[A] end collectgarbage() A = 1; assert(dummy() == a[1]); A = 0; assert...
apache-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Taajiji.lua
2
1576
----------------------------------- -- Area: Windurst Waters -- NPC: Taajiji -- Standard Merchant NPC -- Working 100% ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/zones/Windurst_Waters/TextIDs"); ------------------...
gpl-3.0