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
Arashbrsh/a1wez-
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
alexandermerritt/ramcloud
ft/luabit/bit.lua
31
4654
--[[--------------- LuaBit v0.4 ------------------- a bitwise operation lib for lua. http://luaforge.net/projects/bit/ How to use: ------------------- bit.bnot(n) -- bitwise not (~n) bit.band(m, n) -- bitwise and (m & n) bit.bor(m, n) -- bitwise or (m | n) bit.bxor(m, n) -- bitwise xor (m ^ n) bit.b...
isc
starlightknight/darkstar
scripts/zones/Apollyon/bcnms/cs_apollyon.lua
9
1394
----------------------------------- -- Area: Appolyon -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/battlefield") require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBattlefieldTick(battlefield, tick) ds...
gpl-3.0
starlightknight/darkstar
scripts/commands/addquest.lua
11
1570
--------------------------------------------------------------------------------------------------- -- func: addquest <logID> <questID> <player> -- desc: Adds a quest to the given targets log. --------------------------------------------------------------------------------------------------- require("scripts/globals/q...
gpl-3.0
mishin/Algorithm-Implementations
Bresenham_Based_Supercover_Line/Lua/Yonaba/bresenham_based_supercover.lua
25
2214
-- Bresenham-based Supercover line marching algorithm -- See: http://lifc.univ-fcomte.fr/home/~ededu/projects/bresenham/ -- Note: This algorithm is based on Bresenham's line marching, but -- instead of considering one step per axis, it covers all the points -- the ideal line covers. It may be useful for example when...
mit
starlightknight/darkstar
scripts/commands/togglegm.lua
50
1876
--------------------------------------------------------------------------------------------------- -- func: togglegm -- desc: Toggles a GMs nameflags/icon. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "" }; funct...
gpl-3.0
gedads/Neodynamis
scripts/zones/Northern_San_dOria/npcs/Kasaroro.lua
3
3675
----------------------------------- -- Area: Northern San d'Oria -- NPC: Kasaroro -- Type: Consulate Representative -- Involved in Mission: 2-3 Windurst -- !pos -72 -3 34 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- requir...
gpl-3.0
laino/luakit
lib/lousy/uri.lua
7
3484
------------------------------------------------------ -- URI parsing functions -- -- © 2011 Mason Larobina <mason.larobina@gmail.com> -- ------------------------------------------------------ -- Get lua environment local table = table local string = string local ipairs = ipairs local pairs ...
gpl-3.0
gedads/Neodynamis
scripts/zones/The_Shrine_of_RuAvitau/npcs/qm3.lua
3
1300
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: ??? (Spawn Ullikummi) -- !pos 739 -99 -581 178 ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Shrine_of_RuAvitau/TextID...
gpl-3.0
gedads/Neodynamis
scripts/zones/Dangruf_Wadi/npcs/qm2.lua
3
1473
----------------------------------- -- Area: Dangruf Wadi -- NPC: ??? (QM2) -- Type: Item Giver -- !pos -120.041 2.621 415.989 191 -- Starts and Finishes: Breaking Stones, An Empty Vessel -- Only spawns if the weather is SUNNY or CLEAR ----------------------------------- package.loaded["scripts/zones/Dangruf_Wadi...
gpl-3.0
starlightknight/darkstar
scripts/globals/items/bowl_of_salt_ramen_+1.lua
11
1645
----------------------------------------- -- ID: 6463 -- Item: bowl_of_salt_ramen_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- DEX +6 -- VIT +6 -- AGI +6 -- Accuracy +6% (cap 95) -- Ranged Accuracy +6% (cap 95) -- Evasion +6% (cap 95) -- Resist Slow +15 ------------------------------...
gpl-3.0
ld-test/dromozoa-regexp
dromozoa/regexp/syntax_tree/denormalize.lua
3
2438
-- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-regexp. -- -- dromozoa-regexp 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, ...
gpl-3.0
Snarkie/YGOProAIScript
AI/decks/Blackwing.lua
1
29952
function BlackwingPriority() AddPriority({ [81105204] = {7,1,1,1,3,1,1,1,8,1,KrisCond}, -- Kris [58820853] = {5,3,1,1,1,1,1,1,5,1,ShuraCond}, -- Shura [49003716] = {4,1,1,1,4,1,1,1,8,1,BoraCond}, -- Bora [14785765] = {3,1,1,1,6,4,1,1,1,1,ZephCond}, -- Zephyros [85215458] = {9,4,1,1,3,1,1,1,5,1,KalutCond}, ...
mit
gedads/Neodynamis
scripts/globals/items/cherry_macaron.lua
15
1273
----------------------------------------- -- ID: 5779 -- Item: cherry_macaron -- Food Effect: 30Min, All Races ----------------------------------------- -- Increases rate of synthesis success +3% -- Increases synthesis skill gain rate +3% ----------------------------------------- require("scripts/globals/status"); -...
gpl-3.0
starlightknight/darkstar
scripts/globals/items/black_curry_bun.lua
11
1683
----------------------------------------- -- ID: 5758 -- Item: black_curry_bun -- Food Effect: 30minutes, All Races ----------------------------------------- -- TODO: Group effects -- DEX +2 -- VIT +4 -- INT +1 -- Accuracy +5 -- Ranged Accuracy +5 -- Evasion +5 -- DEF +15% (cap 180) -- Resist Sleep +3 -- hHP +2 -- hMP ...
gpl-3.0
starlightknight/darkstar
scripts/zones/Lower_Jeuno/npcs/Vhana_Ehgaklywha.lua
12
1970
----------------------------------- -- Area: Lower Jeuno -- NPC: Vhana Ehgaklywha -- Lights lamps in Lower Jeuno if nobody accepts Community Service by 1AM. -- !pos -122.853 0.000 -195.605 245 ----------------------------------- require("scripts/zones/Lower_Jeuno/globals"); local ID = require("scripts/zones/Lower_Jeun...
gpl-3.0
libmoon/libmoon
lua/proto/ipfix.lua
4
16527
------------------------------------------------------------------------ --- @file ipfix.lua --- @brief IPFIX packet generation. --- Utility functions for the ipfix_header structs --- Includes: --- - IPFIX constants --- - IPFIX header utility --- - Definition of IPFIX packets --- - Functions to create an IPFIX Message ...
mit
Amorph/premake-stable
tests/base/test_baking.lua
57
3205
-- -- tests/test_baking.lua -- Automated test suite for the configuration baking functions. -- Copyright (c) 2009, 2010 Jason Perkins and the Premake project -- T.baking = { } local suite = T.baking -- -- Setup code -- local prj, cfg function suite.setup() _ACTION = "gmake" solution "MySolution" configu...
bsd-3-clause
hades2013/openwrt-mtk
package/ralink/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
37
5651
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> 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://w...
gpl-2.0
Micr0Bit/OpenRA
mods/cnc/maps/nod06b/nod06b.lua
25
7008
NodUnitsVehicle1 = { 'bggy', 'bggy', 'bike', 'bike', 'bike' } NodUnitsVehicle2 = { 'ltnk', 'ltnk', 'ltnk' } NodUnitsGunner = { 'e1', 'e1', 'e1', 'e1', 'e1', 'e1' } NodUnitsRocket = { 'e3', 'e3', 'e3', 'e3', 'e3', 'e3' } Gdi1Units = { 'e1', 'e1', 'e2', 'e2', 'e2' } HuntCellTriggerActivator = { CPos.New(61,34), CPos.New...
gpl-3.0
O-P-E-N/CC-ROUTER
feeds/luci/applications/luci-app-radicale/luasrc/model/cbi/radicale.lua
39
27698
-- Copyright 2015 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed under the Apache License, Version 2.0 local NXFS = require("nixio.fs") local DISP = require("luci.dispatcher") local DTYP = require("luci.cbi.datatypes") local HTTP = require("luci.http") local UTIL = require("luci.ut...
gpl-2.0
starlightknight/darkstar
scripts/globals/spells/suiton_san.lua
12
1401
----------------------------------------- -- Spell: Suiton: San -- Deals water damage to an enemy and lowers its resistance against lightning. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") ----------------------------------------- function onMagicCastingCh...
gpl-3.0
gedads/Neodynamis
scripts/globals/items/ogre_eel.lua
12
1398
----------------------------------------- -- ID: 4481 -- Item: ogre_eel -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
gedads/Neodynamis
scripts/zones/Port_San_dOria/npcs/Rielle.lua
17
1399
----------------------------------- -- Area: Port San d'Oria -- NPC: Rielle -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ----...
gpl-3.0
starlightknight/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/IDs.lua
8
3727
----------------------------------- -- Area: The_Sanctuary_of_ZiTah ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.THE_SANCTUARY_OF_ZITAH] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain t...
gpl-3.0
gedads/Neodynamis
scripts/zones/Dynamis-Buburimu/mobs/Goblin_Replica.lua
22
1186
----------------------------------- -- Area: Dynamis Buburimu -- MOB: Goblin Replica ----------------------------------- package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Buburimu/TextIDs"); --------...
gpl-3.0
starlightknight/darkstar
scripts/zones/Temenos/bcnms/temenos_western_tower.lua
9
1337
----------------------------------- -- Area: Temenos -- Name: Temenos Western Tower ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/battlefield") require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBattlefieldTick(battle...
gpl-3.0
starlightknight/darkstar
scripts/zones/Crawlers_Nest_[S]/npcs/Rodeupansat.lua
11
1664
----------------------------------- -- Area: Crawlers_Nest_[S] -- NPC: Rodeupansat -- Starts and Finishes Quest: EVIL_AT_THE_INLET -- !pos 129 -34 26 171 ----------------------------------- require("scripts/globals/npc_util") require("scripts/globals/keyitems") require("scripts/globals/quests") -----------------------...
gpl-3.0
gedads/Neodynamis
scripts/globals/items/strip_of_buffalo_jerky.lua
12
1393
----------------------------------------- -- ID: 5196 -- Item: strip_of_buffalo_jerky -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 4 -- Mind -2 -- Attack % 18 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); -----------------------...
gpl-3.0
gedads/Neodynamis
scripts/commands/addtitle.lua
6
1261
--------------------------------------------------------------------------------------------------- -- func: addtitle -- desc: Add and set player title. --------------------------------------------------------------------------------------------------- require("scripts/globals/titles"); cmdprops = { permission = ...
gpl-3.0
kidaa/lsyncd
tests/l4rsyncdata.lua
17
1554
#!/usr/bin/lua require("posix") dofile("tests/testlib.lua") cwriteln("****************************************************************") cwriteln(" Testing layer 4 default rsync with simulated data activity ") cwriteln("****************************************************************") local tdir, srcdir, trgdir ...
gpl-2.0
hyee/dbcli
lua/helper.lua
1
13945
local env,java=env,java local runtime=java.require("java.lang.Runtime",true):getRuntime() local helper=env.class() function helper.jvm() local grid=env.grid local set=env.set local rows={{},{}} local function add(name,value) local siz=#rows[1]+1 rows[1][siz],rows[2][siz]=name,value ...
mit
gedads/Neodynamis
scripts/globals/items/pipira.lua
12
1658
----------------------------------------- -- ID: 5787 -- Item: pipira -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 -- Attack % 14.5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
starlightknight/darkstar
scripts/globals/spells/battlefield_elegy.lua
12
1788
----------------------------------------- -- Spell: Battlefield Elegy ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster, target, spell) return 0 en...
gpl-3.0
Craige/prosody-modules
mod_register_json/register_json/mod_register_json.lua
32
10044
-- Expose a simple token based servlet to handle user registrations from web pages -- through Base64 encoded JSON. -- Copyright (C) 2010 - 2013, Marco Cirillo (LW.Org) local datamanager = datamanager local b64_decode = require "util.encodings".base64.decode local b64_encode = require "util.encodings".base64.encode lo...
mit
hades2013/openwrt-mtk
package/ralink/ui/luci-mtk/src/applications/luci-asterisk/luasrc/model/cbi/asterisk-iax-connections.lua
80
2000
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 h...
gpl-2.0
gedads/Neodynamis
scripts/globals/common.lua
35
2855
----------------------------------- -- -- ----------------------------------- ----------------------------------- -- switch ----------------------------------- function switch(c) local swtbl = { casevar = c, caseof = function (self,code) local f if (self.casevar) then f = cod...
gpl-3.0
gedads/Neodynamis
scripts/globals/weaponskills/mordant_rime.lua
18
2236
----------------------------------- -- Mordant Rime -- Dagger weapon skill -- Skill level: N/A -- Description: Delivers a twofold attack that decreases target's movement speed. Chance of decreasing movement speed varies with TP. Carnwenhan: Aftermath effect varies with TP. -- Aligned with the Breeze Gorget, Thunder Gor...
gpl-3.0
tst2005/lua-penlight
lua/pl/lapp.lua
6
13984
--- Simple command-line parsing using human-readable specification. -- Supports GNU-style parameters. -- -- lapp = require 'pl.lapp' -- local args = lapp [[ -- Does some calculations -- -o,--offset (default 0.0) Offset to add to scaled number -- -s,--scale (number) Scaling factor -- ...
mit
CrazyEddieTK/Zero-K
LuaUI/Widgets/api_grabinput.lua
5
3224
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Grab Input", desc = "Implements grab input option", author = "GoogleFrog", date = "11 N...
gpl-2.0
Sinaloit/EPGP
Dialogs.lua
1
6446
local EPGP = Apollo.GetAddon("EPGP") local L = EPGP.L function EPGP:RegisterDialogs() local DLG = EPGP.DLG DLG:Register("EPGP_CONFIRM_GP_CREDIT", { text = "Unknown Item", icon = [[Interface\DialogFrame\UI-Dialog-Icon-AlertNew]], buttons = { { text = Apollo.GetString("CRB_Accept"), OnClick = functio...
mit
czfshine/Don-t-Starve
data/DLC0001/scripts/screens/playerhud.lua
1
11145
local Screen = require "widgets/screen" local ContainerWidget = require("widgets/containerwidget") local Controls = require("widgets/controls") local UIAnim = require "widgets/uianim" local Widget = require "widgets/widget" local IceOver = require "widgets/iceover" local FireOver = require "widgets/fireover" local Bloo...
gpl-2.0
victorperin/tibia-server
data/npc/scripts/Eremo.lua
2
2704
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function ...
apache-2.0
czfshine/Don-t-Starve
data/scripts/components/freezefx.lua
1
4358
local FireFX = Class(function(self, inst) self.inst = inst self.level = nil self.inst:StartUpdatingComponent(self) self.playingsound = nil self.percent = 1 self.levels = {} self.playignitesound = true self.bigignitesoundthresh = 3 self.usedayparamforsound = false self.current_ra...
gpl-2.0
bungle/lua-resty-haru
lib/resty/haru/enums.lua
1
6399
local lib = require "resty.haru.library" return { align = { left = lib.HPDF_TALIGN_LEFT, right = lib.HPDF_TALIGN_RIGHT, center = lib.HPDF_TALIGN_CENTER, justify = lib.HPDF_TALIGN_JUSTIFY }, textrenderingmode = { fill ...
bsd-2-clause
devlua/TEAM_PRO.get
plugins/me.lua
1
1731
do local function jacky(msg, matches) if is_sudo(msg) then return '❇ الايدي : '.. msg.from.id..'\n' ..'❇ المعرف : @'..msg.from.username..'\n' ..'❇الاســم : '..msg.from.print_name..'\n' ..'❇ ايدي الكروب : '..msg.to.id..'\n' ..'❇ اسم الكروب : '..msg.to.title..'\n' ..'❇ موقعك : انــت المــطور مالتــي🙈♥' end if...
gpl-2.0
starkos/premake-core
modules/gmake2/gmake2_utility.lua
3
9117
-- -- gmake2_utility.lua -- Generate a C/C++ project makefile. -- (c) 2016-2017 Jason Perkins, Blizzard Entertainment and the Premake project -- local p = premake local gmake2 = p.modules.gmake2 gmake2.utility = {} local utility = gmake2.utility local project = p.project local config = p.config lo...
bsd-3-clause
bakpakin/luamd
md.lua
1
16634
--[[ Copyright (c) 2016 Calvin Rose <calsrose@gmail.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, p...
mit
CrazyEddieTK/Zero-K
lups/ParticleClasses/Bursts.lua
5
9211
-- $Id: Bursts.lua 4099 2009-03-16 05:18:45Z jk $ ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- -- todo: burst .rotArc length (in Display...
gpl-2.0
KenMGJ/advent-of-code
2018/18/part1.lua
1
3402
local input_file = "input.txt" local area = {} local length = 0 local width = 1 for line in io.lines( input_file ) do length = length + 1 area[ length ] = {} for j = 1, string.len( line ) do area[ length ][ j ] = string.sub( line, j, j ) width = j end end function print_area() ...
mit
Destroyerrrocket/AI-Smart-Mirror
models/youtube.lua
1
15807
--[[ $Id$ Copyright © 2007-2015 the VideoLAN team 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 2 of the License, or (at your option) any later version. This program is dist...
mit
CrazyEddieTK/Zero-K
LuaRules/Gadgets/unit_dgun_aim.lua
17
1026
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "D-Gun Aim Fix", desc = 'Makes d-guns aim at units instead of the ground', author = "Kin...
gpl-2.0
czfshine/Don-t-Starve
data/DLC0001/scripts/components/trap.lua
1
10539
local function OnTimerDone(inst, data) if data.name == "foodspoil" then inst.components.trap:OnTrappedStarve() end end local Trap = Class(function(self, inst) self.inst = inst self.bait = nil self.issprung = false self.isset = false self.range = 1.5 self.targettag = "smallcrea...
gpl-2.0
CrazyEddieTK/Zero-K
gamedata/modularcomms/weapons/riotcannon.lua
5
1120
local name = "commweapon_riotcannon" local weaponDef = { name = [[Riot Cannon]], areaOfEffect = 144, avoidFeature = true, avoidFriendly = true, burnblow = true, craterBoost = 1, craterMult = 2, customParams = ...
gpl-2.0
Mossop/500pxPublisher.lrplugin
500pxPublishSupport.lua
1
14153
-- Lightroom SDK local LrApplication = import "LrApplication" local LrDate = import "LrDate" local LrErrors = import "LrErrors" local LrTasks = import "LrTasks" local LrView = import "LrView" -- Common Shortcuts local bind = LrView.bind -- Logging local logger = import "LrLogger"("500pxPublisher") logger:enable("logf...
gpl-3.0
dani-sj/iman22
plugins/inpm.lua
243
3007
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
ioiasff/creawq
plugins/inpm.lua
243
3007
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
CrazyEddieTK/Zero-K
LuaUI/Widgets/unit_attack_warning.lua
9
1772
function widget:GetInfo() return { name = "Attack Warning", desc = "Warns if stuff gets attacked", author = "knorke", date = "Oct 2011", license = "GNU GPL, v2 or later", layer = 0, enabled = true, } end local spGetSpectatingState = Spring.GetSpectatingState l...
gpl-2.0
CrazyEddieTK/Zero-K
units/dronecarry.lua
5
3121
unitDef = { unitname = [[dronecarry]], name = [[Gull]], description = [[Carrier Drone]], acceleration = 0.3, airHoverFactor = 4, brakeRate = 0.24, buildCostMetal = 15, builder = false, buildPic = [[dronecarry.png]], ...
gpl-2.0
czfshine/Don-t-Starve
data/DLC0001/scripts/components/inventory.lua
1
29805
local MAXSLOTS = 15 local Inventory = Class(function(self, inst) self.inst = inst self.itemslots = {} self.maxslots = MAXSLOTS self.recipes = {} self.recipe_count = 0 self.equipslots = {} self.dropondeath = true inst:ListenForEvent( "death", function() if self.dropondeath then ...
gpl-2.0
CrazyEddieTK/Zero-K
LuaRules/Configs/StartBoxes/Gods Of War 2 Remake V2.lua
17
1126
return { [0] = { nameLong = "South-West", nameShort = "W", startpoints = { {824,6344}, }, boxes = { { {0,5519}, {1649,5519}, {1649,7168}, {0,7168}, }, }, }, [1] = { nameLong = "North-East", nameShort = "NE", startpoints = { {6344,824}, }, boxes = { { {5519,0},...
gpl-2.0
valhallaGaming/uno
branches/2_0_3_STABLE/item-system/s_item_system.lua
1
19903
-- //////////////////////////////////// -- // MYSQL // -- //////////////////////////////////// sqlUsername = exports.mysql:getMySQLUsername() sqlPassword = exports.mysql:getMySQLPassword() sqlDB = exports.mysql:getMySQLDBName() sqlHost = exports.mysql:getMySQLHost() sqlPort = exports.mysql:getMySQLPort()...
bsd-3-clause
Zenny89/darkstar
scripts/globals/items/prime_angler_stewpot.lua
36
1919
----------------------------------------- -- 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
Zenny89/darkstar
scripts/globals/items/ginger_cookie.lua
34
1344
----------------------------------------- -- ID: 4394 -- Item: ginger_cookie -- Food Effect: 3Min, All Races ----------------------------------------- -- Magic Regen While Healing 5 -- Plantoid Killer 5 -- Slow Resist 5 ----------------------------------------- require("scripts/globals/status"); ---------...
gpl-3.0
Zenny89/darkstar
scripts/globals/items/serving_of_karni_yarik_+1.lua
35
1394
----------------------------------------- -- ID: 5589 -- Item: serving_of_karni_yarik_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- Attack % 20 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); ----...
gpl-3.0
Zenny89/darkstar
scripts/globals/effects/weakness.lua
18
1568
----------------------------------- -- -- Weakness -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) --reduce HP and MP by the power amount. Add...
gpl-3.0
sdeveloper/neural-style
neural_style.lua
19
11788
require 'torch' require 'nn' require 'image' require 'optim' local loadcaffe_wrap = require 'loadcaffe_wrapper' -------------------------------------------------------------------------------- local cmd = torch.CmdLine() -- Basic options cmd:option('-style_image', 'examples/inputs/seated-nude.jpg', 'Styl...
mit
mercury233/ygopro-scripts
c42472002.lua
2
2967
--聖騎士コルネウス function c42472002.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,42472002+EFFECT_COUNT_CODE_OATH) e1:SetCondition(c42472002.sprcon) ...
gpl-2.0
Minerapp/chef-server
omnibus/tests/routing/route_checks_test.lua
11
4574
local http_methods = {} http_methods.GET = function() return "GET" end http_methods.POST = function() return "POST" end http_methods.PUT = function() return "PUT" end http_methods.DELETE = function() return "DELETE " end -- First stub out nginx stuff that our the route_checks module needs access to. -- Note that we ca...
apache-2.0
mercury233/ygopro-scripts
c68507541.lua
4
2608
--アマゾネスペット虎獅子 function c68507541.initial_effect(c) c:EnableReviveLimit() aux.AddFusionProcCodeFun(c,10979723,aux.FilterBoolFunction(Card.IsFusionSetCard,0x4),1,true,true) --atk up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(68507541,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE...
gpl-2.0
Zenny89/darkstar
scripts/zones/Port_San_dOria/npcs/Vounebariont.lua
17
2024
----------------------------------- -- Area: Port San d'Oria -- NPC: Vounebariont -- Starts and Finishes Quest: Thick Shells ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
mercury233/ygopro-scripts
c44405066.lua
2
2816
--真紅眼の鋼炎竜 function c44405066.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,7,2) c:EnableReviveLimit() --indes local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_INDESTRUCTABLE_EFFECT) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCondition(...
gpl-2.0
mercury233/ygopro-scripts
c10925955.lua
9
2282
--儀水鏡との交信 function c10925955.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c10925955.condition) e1:SetTarget(c10925955.target) e1:SetOperation(c10925955.activate) c:RegisterEffect(e1) end function c10925955.cfilter(c,ri...
gpl-2.0
rodamaral/smw-tas
lsnes/scripts/lib/luap.lua
1
6549
-- General purpose lua extension local M = {} local unpack = _G.unpack local utime, bit = _G.utime, _G.bit local lsnes_features, bizstring, snes9x = _G.lsnes_features, _G.bizstring, _G.snes9x function M.get_emulator_name() if lsnes_features then return 'lsnes' elseif bizstring then return 'Biz...
mit
mercury233/ygopro-scripts
c94801854.lua
4
3337
--不知火の隠者 function c94801854.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(94801854,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCountLimit(1,94801854) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c94801854.cost) e1:SetTarget(c9...
gpl-2.0
ytodorov/AntServices
AdvancedNetToolsSolution/AntServicesMvc5/programs/Nmap/nselib/dnssd.lua
4
12868
--- Library for supporting DNS Service Discovery -- -- The library supports -- * Unicast and Multicast requests -- * Decoding responses -- * Running requests in parallel using Lua coroutines -- -- The library contains the following classes -- * <code>Comm</code> -- ** A class with static functions that handle communica...
apache-2.0
The-Three-Otakus/Joint-Animator
loveframes/libraries/templates.lua
18
5499
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".templates")) local loveframes...
gpl-3.0
AntonioModer/fuccboiGDX
fuccboi/libraries/loveframes/objects/internal/scrollable/scrollarea.lua
10
5524
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- scrollarea class local newobject = loveframes.NewObject("scrollarea", "loveframes_object_scrollarea", true) --[[--------...
mit
fusijie/cocos2d-x-samples
samples/KillBug/src/cocos/cocos2d/OpenglConstants.lua
100
27127
if not gl then return end gl.GCCSO_SHADER_BINARY_FJ = 0x9260 gl._3DC_XY_AMD = 0x87fa gl._3DC_X_AMD = 0x87f9 gl.ACTIVE_ATTRIBUTES = 0x8b89 gl.ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a gl.ACTIVE_PROGRAM_EXT = 0x8259 gl.ACTIVE_TEXTURE = 0x84e0 gl.ACTIVE_UNIFORMS = 0x8b86 gl.ACTIVE_UNIFORM_MAX_LENGTH = 0x8b87...
mit
fusijie/cocos2d-x-samples
samples/KillBug/src/cocos/cocos2d/DeprecatedCocos2dEnum.lua
79
16871
--Enums will be deprecated,begin _G.kCCTextAlignmentLeft = cc.TEXT_ALIGNMENT_LEFT _G.kCCTextAlignmentRight = cc.TEXT_ALIGNMENT_RIGHT _G.kCCTextAlignmentCenter = cc.TEXT_ALIGNMENT_CENTER _G.kCCVerticalTextAlignmentTop = cc.VERTICAL_TEXT_ALIGNMENT_TOP _G.kCCVerticalTextAlignment...
mit
linushsao/marsu_game-linus-v0.2
mods/mars_pack/marssurvive/mapgen_new.lua
1
6729
minetest.clear_registered_ores() minetest.clear_registered_biomes() minetest.clear_registered_decorations() minetest.register_biome({ name = "mars_desert", --node_dust = "", node_top = "marssurvive:sand", depth_top = 5, node_filler = "marssurvive:stone", depth_filler = 3, node_stone = "marss...
gpl-3.0
mercury233/ygopro-scripts
c20838380.lua
6
1401
--シャーク・サッカー function c20838380.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20838380,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetRange(LOCATION_HAND) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(c20838...
gpl-2.0
Zenny89/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Migran.lua
37
1542
----------------------------------- -- Area: Tavnasian Safehold -- NPC: Migran -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----------------...
gpl-3.0
mercury233/ygopro-scripts
c94538053.lua
2
1646
--マックス・ウォリアー function c94538053.initial_effect(c) 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:SetCondition(c94538053.condtion) e1:SetValue(400) c:RegisterEffect(e1) --addown local e2=Eff...
gpl-2.0
mercury233/ygopro-scripts
c14517422.lua
2
1105
--堕天使の戒壇 function c14517422.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,14517422+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c14517422.sptg) e1:SetOperation(c14517422.spop) c:Regis...
gpl-2.0
lambd0x/Awesome-wm-Funtoo-GreenSunset
awesome/rc.lua
2
32933
-- {{{ Required libraries local awesome, client, screen, tag = awesome, client, screen, tag local ipairs, string, os, table, tostring, tonumber, type = ipairs, string, os, table, tostring, tonumber, type local gears = require("gears") local awful = require("awful") require("awful.autofocus") local wibo...
gpl-2.0
Zenny89/darkstar
scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua
38
1026
----------------------------------- -- Area: Al Zahbi -- NPC: Eumoa-Tajimoa -- Type: Standard NPC -- @zone: 48 -- @pos 19.275 -1 55.182 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -----------------------...
gpl-3.0
mercury233/ygopro-scripts
c90299015.lua
2
3374
--ヴァンパイアの幽鬼 function c90299015.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND+CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCountLimit(1,90299015) e1:SetC...
gpl-2.0
mercury233/ygopro-scripts
c16006416.lua
2
2681
--DDD烈火大王エグゼクティブ・テムジン function c16006416.initial_effect(c) c:EnableReviveLimit() aux.AddFusionProcFun2(c,c16006416.matfilter,aux.FilterBoolFunction(Card.IsFusionSetCard,0xaf),true) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(16006416,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:Se...
gpl-2.0
mercury233/ygopro-scripts
c25451383.lua
2
2487
--黒衣竜アルビオン function c25451383.initial_effect(c) --change name aux.EnableChangeCode(c,68468459,LOCATION_MZONE+LOCATION_GRAVE) --to grave local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(25451383,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND+LOCATION_GRAVE) e1:SetCountLimit(1,254513...
gpl-2.0
guillaume144/jeu-rp
gamemode/modules/afk/sv_afk.lua
3
3756
-- How to use: -- If a player uses /afk, they go into AFK mode, they will not be autodemoted and their salary is set to $0 (you can still be killed/vote demoted though!). -- If a player does not use /afk, and they don't do anything for the demote time specified, they will be automatically demoted to hobo. local functi...
mit
xin3liang/platform_external_chromium_org_third_party_skia
tools/lua/scrape.lua
145
2246
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
bsd-3-clause
lingkeyang/slua
build/luajit-2.1.0/src/jit/dis_x86.lua
61
29376
---------------------------------------------------------------------------- -- LuaJIT x86/x64 disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h --------------------------------------------------------------------------...
mit
mercury233/ygopro-scripts
c67511500.lua
4
1260
--ドラゴン・ウィッチ-ドラゴンの守護者- function c67511500.initial_effect(c) --cannot be battle target local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(0,LOCATION_MZONE) e1:SetValue(c67511500.atlimit) c:RegisterEffect(e1) -...
gpl-2.0
Zenny89/darkstar
scripts/globals/mobskills/Wanion.lua
43
1329
--------------------------------------------------- -- Wanion -- AoE of all status ailments it has. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ---------------------------------------------------...
gpl-3.0
Zenny89/darkstar
scripts/zones/Windurst_Woods/npcs/Millerovieunet.lua
17
1535
----------------------------------- -- Area: Windurst_Woods -- NPC: Millerovieunet -- Only sells when Windurst controlls Qufim Region -- Confirmed shop stock, August 2013 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- requ...
gpl-3.0
jvmguy/FactorioScenarioMultiplayerSpawn
ToxicJungle.lua
1
1410
-- From the Toxic Jungle mod. -- Original author /u/usernameless_user on reddit -- Adapted from the version by nucleargen local M = {}; -- list of tree entities local trees = { --"dead-dry-hairy-tree", --"dead-grey-trunk", --"dead-tree", --"dry-hairy-tree", --"dry-tree", --"green-coral", "tree-01", ...
mit
mercury233/ygopro-scripts
c43237273.lua
2
2208
--N・ブラック・パンサー function c43237273.initial_effect(c) --copy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(43237273,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetTarget(c43237273.target) e1:SetOperation(c43237273...
gpl-2.0
mercury233/ygopro-scripts
c98905.lua
2
2517
--光波分光 function c98905.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_TO_GRAVE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c98905.target) e1:SetOperation(c9...
gpl-2.0
Zenny89/darkstar
scripts/zones/The_Shrine_of_RuAvitau/mobs/Seiryu.lua
27
1101
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: Seiryu (Pet version) ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ------------------...
gpl-3.0