repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
db260179/openwrt-bpi-r1-luci
libs/luci-lib-nixio/docsrc/nixio.lua
151
15824
--- General POSIX IO library. module "nixio" --- Look up a hostname and service via DNS. -- @class function -- @name nixio.getaddrinfo -- @param host hostname to lookup (optional) -- @param family address family [<strong>"any"</strong>, "inet", "inet6"] -- @param service service name or port (optional) -- @return ...
apache-2.0
gfgtdf/wesnoth-old
data/campaigns/World_Conquest/lua/map/postgeneration/4B_Volcanic.lua
4
8171
-- Volcanic function world_conquest_tek_map_repaint_4b() set_terrain { "Ql,Md,Md^Xm", f.terrain("U*,U*^Uf"), exact = false, percentage = 10, } set_terrain { "Ql,Uu,Uh,Uh,Uu^Uf,Qxu,Uh^Uf", f.terrain("Xu"), } set_terrain { "Ql,Uu^Uf,Qxu,Uh^Uf,Uh,Uh,Uu,Ql,Md", f.terrain("Mm^Xm"), fraction = 2, } set_te...
gpl-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Lower_Jeuno/npcs/Morefie.lua
6
1119
----------------------------------- -- Area: Lower Jeuno -- NPC: Morefie -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
philipyufei/References
Moudle.lua
1
1046
Module = {"PD_Simulation","TD_Simulation","PD_Test","TD_Test"} PD_Simulation = {TFP = "TFPModule.dll",EPD = "EPDModule.dll",E3 = "nullptr",Library = "LibraryModule.dll",Result = "ResultModule.dll","TFP","EPD","E3","Library","Result"} TD_Simulation = {TTD = "TTDModule.dll",ETD = "ETDModule.dll",Library = "LibraryM...
gpl-3.0
waytim/darkstar
scripts/zones/San_dOria-Jeuno_Airship/npcs/Nigel.lua
30
2316
----------------------------------- -- Area: San d'Oria-Jeuno Airship -- NPC: Nigel -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil; require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
X-Raym/REAPER-ReaScripts
Text Items and Item Notes/Formatting/X-Raym_Delete font color markup from selected items notes.lua
1
1791
--[[ * ReaScript Name: Delete font color markup from selected items notes * About: Delete font color markup from selected items notes * Instructions: Select an item. Use it. * Author: X-Raym * Author URI: https://www.extremraym.com * Repository: GitHub > X-Raym > REAPER-ReaScripts * Repository URI: https://githu...
gpl-3.0
waytim/darkstar
scripts/globals/spells/geohelix.lua
26
1688
-------------------------------------- -- Spell: Geohelix -- Deals earth damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/mag...
gpl-3.0
behnam98/SmartRobot
plugins/id.lua
355
2795
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
waytim/darkstar
scripts/zones/Lower_Jeuno/npcs/_l07.lua
13
1554
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -45.148 0 -47.279 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
waytim/darkstar
scripts/zones/The_Boyahda_Tree/npcs/Grounds_Tome.lua
30
1095
----------------------------------- -- Area: The Boyahda Tree -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc...
gpl-3.0
waytim/darkstar
scripts/zones/Bastok_Markets/npcs/Zacc.lua
13
1607
----------------------------------- -- Area: Bastok Markets -- NPC: Zacc -- Type: Quest NPC -- @zone: 235 -- @pos -255.709 -13 -91.379 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); require("scripts/globals/quests...
gpl-3.0
nwhitehead/vida
src/vida.lua
3
9109
-- Requires LuaJIT if type(jit) ~= 'table' then error('This modules requires LuaJIT') end local os = require('os') local ffi = require('ffi') local md5 = require('md5') local path = require('path') local temp = require('temp') local vida = {} -- Optionally update value local function update(old, new) if ne...
mit
waytim/darkstar
scripts/globals/items/bataquiche.lua
18
1456
----------------------------------------- -- ID: 5168 -- Item: Bataquiche -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic 8 -- Agility 1 -- Vitality -2 -- Ranged ATT % 7 -- Ranged ATT Cap 15 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c100000944.lua
2
4425
--Created and coded by Rising Phoenix function c100000944.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
waytim/darkstar
scripts/zones/Abyssea-Tahrongi/npcs/qm18.lua
17
1550
----------------------------------- -- Zone: Abyssea-Tahrongi -- NPC: ??? -- Spawns: Lacovie ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(play...
gpl-3.0
waytim/darkstar
scripts/zones/Port_Bastok/npcs/_6k8.lua
13
1400
----------------------------------- -- Area: Port Bastok -- NPC: Door: Departures Exit -- @zone 236 -- @pos -62 1 -8 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems...
gpl-3.0
Project-OSRM/osrm-backend
third_party/flatbuffers/lua/flatbuffers/numTypes.lua
6
4437
local m = {} local ba = require("flatbuffers.binaryarray") local bpack = ba.Pack local bunpack = ba.Unpack local type_mt = {} function type_mt:Pack(value) return bpack(self.packFmt, value) end function type_mt:Unpack(buf, pos) return bunpack(self.packFmt, buf, pos) end function type_mt:ValidNumber(n)...
bsd-2-clause
waytim/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Nilerouche.lua
13
1300
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Nilerouche -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----------------------...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Bhaflau_Thickets/npcs/Runic_Portal.lua
2
1589
----------------------------------- -- Area: Bhaflau Thickets -- NPC: Runic Portal -- Mamook Ja Teleporter Back to Aht Urgan Whitegate -- @pos -211 -11 -818 52 ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
waytim/darkstar
scripts/zones/Selbina/npcs/Graegham.lua
13
1145
----------------------------------- -- Area: Selbina -- NPC: Graegham -- Guild Merchant NPC: Fishing Guild -- @pos -12.423 -7.287 8.665 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scri...
gpl-3.0
waytim/darkstar
scripts/zones/Qufim_Island/npcs/Giant_Footprint.lua
13
1039
----------------------------------- -- Area: Qufim Island -- NPC: Giant Footprint -- Involved in quest: Regaining Trust -- @pos 501 -11 354 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Qufim_Island/TextID...
gpl-3.0
alecxvs/UTChat
utchat/client/formats/shadow.lua
1
1074
--UText Shadow Format-- --[[ Shadow Effect - type = "Shadow" - startpos = <number> - endpos = <number> *Custom Parameter* * shadow = args[1-4] X Offset = -1 (number), Y Offset = -1 (number), Alpha = 255 (number), Scale = 1 (number) ]]-- Events:Subscribe( "ModulesLoad", function() class 'Shadow' ...
mit
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Ordelles_Caves/npcs/Stalagmite.lua
2
2354
----------------------------------- -- Area: Ordelles Caves -- NPC: Stalagmite -- Involved In Quest: Sharpening the Sword -- @zone 193 -- @pos -51 0 3 ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings...
gpl-3.0
waytim/darkstar
scripts/globals/items/piece_of_cascade_candy.lua
18
1175
----------------------------------------- -- ID: 5942 -- Item: Piece of Cascade Candy -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind +4 -- Charisma +4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c80106548.lua
2
3980
--The Fourth Panticle of Serenity function c80106548.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_HANDES+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,80106548) e1:SetTarget(c80106548.drtg) e1:SetOperation(c80106548.drop) ...
gpl-3.0
omaralahmad/RESANDA
bot/utils.lua
14
16238
--Begin Utils.lua By #BeyondTeam :) function serialize_to_file(data, file, uglify) file = io.open(file, 'w+') local serialized if not uglify then serialized = serpent.block(data, { comment = false, name = '_' }) else serialized = serpent.dump(data) end file:write(serialized) ...
gpl-3.0
dmccuskey/dmc-sockets
examples/dmc-sockets-basic/dmc_corona/dmc_sockets/ssl_params.lua
16
4809
--====================================================================-- -- dmc_corona/dmc_sockets/ssl_params.lua -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2014-2015 David McCuskey. All Rights ...
mit
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/spells/gain-chr.lua
2
2309
-------------------------------------- -- Spell: Gain-CHR -- Boosts targets CHR stat -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------...
gpl-3.0
waytim/darkstar
scripts/globals/spells/cura_ii.lua
36
4121
----------------------------------------- -- Spell: Cura -- Restores hp in area of effect. Self target only -- From what I understand, Cura's base potency is the same as Cure II's. -- With Afflatus Misery Bonus, it can be as potent as a Curaga III -- Modeled after our cure_ii.lua, which was modeled after the below refe...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c100000790.lua
2
2475
--Created and coded by Rising Phoenix function c100000790.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c100000790.spcon) e1:SetTarget(c100000790.targe...
gpl-3.0
tst2005/lunamark
lunamark/writer/xml.lua
3
1505
-- (c) 2009-2011 John MacFarlane. Released under MIT license. -- See the file LICENSE in the source for details. --- Generic XML writer for lunamark. -- It extends [lunamark.writer.generic] and is extended by -- [lunamark.writer.html] and [lunamark.writer.docbook]. local M = {} local generic = require("lunamark.writ...
mit
TheOnePharaoh/YGOPro-Custom-Cards
script/c20912240.lua
2
1970
--klein function c20912240.initial_effect(c) --lv gain local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20912240,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCondition(c20912240.condition) e1:SetTarget(c20912240...
gpl-3.0
waytim/darkstar
scripts/zones/Cloister_of_Storms/bcnms/trial_by_lightning.lua
30
2230
----------------------------------- -- Area: Cloister of Storms -- BCNM: Trial by Lightning ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("script...
gpl-3.0
wanmaple/MWFrameworkForCocosLua
frameworks/runtime-src/Framework/lua/auto/api/MWJsonObject.lua
1
5572
-------------------------------- -- @module MWJsonObject -- @extend MWObject -- @parent_module mw -------------------------------- -- Get pairs count of json.<br> -- return Return the count of key-value pairs. -- @function [parent=#MWJsonObject] count -- @param self -- @return unsigned int#unsigned int ret (return v...
apache-2.0
waytim/darkstar
scripts/zones/Southern_San_dOria/npcs/Coderiant.lua
13
1465
----------------------------------- -- Area: Southern San d'Oria -- NPC: Coderiant -- General Info NPC -- @zone 230 -- @pos -111 -2 33 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/sett...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c100000812.lua
2
4204
--Created and coded by Rising Phoenix function c100000812.initial_effect(c) --lp local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(100000812,0)) e1:SetCategory(CATEGORY_RECOVER) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DAMAGE_S...
gpl-3.0
niegenug/wesnoth
data/ai/micro_ais/cas/ca_forest_animals_tusker_attack.lua
26
2575
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" 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...
gpl-2.0
steven-jackson/PersonalLoot
libs/LibBabble-Inventory-3.0/LibStub/tests/test2.lua
100
1112
debugstack = debug.traceback strmatch = string.match loadfile("../LibStub.lua")() for major, library in LibStub:IterateLibraries() do -- check that MyLib doesn't exist yet, by iterating through all the libraries assert(major ~= "MyLib") end assert(not LibStub:GetLibrary("MyLib", true)) -- check that MyLib doesn't ...
gpl-3.0
TienHP/Aquaria
files/scripts/maps/node_energytemple01door.lua
6
1879
-- 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/globals/abilities/ninja_roll.lua
19
2510
----------------------------------- -- Ability: Ninja Roll -- Enhances evasion for party members within area of effect -- Optimal Job: Ninja -- Lucky Number: 4 -- Unlucky Number: 8 -- Jobs: -- Corsair Level 8 -- -- Die Roll |With NIN -- -------- ---------- -- 1 |+4 -- 2 |+6 -- 3 |+8 ...
gpl-3.0
waytim/darkstar
scripts/globals/mobskills/Dragon_Breath.lua
34
1375
--------------------------------------------- -- Dragon Breath -- -- Description: Deals Fire damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Fafnir, Nidhogg, Cynoprosopi, and Wyrm. Because of the high damage output...
gpl-3.0
chrox/koreader
frontend/ui/wikipedia.lua
3
2599
local JSON = require("json") local DEBUG = require("dbg") --[[ -- Query wikipedia using Wikimedia Web API. -- http://en.wikipedia.org/w/api.php?action=query&prop=extracts&format=json&exintro=&explaintext=&redirects=&titles=hello --]] local Wikipedia = { wiki_server = "https://%s.wikipedia.org", wiki_path = "/w/...
agpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/bird_egg.lua
3
1083
----------------------------------------- -- ID: 4570 -- Item: Bird Egg -- Food Effect: 5Min, All Races ----------------------------------------- -- Health 6 -- Magic 6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c19007855.lua
2
4774
--Mechquipped Death Knight function c19007855.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,3,2) c:EnableReviveLimit() --atk local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetVal...
gpl-3.0
waytim/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Louxiard.lua
15
2494
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Louxiard -- @zone 80 -- @pos -93 -4 49 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests"); -------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c91536870.lua
2
1160
--Vocaloid Bruno and Clara function c91536870.initial_effect(c) c:SetUniqueOnField(1,0,91536870) --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:SetCondition(c91536870.spcon) c:R...
gpl-3.0
waytim/darkstar
scripts/commands/checkvar.lua
38
1130
--------------------------------------------------------------------------------------------------- -- func: @checkvar <varType> <varName> -- desc: checks player or server variable and returns result value. --------------------------------------------------------------------------------------------------- cmdprops = {...
gpl-3.0
vashstorm/thrift
lib/lua/TBinaryProtocol.lua
90
6141
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/weaponskills/retribution.lua
4
1502
----------------------------------- -- Retribution -- Staff weapon skill -- Skill Level: 230 -- Delivers a single-hit attack. Damage varies with TP. -- In order to obtain Retribution, the quest Blood and Glory must be completed. -- Despite the appearance of throwing the staff, this is not a long-range Weapon Skil...
gpl-3.0
waytim/darkstar
scripts/zones/Kazham/npcs/Mitti_Haplihza.lua
15
1054
----------------------------------- -- Area: Kazham -- NPC: Mitti Haplihza -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- ...
gpl-3.0
wanmaple/MWFrameworkForCocosLua
frameworks/runtime-src/Framework/lua/auto/api/MWZipData.lua
1
3007
-------------------------------- -- @module MWZipData -- @extend MWObject -- @parent_module mw -------------------------------- -- Get the total raw data of the compressed file.<br> -- param compressedFile Compressed file path.<br> -- password The compressed password if required. -- @function [parent=#MWZipData] getC...
apache-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/danceshroom.lua
3
1099
----------------------------------------- -- ID: 4375 -- Item: danceshroom -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -5 -- Dexterity 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Western_Altepa_Desert/npcs/Sapphire_Column.lua
2
1659
----------------------------------- -- Area: Western Altepa Desert -- NPC: Sapphire Column -- Mechanism for Altepa Gate -- @pos -499 10 224 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Western_Al...
gpl-3.0
X-Raym/REAPER-ReaScripts
Items Properties/X-Raym_Set selected items active take sources offline.lua
1
1877
--[[ * ReaScript Name: Set selected items active take sources 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: https://forum....
gpl-3.0
waytim/darkstar
scripts/globals/effects/aftermath_lv1.lua
30
1130
----------------------------------- -- -- EFFECT_AFTERMATH_LV1 -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); if (effe...
gpl-3.0
narner/Soundpipe
modules/data/randi.lua
2
1462
sptbl["randi"] = { files = { module = "randi.c", header = "randi.h", example = "ex_randi.c", }, func = { create = "sp_randi_create", destroy = "sp_randi_destroy", init = "sp_randi_init", compute = "sp_randi_compute", }, params = { op...
mit
TienHP/Aquaria
files/scripts/entities/_unused/minicrab.lua
6
3466
-- 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/zipwriter
utils/mkarch.lua
3
2280
local IS_WINDOWS = package.config:sub(1,1) == '\\' local ZipWriter = require "ZipWriter" local PATH = require "path" local TEXT_EXT = {".lua", ".txt", ".c", ".cpp", ".h", ".hpp", ".pas", ".cxx", ".me"} local function isin(s, t) local s = s:lower() for _, v in ipairs(t) do if s == v then return true...
mit
Sertex-Team/sPhone
src/init.lua
3
4702
os.oldPullEvent = os.pullEvent os.pullEvent = os.pullEventRaw local function crash(err) if not sPhone then sPhone = { devMode = false, } end term.setCursorBlink(false) term.setBackgroundColor(colors.white) term.clear() term.setCursorPos(1,1) term.setTextColor(colors.black) if not err then err = "Undef...
mit
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Aht_Urhgan_Whitegate/npcs/Malfud.lua
2
1217
----------------------------------- -- Area: Aht Urhfan Whitegate -- NPC: Malfud -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); --------------------...
gpl-3.0
forcecore/OpenRA
mods/d2k/maps/ordos-02b/ordos02b-AI.lua
20
2890
--[[ 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
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Northern_San_dOria/npcs/Alphollon_C_Meriard.lua
4
3095
----------------------------------- -- Area: Northern San d'Oria -- NPC: Alphollon C Meriard -- Type: Purifies cursed items with their corresponding abjurations. -- @zone: 231 -- @pos 98.108 -1 137.999 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ---------------...
gpl-3.0
TienHP/Aquaria
files/scripts/maps/_unused/node_energyboss_done.lua
6
1348
-- 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/c1013043.lua
2
2952
--Fiend's Hand (Pendulum) function c1013043.initial_effect(c) --Pendulum Set aux.EnablePendulumAttribute(c) --[[ aux.AddPendulumProcedure(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1)]]-- --Destroy local e1=Effect.CreateEffect(...
gpl-3.0
X-Raym/REAPER-ReaScripts
MIDI Editor/X-Raym_Export active take in MIDI editor as CSV of notes and velocity.lua
1
2543
--[[ * ReaScript Name: Export active take in MIDI editor as CSV of notes and velocity * About: Designed for my MIDI CSV as notes sequence JSFX. * Author: X-Raym * Author URI: https://www.extremraym.com * Links: Forum Thread http://forum.cockos.com/showthread.php?t=181105 * Licence: GPL v3 * REAPER: 5.0 * Ve...
gpl-3.0
waytim/darkstar
scripts/zones/Beaucedine_Glacier_[S]/npcs/Watchful_Pixie.lua
13
1073
----------------------------------- -- Area: Beaucedine Glacier (S) -- NPC: Watchful Pixie -- Type: Quest NPC -- @zone: 136 -- @pos -56.000 -1.3 -392.000 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier_[S]/TextIDs"...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c59821133.lua
2
1331
--Action Card - Guardian Angel function c59821133.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetCondition(c59821133.condition) e1:SetOperation(c59821133...
gpl-3.0
zorfmorf/loveprojects
graph/main.lua
1
3945
require "node" nodeamount = 10 -- can never be < 3 noderotate = math.pi / 32 xshift= love.graphics.getWidth() / 2 yshift = love.graphics.getHeight() / 2 -- rotate node1 around node2 by the given angle (in radians) function rotateNode(node1, node2, angle) local c = math.cos(angle) local s = math.sin(angl...
apache-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c78330006.lua
2
1148
--AB myrdon function c78330006.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(78330006,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetRange(LOCATION_REMOVED) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCondition(c7833...
gpl-3.0
waytim/darkstar
scripts/globals/weaponskills/shijin_spiral.lua
10
1804
----------------------------------- -- Shijin Spiral -- Hand-to-Hand weapon skill -- Skill Level: N/A -- Delivers a fivefold attack that Plagues the target. Chance of inflicting Plague varies with TP. -- In order to obtain Shijin Spiral, the quest Martial Mastery must be completed. -- Aligned with the Flame Gorget, Lig...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c12310711.lua
2
3449
--Lifehunt Scythe --lua script by SGJin function c12310711.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c12310711.target) e1:SetOperation(c12310711.op...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters_[S]/npcs/Kristen.lua
4
1042
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Kristen -- Type: Standard NPC -- @zone: 94 -- @pos: 2.195 -2 60.296 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -------...
gpl-3.0
chrox/koreader
frontend/ui/widget/confirmbox.lua
4
3321
local InputContainer = require("ui/widget/container/inputcontainer") local CenterContainer = require("ui/widget/container/centercontainer") local FrameContainer = require("ui/widget/container/framecontainer") local HorizontalGroup = require("ui/widget/horizontalgroup") local VerticalGroup = require("ui/widget/verticalg...
agpl-3.0
LuaDist2/prosody
core/portmanager.lua
2
7940
local config = require "core.configmanager"; local certmanager = require "core.certmanager"; local server = require "net.server"; local socket = require "socket"; local log = require "util.logger".init("portmanager"); local multitable = require "util.multitable"; local set = require "util.set"; local table = table; l...
mit
TheOnePharaoh/YGOPro-Custom-Cards
script/c55438790.lua
1
2860
--T.M. Librarian function c55438790.initial_effect(c) --option local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(55438790,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCost(c55438790.tgcost) e1:SetTarget(c5543...
gpl-3.0
delram/seedup2
bot/utils.lua
646
23489
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c100000945.lua
2
4424
--Created and coded by Rising Phoenix function c100000945.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
DevPGSV/telegram-bot
plugins/twitter_send.lua
627
1555
do local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local client = OAuth.new(consumer_key, consumer_secret, { RequestToken = "https://api.twitter.com/oauth/request_token", AuthorizeUser = {"https://api.twitter.com/oauth/autho...
gpl-2.0
waytim/darkstar
scripts/globals/items/prime_angler_stewpot.lua
18
2000
----------------------------------------- -- ID: 5612 -- Item: Prime Angler Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% -- MP +15 -- Dexterity 2 -- Agility 1 -- Mind 1 -- HP Recovered while healing 7 -- MP Recovered while healing 2 -- Accuracy 15% ...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters_[S]/npcs/Ranpi-Monpi.lua
4
1049
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ranpi-Monpi -- Type: Standard NPC -- @zone: 94 -- @pos: -115.452 -3 43.389 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ...
gpl-3.0
CaptainPRICE/wire
lua/entities/gmod_wire_expression2/core/find.lua
1
31750
E2Lib.RegisterExtension("find", true, "Allows an E2 to search for entities matching a filter.") local function table_IsEmpty(t) return not next(t) end local filterList = E2Lib.filterList local function replace_match(a,b) return string.match( string.Replace(a,"-","__"), string.Replace(b,"-","__") ) end -- -- some g...
apache-2.0
X-Raym/REAPER-ReaScripts
MIDI Editor/X-Raym_Mute selected notes in open MIDI take randomly.lua
1
2924
--[[ * ReaScript Name: Mute selected notes in open MIDI take randomly * Instructions: Open a MIDI take in MIDI Editor. Select Notes. 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 * Lic...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Dynamis-Jeuno/mobs/Goblin_Statue.lua
2
4691
----------------------------------- -- Area: Dynamis Jeuno -- NPC: Goblin Statue -- Map1 Position: http://images3.wikia.nocookie.net/__cb20090312005127/ffxi/images/b/bb/Jeu1.jpg -- Map2 Position: http://images4.wikia.nocookie.net/__cb20090312005155/ffxi/images/3/31/Jeu2.jpg -- Vanguard Position: http://faranim.livejou...
gpl-3.0
db260179/openwrt-bpi-r1-luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua
68
2351
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") -- -- SIP trunk info -- if arg[2] == "info" then form = SimpleForm("asterisk", "SIP Trunk Information") form.reset = false form.submit = "Back to overview" local info,...
apache-2.0
waytim/darkstar
scripts/globals/spells/huton_san.lua
21
1271
----------------------------------------- -- Spell: Huton: San -- Deals wind damage to an enemy and lowers its resistance against ice. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---------------...
gpl-3.0
Contatta/prosody-modules
mod_mam/mamprefsxml.lib.lua
36
1467
-- XEP-0313: Message Archive Management for Prosody -- Copyright (C) 2011-2013 Kim Alvefur -- -- This file is MIT/X11 licensed. local st = require"util.stanza"; local xmlns_mam = "urn:xmpp:mam:0"; local global_default_policy = module:get_option("default_archive_policy", false); local default_attrs = { always = true...
mit
waytim/darkstar
scripts/globals/items/cheese_sandwich_+1.lua
18
1186
----------------------------------------- -- ID: 5687 -- Item: cheese_sandwich_+1 -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 10 -- Agility 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/wild_melon.lua
3
1088
----------------------------------------- -- ID: 4597 -- Item: wild_melon -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -6 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----...
gpl-3.0
waytim/darkstar
scripts/zones/Riverne-Site_A01/npcs/_0u1.lua
13
1347
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_A01/TextIDs"); ...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/persikos.lua
3
1086
----------------------------------------- -- ID: 4274 -- Item: persikos -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -7 -- Intelligence 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c77777848.lua
2
1784
--Mystic Fauna Owl function c77777848.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(77777848,0)) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c77777848.spcon) ...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c44559815.lua
2
5870
--Zhong Kui, Descendant of the Nirvana function c44559815.initial_effect(c) c:SetUniqueOnField(1,0,44559815) --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:SetCondition(c44559815...
gpl-3.0
waytim/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Earth.lua
13
2385
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Earth -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"...
gpl-3.0
TienHP/Aquaria
files/scripts/entities/nauplius.lua
12
6551
-- 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_light.lua
10
7999
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Light" ENT.RenderGroup = RENDERGROUP_BOTH ENT.WireDebugName = "Light" function ENT:SetupDataTables() self:NetworkVar( "Bool", 0, "Glow" ) self:NetworkVar( "Float", 0, "Brightness" ) self:NetworkVar( "Float", 1, "Size" ) self:Network...
apache-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Yhoator_Jungle/npcs/Emila_RK.lua
4
2897
----------------------------------- -- Area: Yhoator Jungle -- NPC: Emila, R.K. -- Border Conquest Guards -- @pos -84.113 -0.449 224.902 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requir...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/spells/gravity.lua
4
1282
----------------------------------------- -- Spell: Gravity ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function OnMagicCastingCheck(caster,target,spel...
gpl-3.0
waytim/darkstar
scripts/zones/North_Gustaberg/npcs/Stone_Monument.lua
13
1276
----------------------------------- -- Area: North Gustaberg -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos -199.635 96.106 505.624 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
amostalong/SSFS
Assets/LuaFramework/ToLua/Lua/UnityEngine/Quaternion.lua
7
13664
-------------------------------------------------------------------------------- -- Copyright (c) 2015 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- Use, modification and distribution are subject to the "MIT License" ------------------------------------------------------------------------...
mit
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/rolanberry.lua
3
1088
----------------------------------------- -- ID: 4365 -- Item: rolanberry -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -4 -- Intelligence 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----...
gpl-3.0