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
NatWeiss/RGP
src/cocos2d-js/frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/script/framework/extends/UIListView.lua
55
2358
--[[ Copyright (c) 2011-2014 chukong-inc.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
mit
joaofvieira/luci
applications/luci-app-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
147
5025
require("luci.tools.webadmin") m = Map("multiwan", translate("Multi-WAN"), translate("Multi-WAN allows for the use of multiple uplinks for load balancing and failover.")) s = m:section(NamedSection, "config", "multiwan", "") e = s:option(Flag, "enabled", translate("Enable")) e.rmempty = false e.default = e.enabled ...
apache-2.0
cornernote/Minetest-WorldEdit
worldedit/compatibility.lua
23
2107
--- Compatibility functions. -- @module worldedit.compatibility local function deprecated(new_func) local info = debug.getinfo(1, "n") local msg = "worldedit." .. info.name .. "() is deprecated." if new_func then msg = msg .. " Use worldedit." .. new_func .. "() instead." end minetest.log("deprecated"...
agpl-3.0
dangersuperbot/super_boomrange
plugins/badword.lua
3
5085
local function addword(msg, name) local hash = 'chat:'..msg.to.id..':badword' redis:hset(hash, name, 'newword') return "کلمه جدید به فیلتر کلمات اضافه شد\n>"..name end local function gaddword(msg, name) local hash = 'bot:badword' redis:hset(hash, name, 'newword') return "کلمه جدید به فیلتر کلمات...
gpl-2.0
excessive/hate
hate/timer.lua
2
1378
local current_folder = (...):gsub('%.[^%.]+$', '') .. "." local sdl = require(current_folder .. "sdl2") local timer = {} local last local last_delta = 0 local average_delta = 0 local delta_list = {} function timer.init() timer.step() end function timer.step() local now = tonumber(sdl.getPerformanceCounter()) if...
mit
NonVolatileComputing/arrow
c_glib/example/lua/stream-to-torch-tensor.lua
6
2682
-- 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 may...
apache-2.0
NatWeiss/RGP
src/cocos2d-js/frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/script/cocos2d/bitExtend.lua
104
1590
-- bit operation bit = bit or {} bit.data32 = {} for i=1,32 do bit.data32[i]=2^(32-i) end function bit._b2d(arg) local nr=0 for i=1,32 do if arg[i] ==1 then nr=nr+bit.data32[i] end end return nr end function bit._d2b(arg) arg = arg >= 0 and arg or (0xFFFFFFFF + a...
mit
yetsky/luci
modules/base/luasrc/sys/zoneinfo/tzdata.lua
72
16813
--[[ LuCI - Autogenerated Zoneinfo Module 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 ]]-- module "luci.sys.zoneinfo.tzdata" TZ = { { 'Africa/Abi...
apache-2.0
moteus/lua-voip
lua/voip/sip/message.lua
2
22620
local utils = require "voip.sip.impl.utils" local split = utils.split local format = utils.format ------------------------------------------------------------------------------- -- message class ------------------------------------------------------------------------------- local SipCreateMsg do local REQ_MT = {} RE...
mit
martinqo99/IFJ-ng
2012_fkolacek/misc/ifj-projekt/testy/integral3.lua
3
16635
--[[ © Vojtech Simetka 2011 pocita urcity integral obdelnikovou metodou ocekavany vstup: integral from: [dolni mez] to: [horni mez] step: [velikost kroku] function: [vstupni funkce] . . . end kde [dolni mez] .. nezaporne cislo [horni mez] .. nezaporne cislo > [dolni mez] [vel...
gpl-2.0
moteus/lua-voip
lua/voip/sip/us.lua
1
1616
local SipCreateMsg = require "voip.sip.message".new local utils = require "voip.sip.impl.utils" local date = require "date" local format = utils.format local Generators = utils.generators local SipDigest = utils.SipDigest ---------------------------------------------- local SIP_US do SIP_US = {} ...
mit
MathieuDuponchelle/gdx
demos/pax-britannica/pax-britannica-android/assets/data/the_game.lua
11
1899
require 'dokidoki.module' [[ make ]] local game = require 'dokidoki.game' local kernel = require 'dokidoki.kernel' local v2 = require 'dokidoki.v2' require 'glfw' local blueprints = require 'blueprints' local music local args = {} for _, a in ipairs(arg) do args[a] = true end function make () return game.make_...
apache-2.0
knowknowledge/Epiar
Resources/Scripts/utilities.lua
2
6434
-- The functions in this file are helper functions. --- Convert a list of strings/numbers into an table with those values as keys -- Code from: http://www.lua.org/pil/11.5.html function Set (list) local set = {} for _, l in ipairs(list) do set[l] = true end return set end --- Get the Keys from a table -- (Useful f...
gpl-2.0
NatWeiss/RGP
src/cocos2d-js/frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/script/cocos2d/json.lua
106
15353
----------------------------------------------------------------------------- -- JSON4Lua: JSON encoding / decoding support for the Lua language. -- json Module. -- Author: Craig Mason-Jones -- Homepage: http://json.luaforge.net/ -- Version: 0.9.40 -- This module is released under the MIT License (MIT). -- Please see L...
mit
philsiff/Red-Vs-Blue
Red Vs. Blue Files/addons/ulib/lua/ulib/server/player_ext.lua
2
1701
local meta = FindMetaTable( "Player" ) ULib.spawnWhitelist = -- Tool white list for tools that don't spawn things { "colour", "material", "paint", "ballsocket", "ballsocket_adv", "weld", "keepupright", "nocollide", "eyeposer", "faceposer", "statue", "weld_ez", "axis", } -- Return if there's nothing to ad...
mit
joaofvieira/luci
applications/luci-app-firewall/luasrc/model/cbi/firewall/zones.lua
45
2025
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local ds = require "luci.dispatcher" local fw = require "luci.model.firewall" local m, s, o, p, i, v m = Map("firewall", translate("Firewall - Zone Settings"), translate("The firewall creates zones over your...
apache-2.0
SinZ163/TwilightsEveORPG
game/scripts/vscripts/abilities/druid/archdruid/modifier_teve_druid_archdruid_werewolf.lua
2
2144
modifier_teve_druid_archdruid_werewolf = class({}) function modifier_teve_druid_archdruid_werewolf:OnCreated(kv) if IsServer() then self:GetCaster():SetAttackCapability(DOTA_UNIT_CAP_MELEE_ATTACK) end end function modifier_teve_druid_archdruid_werewolf:OnDestroy(kv) if IsServer() then self...
mit
leocarbonell/primer-proyecto-love
main/conf.lua
1
2743
function love.conf(t) t.identity = "metroDark" -- The name of the save directory (string) t.version = "0.9.2" -- The LÖVE version this game was made for (string) t.console = false -- Attach a console (boolean, Windows only) t.window.title = "DungeonMet...
mit
philsiff/Red-Vs-Blue
Red Vs. Blue Files/lua/postprocess/color_modify.lua
1
4118
local mat_ColorMod = Material( "pp/colour" ) mat_ColorMod:SetTexture( "$fbtexture", render.GetScreenEffectTexture() ) --[[--------------------------------------------------------- Register the convars that will control this effect -----------------------------------------------------------]] local pp_colorm...
mit
joaofvieira/luci
applications/luci-app-radvd/luasrc/model/cbi/radvd/dnssl.lua
61
2025
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local sid = arg[1] local utl = require "luci.util" m = Map("radvd", translatef("Radvd - DNSSL"), translate("Radvd is a router advertisement daemon for IPv6. " .. "It listens to router solicitations and sends...
apache-2.0
pazos/koreader
plugins/docsettingtweak.koplugin/main.lua
4
4375
local BD = require("ui/bidi") local DataStorage = require("datastorage") local FFIUtil = require("ffi/util") local InputDialog = require("ui/widget/inputdialog") local LuaSettings = require("luasettings") local UIManager = require("ui/uimanager") local WidgetContainer = require("ui/widget/container/widgetcontainer") lo...
agpl-3.0
notestudio/shall-I-kill-her
assets/scripts/vendor/HC/vector-light.lua
30
3067
--[[ Copyright (c) 2012 Matthias Richter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribu...
apache-2.0
hfjgjfg/seed353
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
judos/hardCrafting
source/libs/prototypes/recipe.lua
1
6889
function recipeChangeResultsForItemsByFactor(itemNameS, factor, roundValues) if type(itemNameS) == "string" then itemNameS = { itemNameS } elseif type(itemNameS) ~= "table" then err("Invalid type of argument passed: "..serpent.block(itemNameS)) return end info("All recipes will results "..tostring(factor).."x...
gpl-3.0
bottelebot/Umbrella
plugins/remind.lua
362
1875
local filename='data/remind.lua' local cronned = load_from_file(filename) local function save_cron(msg, text,date) local origin = get_receiver(msg) if not cronned[date] then cronned[date] = {} end local arr = { origin, text } ; table.insert(cronned[date], arr) serialize_to_file(cronned, filename) re...
gpl-2.0
NatWeiss/RGP
src/cocos2d-js/frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Director.lua
9
18132
-------------------------------- -- @module Director -- @parent_module cc -------------------------------- -- Pauses the running scene.<br> -- The running scene will be _drawed_ but all scheduled timers will be paused.<br> -- While paused, the draw rate will be 4 FPS to reduce CPU consumption. -- @function [parent=#...
mit
rigeirani/satn
plugins/owners.lua
71
12458
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
pazos/koreader
frontend/ui/geometry.lua
3
8622
--[[-- 2D Geometry utilities All of these apply to full rectangles: local Geom = require("ui/geometry") Geom:new{ x = 1, y = 0, w = Screen:scaleBySize(100), h = Screen:scaleBySize(200), } Some behaviour is defined for points: Geom:new{ x = 0, y = 0, } Some behaviour is defined for dimensions: Geom...
agpl-3.0
HamidRavani/hamid
plugins/ingroup.lua
50
48862
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...
gpl-2.0
miraage/gladdy
Libs/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua
5
8886
--[[ --Multiline Editbox Widget, Originally by bam --]] local assert, error, ipairs, next, pairs, select, tonumber, tostring, type, unpack, pcall, xpcall = assert, error, ipairs, next, pairs, select, tonumber, tostring, type, unpack, pcall, xpcall local getmetatable, setmetatable, rawequal, rawget, rawset, getfenv,...
mit
gnuser/gocServer
d_3rd/LuaJIT-2.0.1/src/jit/vmdef.lua
33
6668
-- This is a generated file. DO NOT EDIT! module(...) bcnames = "ISLT ISGE ISLE ISGT ISEQV ISNEV ISEQS ISNES ISEQN ISNEN ISEQP ISNEP ISTC ISFC IST ISF MOV NOT UNM LEN ADDVN SUBVN MULVN DIVVN MODVN ADDNV SUBNV MULNV DIVNV MODNV ADDVV SUBVV MULVV DIVVV MODVV POW CAT KSTR KCDATAKSHORTKNUM KPRI K...
gpl-2.0
yetsky/luci
applications/luci-ahcp/luasrc/controller/ahcp.lua
76
1533
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> 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 $Id: init.lua...
apache-2.0
enginix/luasocket
samples/cddb.lua
46
1419
local socket = require("socket") local http = require("socket.http") if not arg or not arg[1] or not arg[2] then print("luasocket cddb.lua <category> <disc-id> [<server>]") os.exit(1) end local server = arg[3] or "http://freedb.freedb.org/~cddb/cddb.cgi" function parse(body) local lines = string.gfind(bo...
mit
Deadwing888/darkstar
scripts/globals/mobskills/Dominion_Slash.lua
18
1586
--------------------------------------------- -- Domionion Slash -- -- Description: Performs an area of effect slashing weaponskill. Additional effect: Silence -- Type: Physical -- 2-3 Shadows -- Range: Unknown radial -- One source also mentions that it "can dispel important buffs." ------------------------------...
gpl-3.0
opensourceBrown/DR
DR/external/emscripten/tests/box2d/premake4.lua
35
1660
-- Box2D premake script. -- http://industriousone.com/premake local action = _ACTION or "" solution "Box2D" location ( "Build/" .. action ) configurations { "Debug", "Release" } configuration "vs*" defines { "_CRT_SECURE_NO_WARNINGS" } configuration "Debug" targetdir ( "Build/" .. action .. "/bin/Debug"...
mit
nikai3d/naev
dat/missions/sirius/heretic/heretic2.lua
2
7849
--[[misn title - the patrol]] --[[in this mission, the player will be guarding the "high command" of the nasin, the wringer/suna. house sirius is sending in recon parties. the players job is to take out any and all sirius in the system.]] include "dat/scripts/numstring.lua" lang = naev.lang() bmsg = {} --begin...
gpl-3.0
jun496276723/CocosMFCEditor
cocos2d/plugin/luabindings/auto/api/ProtocolUser.lua
146
1133
-------------------------------- -- @module ProtocolUser -- @extend PluginProtocol -- @parent_module plugin -------------------------------- -- brief config the application info<br> -- param devInfo This parameter is the info of aplication,<br> -- different plugin have different format<br> -- warning Must invoke this...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Dynamis-Buburimu/mobs/Serjeant_Tombstone.lua
6
1206
----------------------------------- -- Area: Dynamis Buburimu -- MOB: Serjeant_Tombstone ----------------------------------- package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Buburimu/TextIDs"); ----...
gpl-3.0
kennyledet/Algorithm-Implementations
Iterative_Deepening_Depth_First_Search/Lua/Yonaba/iddfs.lua
26
3480
-- Generic Iterative Deepening Depth-First search algorithm implementation -- See : http://en.wikipedia.org/wiki/Iterative_deepening_depth-first_search -- Notes : this is a generic implementation of IDDFS algorithm. -- It is devised to be used on any type of graph (point-graph, tile-graph, -- or whatever. It expects t...
mit
Deadwing888/darkstar
scripts/globals/weaponskills/seraph_strike.lua
11
1313
----------------------------------- -- Seraph Strike -- Club weapon skill -- Skill level: 40 -- Deals light elemental damage to enemy. Damage varies with TP. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:40% ; MND:40% -- 100%TP 200%TP 300%TP -- 2.125 ...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Southern_San_dOria/npcs/Apairemant.lua
11
1266
----------------------------------- -- Area: Southern San d'Oria -- NPC: Apairemant -- Gustaberg Regional Merchant -- !pos 72 2 0 230 ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs") require("scripts/globals/events/harvest_festivals") require("scripts/globals/conquest") re...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Cloister_of_Frost/npcs/Ice_Protocrystal.lua
13
1910
----------------------------------- -- Area: Cloister of Frost -- NPC: Ice Protocrystal -- Involved in Quests: Trial by Ice, Trial Size Trial by Ice -- @pos 558 0 596 203 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil; ------------------------------------- require(...
gpl-3.0
quebic-source/searchbox-core
src/main/resources/lua_scripts/redis/remove_model_by_id.lua
2
1859
local function remove_autocomplete_set(setKey, fieldValue, id) local cursor = '0' local done = false local level = 1 repeat local scan_result = redis.call('SCAN', cursor, 'MATCH', setKey) cursor = scan_result[1] for y,x in pairs(scan_result[2]) do redis.call('ZREM', x, string.lower(fieldValue .....
apache-2.0
Jokler/JC2MP-Scripts
Racing/server/sCourseFileLoader.lua
2
11655
-- Datablock names and their default values. class("INFO") function INFO:__init() self.datablockType = "INFO" self.name = "unnamed course" self.type = "linear" self.laps = 1 self.lapTimeMinutes = 0 self.lapTimeSeconds = 0 self.hourStart = 10 self.hourFinish = 14 self.checkpointRadiusMult = 1 self.weatherSe...
mit
libsh-archive/sh
lua/test/life.lua
888
2635
-- life.lua -- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l -- modified to use ANSI terminal escape sequences -- modified to use for instead of while local write=io.write ALIVE="¥" DEAD="þ" ALIVE="O" DEAD="-" function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary for i=1,10000 do...
lgpl-2.1
Deadwing888/darkstar
scripts/globals/items/plate_of_ikra_gunkan.lua
18
1727
----------------------------------------- -- ID: 5219 -- Item: plate_of_ikra_gunkan -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 30 -- Magic 10 -- Dexterity 3 -- Mind -2 -- Accuracy % 17 -- Accuracy Cap 28 -- Ranged ACC % 17 -- Ranged ACC Cap 28 ----------------------------------...
gpl-3.0
destdev/ygopro-scripts
c80254726.lua
2
2353
--ブラック・バード・クローズ function c80254726.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c80254726.condition) e1:SetCost(c80254726.cost) e1:SetTarget(c80254...
gpl-2.0
ryangmor/seheed
bot/seedbot.lua
2
10663
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
RwNigma/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/_0zt.lua
17
1389
----------------------------------- -- Area: The_Garden_of_RuHmet -- NPC: Luminus convergence ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Garden...
gpl-3.0
Kong/kong
spec/fixtures/ssl.lua
1
34668
return { --[[ Version: 1 (0x0) Issuer: C = US, ST = California, L = San Francisco, O = Kong, OU = Core, CN = ssl-example.com Validity Not Before: Apr 24 14:36:29 2020 GMT Not After : Feb 7 14:36:29 2294 GMT Note: Version 1 was accomplished by using a openssl.cnf file with the x509_extensions l...
apache-2.0
fodinabor/Polycode
bindings/lua/Polycode/SceneParticleEmitter.lua
1
9926
require "Polycode/SceneMesh" class "SceneParticleEmitter" (SceneMesh) SceneParticleEmitter.PARTICLE_TYPE_POINT = 0 SceneParticleEmitter.PARTICLE_TYPE_QUAD = 1 SceneParticleEmitter.PARTICLE_TYPE_MESH = 2 function SceneParticleEmitter:__getvar(name) if name == "useScaleCurve" then return Polycode.SceneParticleEmitt...
mit
Deadwing888/darkstar
scripts/zones/Northern_San_dOria/npcs/HomePoint#2.lua
27
1277
----------------------------------- -- Area: Northern San dOria -- NPC: HomePoint#2 -- @pos 10 -0.2 95 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/g...
gpl-3.0
Deadwing888/darkstar
scripts/commands/addeffect.lua
3
2076
--------------------------------------------------------------------------------------------------- -- func: addeffect -- desc: Adds the given effect to the given player. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters ...
gpl-3.0
destdev/ygopro-scripts
c55063751.lua
1
2863
--海亀壊獣ガメシエル function c55063751.initial_effect(c) c:SetUniqueOnField(1,0,aux.FilterBoolFunction(Card.IsSetCard,0xd3),LOCATION_MZONE) --special summon rule local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetRange(LOCATION_HAND) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE...
gpl-2.0
RwNigma/darkstar
scripts/globals/items/candy_cane.lua
36
1234
----------------------------------------- -- ID: 5622 -- Item: Candy Cane -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Intelligence 4 -- Mind 4 -- MP Recovery while healing 2 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
destdev/ygopro-scripts
c32723153.lua
6
1107
--マジカル・エクスプロージョン function c32723153.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DAMAGE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c32723153.condition) e1:SetTarget(c32723153.target) e1:SetOper...
gpl-2.0
RwNigma/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Llewellyn.lua
38
1050
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Llewellyn -- Type: Campaign Evaluator -- @zone: 94 -- @pos -6.907 -2 42.871 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/spells/bluemagic/blitzstrahl.lua
12
1812
----------------------------------------- -- 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
RwNigma/darkstar
scripts/zones/Sacrificial_Chamber/npcs/_4j4.lua
19
1348
----------------------------------- -- Area: Sacrificial Chamber -- NPC: Mahogany Door -- @pos 300 30 -324 163 ------------------------------------- package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missio...
gpl-3.0
RwNigma/darkstar
scripts/globals/spells/bluemagic/death_ray.lua
18
1602
----------------------------------------- -- Spell: Death Ray -- Deals dark damage to an enemy -- Spell cost: 49 MP -- Monster Type: Amorphs -- Spell Type: Magical (Dark) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 34 -- Casting Time: 4.5 seconds -- Recast Time: 29.25 seconds -- Magic Bursts ...
gpl-3.0
Lleafll/ldots
Libs/AceSerializer-3.0/AceSerializer-3.0.lua
18
8875
--- **AceSerializer-3.0** can serialize any variable (except functions or userdata) into a string format, -- that can be send over the addon comm channel. AceSerializer was designed to keep all data intact, especially -- very large numbers or floating point numbers, and table structures. The only caveat currently is, ...
mit
Deadwing888/darkstar
scripts/globals/abilities/double-up.lua
24
2654
----------------------------------- -- Ability: Double Up -- Enhances an active Phantom Roll effect that is eligible for Double-Up. -- Obtained: Corsair Level 5 -- Recast Time: 8 seconds -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); req...
gpl-3.0
Kong/kong
spec/fixtures/blueprints.lua
1
9155
local ssl_fixtures = require "spec.fixtures.ssl" local utils = require "kong.tools.utils" local deep_merge = utils.deep_merge local fmt = string.format local Blueprint = {} Blueprint.__index = Blueprint function Blueprint:build(overrides) overrides = overrides or {} return deep_merge(self.build_function(over...
apache-2.0
Deadwing888/darkstar
scripts/zones/Northern_San_dOria/npcs/Morjean.lua
13
1774
----------------------------------- -- Area: Northern San d'Oria -- NPC: Morjean -- Involved in Quest: A Squire's Test II (Optional), The Holy Crest -- @pos 99 0 116 231 ------------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Waoud.lua
12
7280
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Waoud -- Standard Info NPC -- Involved in quest: An Empty Vessel -- @pos 65 -6 -78 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
RwNigma/darkstar
scripts/zones/Northern_San_dOria/npcs/Excenmille.lua
38
1057
----------------------------------- -- Area: Northern San d'Oria -- NPC: Excenmille -- Type: Ballista Pursuivant -- @zone: 231 -- @pos -229.344 6.999 22.976 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"]...
gpl-3.0
destdev/ygopro-scripts
c47705572.lua
1
3834
--月光狼 function c47705572.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --splimit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_PZONE) e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG...
gpl-2.0
nikai3d/naev
dat/missions/neutral/pirbounty_dead.lua
5
14973
--[[ Dead or Alive Pirate Bounty Copyright 2014, 2015 Julian Marchant This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Halvung/npcs/qm1.lua
15
1266
----------------------------------- -- Area: Halvung -- NPC: ??? (Spawn Big Bomb) -- @pos -233.830 13.613 286.714 62 ----------------------------------- package.loaded["scripts/zones/Halvung/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Halvung/TextIDs"); -------------------------------...
gpl-3.0
TonyPhipps/Warcraft
DaftUI/daftAutomaton/Auction.lua
1
4903
local addonName, addonTable = ... local addon = CreateFrame("Frame") addon:RegisterEvent("AUCTION_HOUSE_SHOW") addon:RegisterEvent("AUCTION_ITEM_LIST_UPDATE") local selectedItem local selectedItemVendorPrice local selectedItemQuality local currentPage = 0 local myBuyoutPrice, myStartPrice local myName = UnitName("pl...
gpl-3.0
destdev/ygopro-scripts
c86120751.lua
1
2775
--召喚師アレイスター function c86120751.initial_effect(c) --boost local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(86120751,0)) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_FREE_CHAIN) ...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/spells/bluemagic/saline_coat.lua
12
1225
----------------------------------------- -- Spell: Saline Coat -- Enhances magic defense -- Spell cost: 66 MP -- Monster Type: Luminians -- Spell Type: Magical (Light) -- Blue Magic Points: 3 -- Stat Bonus: VIT+2, AGI+2, MP+10 -- Level: 72 -- Casting Time: 3 seconds -- Recast Time: 60 seconds -- Duration: 60 seconds -...
gpl-3.0
destdev/ygopro-scripts
c76798740.lua
1
1649
--ヴェンデット・チャージ function c76798740.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:SetCountLimit(1,76798740+EFFECT_COUNT_CODE_OATH) e1:SetCost(c76798740.cost) e1:SetTarget(c76798740.targe...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Empyreal_Paradox/mobs/Selhteus.lua
8
1365
----------------------------------- -- Area: Empyreal Paradox -- Mob: Selh'teus -- Chains of Promathia 8-4 BCNM Fight ----------------------------------- require("scripts/globals/status") require("scripts/globals/magic") local ID = require("scripts/zones/Empyreal_Paradox/IDs") ----------------------------------- func...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Behemoths_Dominion/npcs/qm1.lua
9
1226
----------------------------------- -- Area: Behemoth's Dominion -- NPC: ??? -- Involved In Quest: The Talekeeper's Gift -- !pos 211 4 -79 127 ----------------------------------- local ID = require("scripts/zones/Behemoths_Dominion/IDs") ----------------------------------- function onTrade(player,npc,trade) end func...
gpl-3.0
destdev/ygopro-scripts
c39987164.lua
2
3148
--ヴァイロン・ディシグマ function c39987164.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,3) c:EnableReviveLimit() --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(39987164,0)) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:Se...
gpl-2.0
Deadwing888/darkstar
scripts/globals/effects/perfect_defense.lua
37
3077
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) print(target:getMod(MOD_UDMGMAGIC)); print(target:getMod(MOD_UDMGPHYS)); effect:setSubPower(e...
gpl-3.0
MrGrim48/prop_hunt
gamemode/modules/custom_rounds/rounds/sh_mirror.lua
1
3051
--[[ sh_mirror.lua Copyright© Nekom Glew, 2017 --]] local ROUND = {} ROUND.Name = "Mirrored Map" function ROUND:Init() if SERVER then SetGlobalBool( "MapMirrored", true ) end end function ROUND:RoundEndWithResult() if SERVER then SetGlobalBool( "MapMirrored", false ) end end if CLIENT then ...
mit
destdev/ygopro-scripts
c37675138.lua
2
2375
--ボーンクラッシャー function c37675138.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(37675138,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_SPSUMMON_SU...
gpl-2.0
RwNigma/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Rholont.lua
15
3941
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Rholont -- @zone 80 -- @pos -168 -2 56 ----------------------------------- 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
Deadwing888/darkstar
scripts/zones/Stellar_Fulcrum/bcnms/return_to_delkfutts_tower.lua
25
2076
----------------------------------- -- Area: Stellar Fulcrum -- Name: Mission 5-2 -- @pos -520 -4 17 179 ----------------------------------- package.loaded["scripts/zones/Stellar_Fulcrum/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); req...
gpl-3.0
destdev/ygopro-scripts
c79606837.lua
6
2804
--虹光の宣告者 function c79606837.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --remove local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE) e1:SetCode(EFFECT_TO_GRAVE_REDIRECT) e1:SetRange(LOCATION_MZON...
gpl-2.0
destdev/ygopro-scripts
c3758046.lua
4
3419
--DDD怒濤王シーザー function c3758046.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_FIEND),4,2) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(3758046,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/items/bowl_of_zoni_broth.lua
11
1832
----------------------------------------- -- ID: 5618 -- Item: bowl_of_zoni_broth -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 10 -- MP 10 -- Strength 1 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- Accuracy +1 -- Ranged Accuracy +1 -- Attack +1 -- Ranged Attack +1 -- Evasion +1 -- HP ...
gpl-3.0
destdev/ygopro-scripts
c33725002.lua
1
4266
--Vサラマンダー function c33725002.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(33725002,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget...
gpl-2.0
dscoolx6/MyESP8266
lua_modules/hdc1000/HDC1000.lua
79
2703
------------------------------------------------------- -- This library was written for the Texas Instruments -- HDC1000 temperature and humidity sensor. -- It should work for the HDC1008 too. -- Written by Francesco Truzzi (francesco@truzzi.me) -- Released under GNU GPL v2.0 license. ------------------------------...
mit
destdev/ygopro-scripts
c47126872.lua
2
2243
--スペースタイムポリス function c47126872.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(47126872,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetTarget(c471...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/abilities/avengers_roll.lua
12
2696
----------------------------------- -- Ability: Avenger's Roll -- Increases chance of countering for party members within area of effect. -- Optimal Job: None -- Lucky Number: 4 -- Unlucky Number: 8 -- Level: 97 -- -- No community data available. Substituting Fighters Roll % -- Phantom Roll +1 Value: 1 -- -- Die Roll ...
gpl-3.0
Kong/kong
kong/plugins/request-termination/handler.lua
1
1955
local kong = kong local kong_meta = require "kong.meta" local DEFAULT_RESPONSE = { [401] = "Unauthorized", [404] = "Not found", [405] = "Method not allowed", [500] = "An unexpected error occurred", [502] = "Bad Gateway", [503] = "Service unavailable", } local RequestTerminationHandler = {} RequestTermi...
apache-2.0
ffxijuggalo/darkstar
scripts/globals/spells/bluemagic/eyes_on_me.lua
12
1391
----------------------------------------- -- Spell: Eyes On Me -- Deals dark damage to an enemy -- Spell cost: 112 MP -- Monster Type: Demons -- Spell Type: Magical (Dark) -- Blue Magic Points: 4 -- Stat Bonus: HP-5, MP+15 -- Level: 61 -- Casting Time: 4.5 seconds -- Recast Time: 29.25 seconds -- Magic Bursts on: Compr...
gpl-3.0
destdev/ygopro-scripts
c80476891.lua
1
2994
--進化合獣ヒュードラゴン function c80476891.initial_effect(c) aux.EnableDualAttribute(c) --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(80476891,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_SUMMON_SUCCESS) e...
gpl-2.0
Shevraar/bloody-alchemy
bloody-alchemy/Libs/AceDB-3.0/AceDB-3.0.lua
1
24113
--- **AceDB-3.0** manages the SavedVariables of your addon. -- It offers profile management, smart defaults and namespaces for modules.\\ -- Data can be saved in different data-types, depending on its intended usage. -- The most common data-type is the `profile` type, which allows the user to choose -- the active profi...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Dragons_Aery/Zone.lua
12
1662
----------------------------------- -- -- Zone: Dragons_Aery (154) -- ----------------------------------- package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Dragons_Aery/TextIDs"); ...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/candy_cane.lua
18
1273
----------------------------------------- -- ID: 5622 -- Item: Candy Cane -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Intelligence 4 -- Mind 4 -- MP Recovery while healing 2 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
destdev/ygopro-scripts
c37679169.lua
4
3231
--Kozmo-デルタシャトル function c37679169.initial_effect(c) --atk/def local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1) e1:SetCost(c37679169.adcost) e1:SetTarget...
gpl-2.0
RwNigma/darkstar
scripts/globals/items/sea_bass_croute.lua
35
1746
----------------------------------------- -- ID: 4353 -- Item: sea_bass_croute -- Food Effect: 30Min, All Races ----------------------------------------- -- MP % 5 -- Dexterity 4 -- Mind 5 -- Accuracy 3 -- Ranged Accuracy % 6 (cap 20) -- HP recovered while healing 9 -- MP recovered while healing 2 ---------...
gpl-3.0
RwNigma/darkstar
scripts/zones/Sacrificial_Chamber/npcs/_4j1.lua
38
1045
----------------------------------- -- Area: Sacrificial Chamber -- NPC: Mahogany Door -- @pos -331 0.1 -300 163 ------------------------------------- package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Sacrificial_Chamber/TextIDs"); -------...
gpl-3.0
RwNigma/darkstar
scripts/zones/Castle_Zvahl_Baileys_[S]/Zone.lua
28
1354
----------------------------------- -- -- Zone: Castle_Zvahl_Baileys_[S] (138) -- ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Baileys_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Baileys_[S]...
gpl-3.0
linuxmaniac/pkg-prosody
tools/migration/migrator/prosody_files.lua
5
4624
local print = print; local assert = assert; local setmetatable = setmetatable; local tonumber = tonumber; local char = string.char; local coroutine = coroutine; local lfs = require "lfs"; local loadfile = loadfile; local pcall = pcall; local mtools = require "migrator.mtools"; local next = next; local pairs = pairs; l...
mit
libretro/libretro-lutro
deps/luajit/src/jit/p.lua
5
9177
---------------------------------------------------------------------------- -- LuaJIT profiler. -- -- Copyright (C) 2005-2022 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -- -- This modul...
mit