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 |
|---|---|---|---|---|---|
waytim/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Qutiba.lua | 27 | 2282 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Qutiba
-- Type: Standard NPC
-- @pos 92.341 -7.5 -129.980 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require(... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Outer_Horutoto_Ruins/npcs/_5ef.lua | 4 | 3203 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #2 (F out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
waytim/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fj.lua | 13 | 1080 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 88 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
--... | gpl-3.0 |
wireshark/wireshark | test/lua/acme_file.lua | 2 | 57256 | ------------------------------------------
-- acme_file_reader.lua
-- Author: Hadriel Kaplan (hadrielk at yahoo dot com)
-- version = 1.0
-- date = 3/3/2014
------------------------------------------
--[[
This is a Wireshark Lua-based capture file reader.
This "capture file" reader reads message logs from Acme ... | gpl-2.0 |
pedrohenriquerls/cocos2d_ruby_binding | frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/cocostudio/DeprecatedCocoStudioFunc.lua | 39 | 3421 | --tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of GUIReader will be deprecated begin
local GUIReaderDeprecated = { }
function GUIReaderDeprecated.shareReader()
deprecatedTip("GUIReader... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c20912265.lua | 1 | 3437 | --The Chain Axe of Brutality Tomahawk
function c20912265.initial_effect(c)
c:SetUniqueOnField(1,0,20912265)
aux.AddEquipProcedure(c,0,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR))
--indes
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_EQUIP)
e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e2:SetCondition(c2... | gpl-3.0 |
waytim/darkstar | scripts/zones/Port_San_dOria/npcs/Diraulate.lua | 13 | 1357 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Diraulate
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
... | gpl-3.0 |
waytim/darkstar | scripts/zones/Cape_Teriggan/npcs/Salimardi_RK.lua | 13 | 3309 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Bright Moon
-- Type: Outpost Conquest Guards
-- @pos -185 7 -63 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("scri... | gpl-3.0 |
kdakers80/HeaterMeter | openwrt/package/linkmeter/luasrc/lucid/linkmeter/dph.lua | 2 | 1471 | local rrd = require "rrd"
local lmfit = require "lmfit"
local uci = require "uci"
module("luci.lucid.linkmeter.dph", package.seeall)
local lastDphUpdate = 0
local dphEstimates = { {0,0}, {0,0}, {0,0}, {0,0} }
local function updateState(now, _)
-- Update the degrees per hour estimates once every minute
if not lmf... | mit |
pedrohenriquerls/cocos2d_ruby_binding | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TextureCache.lua | 10 | 3328 |
--------------------------------
-- @module TextureCache
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Reload texture from the image file<br>
-- If the file image hasn't loaded before, load it.<br>
-- Otherwise the texture will be reloaded from the file image.<br>
-- The "filenName" paramet... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c98100025.lua | 2 | 2138 | --Joker - Song of Bad Omen and Cruel Joke
function c98100025.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCountLimit(1,98100025+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c98100025.condit... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/mobskills/Mow.lua | 2 | 1041 | ---------------------------------------------
-- Mow
--
-- Description: Deals damage in an area of effect. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Poison can take around 10HP/tick
---------------------------------------------
require("/s... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/pepperoni_pizza.lua | 18 | 1624 | -----------------------------------------
-- ID: 5697
-- Item: pepperoni_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Health Points 30
-- Strength 1
-- Accuracy 5% (caps @ 10) **wiki doesnt have information on %, so guessed it to be 5%
-- Attack 10% (caps @ 25)
------------------... | gpl-3.0 |
Fir3element/tfs12 | data/lib/core/player.lua | 2 | 2597 | local foodCondition = Condition(CONDITION_REGENERATION, CONDITIONID_DEFAULT)
function Player.feed(self, food)
local condition = self:getCondition(CONDITION_REGENERATION, CONDITIONID_DEFAULT)
if condition then
condition:setTicks(condition:getTicks() + (food * 1000))
else
local vocation = self:getVocation()
if ... | gpl-2.0 |
pedrohenriquerls/cocos2d_ruby_binding | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/SkewFrame.lua | 10 | 1218 |
--------------------------------
-- @module SkewFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#SkewFrame] getSkewY
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#SkewFrame] se... | mit |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Castle_Zvahl_Keep/Zone.lua | 3 | 3230 | -----------------------------------
--
-- Zone: Castle_Zvahl_Keep (162)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Keep/TextIDs");
-----------------------------------
-- onInitialize
-... | gpl-3.0 |
waytim/darkstar | scripts/zones/Windurst_Waters/npcs/Lumomo.lua | 11 | 3050 | -----------------------------------
-- 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/Windu... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c9234501.lua | 1 | 2002 | --Vocaloid Acme Iku
function c9234501.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(9234501,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SUMMON_SUCCESS)... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/ruinator.lua | 4 | 1418 | -----------------------------------
-- Ruinator
-- Axe weapon skill
-- Skill level: 357
-- Description: Delivers a four-hit attack. params.accuracy varies with TP
-- In order to obtain Ruinator, the quest Martial Mastery must be completed.
-- This Weapon Skill's first hit params.ftp is duplicated for all additional h... | gpl-3.0 |
chejnik/LaTex-ICSS | ieclib.lua | 1 | 1099 | local M = {}
local enc = {}
local licrs = {}
local codepoint2utf = unicode.utf8.char
local function load_encfiles(f)
local file= io.open(f,"r")
local encodings = file:read("*all")
file:close()
for codepoint, licr in encodings:gmatch('DeclareUnicodeCharacter(%b{})(%b{})') do
local codepoint = codepoint2utf(tonum... | gpl-3.0 |
waytim/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Sowande.lua | 13 | 1887 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Sowande
-- @pos -257 8 -249 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
r... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c103950006.lua | 2 | 2913 | --Spectral Necromancy
function c103950006.initial_effect(c)
--Mono
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(103950006,0))
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE_START+PHASE_DRAW)
e1:Set... | gpl-3.0 |
pedrohenriquerls/cocos2d_ruby_binding | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/UserDefault.lua | 10 | 3039 |
--------------------------------
-- @module UserDefault
-- @parent_module cc
--------------------------------
-- brief Set integer value by key.<br>
-- js NA
-- @function [parent=#UserDefault] setIntegerForKey
-- @param self
-- @param #char pKey
-- @param #int value
--------------------------------
-- @over... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c44559811.lua | 1 | 2479 | --Lord Buddha, Ascendant of the Upper Nirvana
function c44559811.initial_effect(c)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(44559811,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(... | gpl-3.0 |
waytim/darkstar | scripts/zones/Sealions_Den/npcs/Airship_Door.lua | 30 | 1826 | -----------------------------------
-- 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 |
LuaDist2/prosody | plugins/mod_proxy65.lua | 2 | 7081 | -- Prosody IM
-- Copyright (C) 2008-2011 Matthew Wild
-- Copyright (C) 2008-2011 Waqas Hussain
-- Copyright (C) 2009 Thilo Cestonaro
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
module:set_global();
local jid_compare, jid_prep = require "util.ji... | mit |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/mushroom_salad.lua | 2 | 1292 | -----------------------------------------
-- ID: 5678
-- Item: mushroom_salad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- MP 85
-- Agility 6
-- Mind 6
-- Strength -5
-- Vitality -5
-----------------------------------------
require("scripts/globals/status");
-------------------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/npcs/Rielle.lua | 6 | 1315 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Rielle
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
---... | gpl-3.0 |
X-Raym/REAPER-ReaScripts | Items Properties/X-Raym_Color selected items from regions at their middle position.lua | 1 | 2205 | --[[
* ReaScript Name: Color selected items from regions at their middle position
* Screenshot: https://i.imgur.com/q9kBdMb.gifv
* 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
... | gpl-3.0 |
internetisalie/lua-for-idea | include/stdlibrary/table.lua | 2 | 2457 | -- Copyright 2013 Jon S Akhtar (Sylvanaar)
--
-- 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 appl... | apache-2.0 |
X-Raym/REAPER-ReaScripts | Items Editing/X-Raym_Delete selected items sections in time selection if cursor enter time selection and ripple new items.lua | 1 | 2292 | --[[
* ReaScript Name: Delete selected items sections in time selection if cursor enter time selection and ripple new items
* Instructions: Select items with take. Run.
* Screenshot: http://i.giphy.com/3o8doN6hJOcw77QX8Q.gif
* Author: X-Raym
* Author URI: https://www.extremraym.com
* Repository: GitHub > X-Raym ... | gpl-3.0 |
waytim/darkstar | scripts/zones/Mount_Zhayolm/npcs/Bapokk.lua | 13 | 1456 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Bapokk
-- Handles access to Alzadaal Ruins
-- @pos -20 -6 276 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
----... | gpl-3.0 |
ZACTELEGRAM1/EMAM-ALI | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
TienHP/Aquaria | files/scripts/entities/entityinclude.lua | 5 | 16299 | -- 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/c57888882.lua | 2 | 5855 | --Toon Hagane Miku
function c57888882.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
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(c57888882.splimit)
c:RegisterEf... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c962002019.lua | 2 | 5065 | --Toon Red Dragon Archfiend
--Created By ALANMAC95, Scripted By TheOnePharaoh
local function getID()
local str=string.match(debug.getinfo(2,'S')['source'],"c%d+%.lua")
str=string.sub(str,1,string.len(str)-4)
local scard=_G[str]
local s_id=tonumber(string.sub(str,2))
return scard,s_id
end
local scard,s_id=getID()
... | gpl-3.0 |
factorio-floor/factoryfloor | control/belt-sorter.lua | 1 | 3063 | require "control.AccessFactory"
function beltSorterInit()
if not global.hardCrafting.beltSorter then
global.hardCrafting.beltSorter = {}
end
end
function beltSorterBuiltEntity(entity)
if entity.name == "belt-sorter" then
table.insert(global.hardCrafting.beltSorter, entity)
end
end
---------------------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/spinning_attack.lua | 4 | 1410 | -----------------------------------
-- Spinning Attack
-- Hand-to-Hand weapon skill
-- Spinning Attack (Magic Pot) has an identical name. If an internal link incorrectly referred you to this page, please change the link to point directly to Spinning Attack (Magic Pot).
-- Skill Level: 150
-- Delivers an area attac... | gpl-3.0 |
narner/Soundpipe | modules/data/tblrec.lua | 1 | 1242 | sptbl["tblrec"] = {
files = {
module = "tblrec.c",
header = "tblrec.h",
example = "ex_tblrec.c",
},
func = {
create = "sp_tblrec_create",
destroy = "sp_tblrec_destroy",
init = "sp_tblrec_init",
compute = "sp_tblrec_compute",
},
params = {
... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99950300.lua | 2 | 12775 | --MSMM - Timeless Soul Cage
function c99950300.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c99950300.target)
e1:SetOperation(c99950300.activate)
c:... | gpl-3.0 |
Youka/LVS | examples/karaoke/advanced.lua | 1 | 4560 | -- ASS file loading
ass.load("karaoke\\res\\oreimo_s2_6 - ed.ass")
-- Fix fade times for effects
for _, line in ipairs(lines) do
line.infade = line.infade * 2
line.outfade = line.outfade * 2
end
lines[6].outfade = 570
lines[7].infade = lines[6].outfade
lines[17].outfade = lines[6].outfade
lines[18].infade = lines[6].... | lgpl-3.0 |
kroq-gar78/The-Powder-Toy_deb | src/lua/socket/socket.lua | 146 | 4061 | -----------------------------------------------------------------------------
-- LuaSocket helper module
-- Author: Diego Nehab
-- RCS ID: $Id: socket.lua,v 1.22 2005/11/22 08:33:29 diego Exp $
-----------------------------------------------------------------------------
-----------------------------------------------... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c962002012.lua | 2 | 3547 | --Toon Trishula, Dragon of the Ice Barrier
--Created By ALANMAC95, Scripted By TheOnePharaoh
local function getID()
local str=string.match(debug.getinfo(2,'S')['source'],"c%d+%.lua")
str=string.sub(str,1,string.len(str)-4)
local scard=_G[str]
local s_id=tonumber(string.sub(str,2))
return scard,s_id
end
local scar... | gpl-3.0 |
waytim/darkstar | scripts/zones/Southern_San_dOria/npcs/Apairemant.lua | 12 | 2109 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Apairemant
-- Only sells when San d'Oria controls Gustaberg Region
-- @zone 230
-- @pos 72 2 0
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/scream_fungus.lua | 3 | 1084 | -----------------------------------------
-- ID: 4447
-- Item: scream_fungus
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -4
-- Mind 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
waytim/darkstar | scripts/globals/spells/bluemagic/blitzstrahl.lua | 25 | 1897 | -----------------------------------------
-- Spell: Blitzstrahl
-- Deals lightning damage to an enemy. Additional effect: "Stun"
-- Spell cost: 70 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+3
-- Level: 44
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 se... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/dhalmel_steak.lua | 2 | 1183 | -----------------------------------------
-- ID: 4438
-- Item: dhalmel_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -1
-- Attack % 25
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
Hybrid-Rom/external_skia | tools/lua/bitmap_statistics.lua | 207 | 1862 | function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
local canvas = nil
local num_perspective_bitmaps = 0
local num_affine_bitmaps = 0
local num_scaled_bitmaps = 0
loc... | bsd-3-clause |
waytim/darkstar | scripts/zones/Port_San_dOria/npcs/Louis.lua | 30 | 1317 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Louis
-- Type: Standard NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
---------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/flood.lua | 2 | 1024 | -----------------------------------------
-- Spell: Flood
-- Deals water damage to an enemy.
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMag... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Quicksand_Caves/npcs/_5sb.lua | 4 | 1222 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -420 0 735 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextIDs... | gpl-3.0 |
waytim/darkstar | scripts/zones/Silver_Sea_route_to_Al_Zahbi/Zone.lua | 13 | 1396 | -----------------------------------
--
-- Zone: Silver_Sea_route_to_Al_Zahbi
--
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs");
require("scripts/globals/s... | gpl-3.0 |
tenvick/hugular_cstolua | Client/Assets/Lua/game/tetris.lua | 5 | 1738 | local tetris = LuaItemManager:getItemObject("tetris")
local LuaObject=LuaObject
local isover=false
local assets=
{
Asset("blockroot.u3d")
}
local function ceraterussiaBlock( ... )
local bolck = LuaObject("bolck")
bolck:addComponent("russianBlocks.block")
bolck:addComponent("russianBlocks.blockManager")
bolck:... | mit |
waytim/darkstar | scripts/globals/items/flame_claymore.lua | 42 | 1072 | -----------------------------------------
-- ID: 16588
-- Item: Flame Claymore
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c57888884.lua | 2 | 7436 | --Toon Haku Yowane Daughter of White
function c57888884.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
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(c57888884.spli... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c78330025.lua | 1 | 1896 | --Assaulter of the Arch Beetle
function c78330025.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_INSECT),4,2)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(78330025,0))
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_DAMAGE)
e... | gpl-3.0 |
waytim/darkstar | scripts/zones/Windurst_Woods/Zone.lua | 26 | 2352 | -----------------------------------
--
-- Zone: Windurst_Woods (241)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/zone");
require("scripts/globals/se... | gpl-3.0 |
waytim/darkstar | scripts/globals/weaponskills/onslaught.lua | 9 | 2037 | -----------------------------------
-- Onslaught
-- Axe weapon skill
-- Skill Level: N/A
-- Lowers target's params.accuracy. Additional effect: temporarily increases Attack.
-- Available only when equipped with the Relic Weapons Ogre Killer (Dynamis use only) or Guttler or Cleofun Axe (with Latent active).
-- These Rel... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Aydeewa_Subterrane/Zone.lua | 4 | 2367 | -----------------------------------
--
-- Zone: Aydeewa_Subterrane (68)
--
-----------------------------------
package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/titles")... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bastok_Markets/npcs/Fatimah.lua | 5 | 1079 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Fatimah
-- Type: Recipe Giver
-- @zone: 235
-- @pos: -193.849 -7.824 -56.372
--
-- Auto-Script: Requires Verification. Verfied standard dialog - thrydwolf 12/8/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/... | gpl-3.0 |
LuaDist2/prosody | plugins/mod_storage_xep0227.lua | 3 | 4525 |
local ipairs, pairs = ipairs, pairs;
local setmetatable = setmetatable;
local tostring = tostring;
local next = next;
local t_remove = table.remove;
local os_remove = os.remove;
local io_open = io.open;
local paths = require"util.paths";
local st = require "util.stanza";
local parse_xml_real = require "util.xml".pars... | mit |
zorfmorf/loveprojects | mayoran/src/handler/ressourceHandler.lua | 1 | 10956 |
function ressourceHandler_loadAudioFiles()
end
function ressourceHandler_loadTiles()
-- tut files
tut_mouse = love.graphics.newImage("res/mouse.png")
tut_build = love.graphics.newImage("res/build.png")
tut_ressources = love.graphics.newImage("res/ressources.png")
tut_layer = love.gra... | apache-2.0 |
hasanee/Terminaler-Bot | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
countrdd/ASTPP | freeswitch/scripts/astpp/lib/JSON.lua | 4 | 26919 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2013 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | agpl-3.0 |
waytim/darkstar | scripts/zones/Batallia_Downs/npcs/Luck_Rune.lua | 13 | 1040 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos -362.167 -12.199 157.158 105
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Bat... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/royal_omelette.lua | 18 | 2971 | -----------------------------------------
-- ID: 4564
-- Item: royal_omelette
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 5
-- Dexterity 2
-- Intelligence -3
-- Mind 4
-- Attack % 22
-- Attack Cap 65
-----------------------------------------
-- IF ELVAAN ONLY
-- HP 20
-- MP 2... | gpl-3.0 |
Desarrollo-Bots-Telegram-ES/TestBot | plugins/cpu.lua | 14 | 1877 | function run_sh(msg)
name = get_name(msg)
text = ''
-- if config.sh_enabled == false then
-- text = '!sh command is disabled'
-- else
-- if is_sudo(msg) then
-- bash = msg.text:sub(4,-1)
-- text = run_bash(bash)
-- else
-- text = name .. ' yo... | gpl-2.0 |
waytim/darkstar | scripts/globals/items/choco-katana.lua | 18 | 1183 | -----------------------------------------
-- ID: 5918
-- Item: Choco-katana
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Agility 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
niegenug/wesnoth | data/ai/micro_ais/cas/ca_wolves_move.lua | 26 | 3428 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local BC = wesnoth.require "ai/lua/battle_calcs.lua"
local function get_wolves(cfg)
local wolves = AH.get_units_with_moves {
side = wesnoth.current.side,
{ "and", cfg.filter }
}
return wolves
end
l... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/South_Gustaberg/npcs/Stone_Monument.lua | 3 | 1205 | -----------------------------------
-- Area: South Gustaberg
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/South_Gustaberg/TextIDs");
... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c90000022.lua | 2 | 1738 | --Toxic Moon Flower
function c90000022.initial_effect(c)
--Disable
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_BE_MATERIAL)
e1:SetCondition(c90000022.condition)
e1... | gpl-3.0 |
X-Raym/REAPER-ReaScripts | Items Properties/X-Raym_Offset selected media items source positions by snap offset length.lua | 1 | 1784 | --[[
* ReaScript Name: Offset selected media items source positions by snap offset length
* About: Use this with Xenakios/SWS: Switch item contents to next cue. Note: the cue shouldn't be visible.
* Author: X-Raym
* Author URI: https://extremraym.com
* Repository: GitHub > X-Raym > REAPER-ReaScripts
* Repository ... | gpl-3.0 |
wanmaple/MWFrameworkForCocosLua | asset/src/cocos/ui/DeprecatedUIFunc.lua | 39 | 7289 | --tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of ccui.Text will be deprecated begin
local TextDeprecated = { }
function TextDeprecated.setText(self, str)
deprecatedTip("ccui.Text:setT... | apache-2.0 |
mohammad9731/s_e_c_u_r_i_t_y | plugins/media.lua | 376 | 1679 | do
local function run(msg, matches)
local receiver = get_receiver(msg)
local url = matches[1]
local ext = matches[2]
local file = download_to_file(url)
local cb_extra = {file_path=file}
local mime_type = mimetype.get_content_type_no_sub(ext)
if ext == 'gif' then
print('send_file')
send_docum... | gpl-2.0 |
TienHP/Aquaria | files/scripts/entities/seawolf.lua | 6 | 3977 | -- 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 |
ld-test/resty-mongol | src/cursor.lua | 3 | 2108 | local t_insert = table.insert
local t_remove = table.remove
local t_concat = table.concat
local strbyte = string.byte
local strformat = string.format
local cursor_methods = { }
local cursor_mt = { __index = cursor_methods }
local function new_cursor(col, query, returnfields, num_each_query)
return setmetatable ( {
... | mit |
icoowner/icorobot | plugins/ingroup.lua | 371 | 44212 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | agpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Mine_Shaft_2716/npcs/_0d0.lua | 4 | 1908 | -----------------------------------
-- Area: Mine_Shaft_2716
-- NPC: Shaft entrance
-----------------------------------
package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/missio... | gpl-3.0 |
GetPlay/335source | src/server/scripts/Custom/GoMove/GOMove/GOMoveFunctions.lua | 8 | 9890 | GOMove = {Frames = {}, Inputs = {}}
function GOMove:Update()
for k, Frame in ipairs(GOMove.Frames) do
if(Frame.Update) then
Frame:Update()
end
end
end
function GOMove:Tonumber(val) -- returns nil if the value is not a number or 0x starting hex
if(type(val) == "string") then
... | gpl-2.0 |
waytim/darkstar | scripts/globals/mobskills/Grim_Halo.lua | 11 | 1096 | ---------------------------------------------------
-- Grim Halo
-- Deals damage to a all targets. Additional effect: Knockback
-- Only used by Fomors that wield a two-handed weapon (principally WAR, BLM, DRK, SAM, DRG, and SMN fomors).
---------------------------------------------------
require("scripts/globals/sett... | gpl-3.0 |
zorfmorf/loveprojects | gowt/Client/model/quadtree.lua | 2 | 5008 | -- this file represents the quadtree used to reduce the number of
-- collision checks needed.
-- implementation based on the following blog entry
-- http://gamedev.tutsplus.com/tutorials/implementation/quick-tip-use-quadtrees-to-detect-likely-collisions-in-2d-space/
local QT_MAX_LEVELS = 10
local QT_MAX_OBJECTS = 3
... | apache-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/abilities/pets/thunderspark.lua | 4 | 1451 | ---------------------------------------------------
-- Thunderspark M=whatever
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/summon");
require("/scripts/globals/magic");
require("/scripts/globals/monstertpmoves");... | gpl-3.0 |
waytim/darkstar | scripts/zones/Spire_of_Dem/npcs/_0j1.lua | 39 | 1330 | -----------------------------------
-- Area: Spire_of_Dem
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Dem/TextIDs");
-------------------------... | gpl-3.0 |
pvvx/EspLua | lua_modules/yeelink/yeelink_lib.lua | 73 | 3136 |
-- ***************************************************************************
-- Yeelink Updata Libiary Version 0.1.2 r1
--
-- Written by Martin
-- but based on a script of zhouxu_o from bbs.nodemcu.com
--
-- MIT license, http://opensource.org/licenses/MIT
-- **********************************************************... | mit |
maciejmiklas/LuaUtils | src/log.lua | 3 | 1846 | log = {
is_debug = false,
is_info = true,
is_warn = true,
is_error = true,
uart_id = 0,
}
log_file = {
enabled = true,
file_name = "utils.log",
max_lines = 10000
}
local line_cnt = 0
local file_ref = nil
local function open_file()
file_ref = file.open(log_file.file_name, "a+")
end... | apache-2.0 |
forcecore/OpenRA | mods/d2k/maps/harkonnen-03a/harkonnen03a.lua | 4 | 7044 | AtreidesBase = { ABarracks, AWindTrap1, AWindTrap2, ALightFactory, AOutpost, AConyard, ARefinery, ASilo }
AtreidesBaseAreaTriggers =
{
{ CPos.New(34, 50), CPos.New(35, 50), CPos.New(36, 50), CPos.New(37, 50), CPos.New(38, 50), CPos.New(39, 50), CPos.New(40, 50), CPos.New(41, 50), CPos.New(14, 57), CPos.New(14, 58), CP... | gpl-3.0 |
waytim/darkstar | scripts/globals/spells/thunderstorm.lua | 32 | 1193 | --------------------------------------
-- Spell: Thunderstorm
-- Changes the weather around target party member to "thundery."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-------------------------------------... | gpl-3.0 |
SethClydesdale/psobb-meseta-count | Meseta Count/configuration.lua | 1 | 13445 | local function ConfigurationWindow(configuration, customTheme)
local this = {
title = "Meseta Count - Configuration",
fontScale = 1.0,
open = false,
changed = false,
}
local _configuration = configuration
local _showWindowSettings = function()
local success
local labelPositionList = {
... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/penta_thrust.lua | 2 | 1329 | -----------------------------------
-- Penta Thrust
-- Polearm weapon skill
-- Skill Level: 150
-- Delivers a five-hit attack. params.accuracy varies with TP.
-- PDIF calculates lower, with an approximate 0.3 mitigation, resulting in Penta Thrust's lower damage. Verification Needed
-- Will stack with Sneak Attack... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/effects/dia.lua | 2 | 1519 | -----------------------------------
--
-- EFFECT_DIA
--
----------------------------------
-- Quick Explanation of Algorithm:
-- Dia 1: Power of 1. Results in reduced defense of ~5.27% (27/512) and 1 hp/tick damage.
-- Dia 2: Power of 2. Results in reduced defense of ~10.35% (53/512) and 2 hp/tick damage.
-- Dia... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c100000830.lua | 2 | 2867 | --Created and coded by Rising Phoenix
function c100000830.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(100000830,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLED)
e1:SetCondition(c100000830.retcon)
e1... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Tahrongi_Canyon/npcs/Cavernous_Maw.lua | 2 | 1187 | -----------------------------------
-- Cavernous Maw
-- Teleport aby tar
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/teleports");... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c60155346.lua | 2 | 2453 | --Earthbound Immortal Mog The Ultimate Being
function c60155346.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),aux.NonTuner(Card.IsSetCard,0x21),1)
c:EnableReviveLimit()
--self destroy
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SING... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bastok_Mines/npcs/Emaliveulaux.lua | 2 | 1580 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Emaliveulaux
-- Only sells when Bastok controls the Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["sc... | gpl-3.0 |
waytim/darkstar | scripts/zones/Cloister_of_Tremors/mobs/Galgalim.lua | 23 | 1126 | -----------------------------------
-- Area: Cloister of Tremors
-- MOB: Galgalim
-- Involved in Quest: The Puppet Master
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- OnMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end... | gpl-3.0 |
waytim/darkstar | scripts/zones/Windurst_Waters/npcs/Paku-Nakku.lua | 13 | 1396 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Paku-Nakku
-- Involved in Quest: Making the Grade
-- Working 100%
-- @zone = 238
-- @pos = 127 -6 165
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c78330028.lua | 2 | 2445 | --Mass Breeding Nest
function c78330028.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--token
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(78330028,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATE... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Lower_Jeuno/TextIDs.lua | 2 | 2211 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6620; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6378; -- Obtained: <item>
GIL_OBTAINED = 6379; -- Obtained <number> gil
KEYITEM_OBTAINED = 6381; -- Obtain... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Sauromugue_Champaign/npcs/qm2.lua | 4 | 2055 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm2 (Tower 2)
-- Type: Standard NPC
--
-- THF Quest "As Thick As Thieves"
-- @zone: 120
-- @where x193, y32, z211
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
waytim/darkstar | scripts/globals/spells/paralyze.lua | 14 | 1952 | -----------------------------------------
-- Spell: Paralyze
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpell... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.