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
roboplus12/roboplus
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
xincun/nginx-openresty-windows
luajit-root/luajit/share/luajit-2.1.0-alpha/jit/bc.lua
17
5620
---------------------------------------------------------------------------- -- LuaJIT bytecode listing module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
bsd-2-clause
PicoleDeLimao/Ninpou2
game/dota_addons/ninpou2/scripts/vscripts/items/absorbing_stone.lua
1
3395
--[[ Author: PicoleDeLimao Date: 02.08.2016 Implements Absorbing Stone Chakra Leech Ability ]] function ChakraLeechStart(event) local caster = event.caster local target = event.target local ability = event.ability local pID = caster:GetPlayerID() local particleName = "particles/units/heroes/hero_lion/lion_spell...
apache-2.0
Scavenge/darkstar
scripts/globals/spells/refresh.lua
43
1077
----------------------------------------- -- Spell: Refresh -- Gradually restores target party member's MP -- Composure increases duration 3x ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- ...
gpl-3.0
ArchonTeam/Soft_TG
plugins/weather.lua
3
1605
do local BASE_URL = "http://api.openweathermap.org/data/2.5/weather" local function get_weather(location) print("Finding weather in ", location) location = string.gsub(location," ","+") local url = BASE_URL url = url..'?q='..location url = url..'&units=metric' url = url..'&appid=bd82977b86bf27fb...
gpl-2.0
Scavenge/darkstar
scripts/globals/spells/jubaku_ichi.lua
27
1733
----------------------------------------- -- Spell: Jubaku: Ichi -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT. -- taken from paralyze ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); -------------------------...
gpl-3.0
Scavenge/darkstar
scripts/zones/Waughroon_Shrine/bcnms/thief_in_norg.lua
30
2064
----------------------------------- -- Area: Waughroon_Shrine -- Name: A Thief in Norg?! -- Norg Quest ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("s...
gpl-3.0
kankaristo/premake-core
src/base/detoken.lua
6
4091
-- -- detoken.lua -- -- Expands tokens. -- -- Copyright (c) 2011-2014 Jason Perkins and the Premake project -- premake.detoken = {} local p = premake local detoken = p.detoken -- -- Expand tokens in a value. -- -- @param value -- The value containing the tokens to be expanded. -- @param environ -- An execu...
bsd-3-clause
Scavenge/darkstar
scripts/zones/Western_Adoulin/npcs/Shipilolo.lua
14
3357
----------------------------------- -- Area: Western Adoulin -- NPC: Shipilolo -- Type: Standard NPC and Quest NPC -- Involved with Quests: 'A Certain Substitute Patrolman' -- 'Fertile Ground' -- 'The Old Man and the Harpoon' -- 'Wayward Waypoints...
gpl-3.0
LuaDist2/lustache
spec/parse_spec.lua
4
11122
local lustache = require "lustache" expectations = { { template = "{{hi}}", value = { { type= "name", value= "hi", startIndex = 1, endIndex = 6} }}, { template = "{{hi.world}}", value = { { type= "name", value= "hi.world", startIndex = 1, endIndex = 12 } ...
mit
Yonaba/luigi-world
src/files/game3.lua
1
3841
--loading Polices agency = Font.load("font/m.ttf") agency:setPixelSizes(20,20) --Loading Colors black = Color.new(0,0,0) red = Color.new(255,0,0) green = Color.new(0,255,0) blue = Color.new(0,0,255) white = Color.new(255,255,255) yellow = Color.new(255,255,0) shadow = Color.new(255,255,0,250) skyblue = Color.new(98,17...
mit
Arashbrsh/lifemaic
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
opencpe/mand
libdmconfig/tests/lua_polling_sample.lua
2
2092
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. -- Lua sample program to demonstrate event polling in a read-only session require "libluadmconfig" require "luaevent...
mpl-2.0
Scavenge/darkstar
scripts/zones/Western_Adoulin/npcs/HomePoint#1.lua
27
1255
----------------------------------- -- Area: Western_Adoulin -- NPC: HomePoint#1 -- @pos ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Western_Adoulin/TextIDs"); require("scripts/globals/homepoint"); --...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
LuaRules/Configs/StartBoxes/OnyxCauldron1.6.lua
11
6342
return { [0] = { boxes = { { {6863.8203125, 6965.1958007813}, {6289.3608398438, 6844.1010742188}, {6662.59765625, 6382.8154296875}, {6700.3759765625, 6373.1455078125}, {6723.0004882813, 6373.0263671875}, {6760.7124023438, 6384.935546875}, {6792.8911132813, 6397.5922851563}, {6839.2...
gpl-2.0
ania1234/EarMod
scripts/prefabs/ear.lua
1
4835
require "prefabutil" local brain = require "brains/earbrain" require "stategraphs/SGear" --[NEW] Here we list any assets required by our prefab. local assets= { --[NEW] this is the name of the Spriter file. Asset("ANIM", "anim/ear.zip"), } local Angle=0 local MAX_TARGET_SHARES = 5 local SHARE_TARGET_DIST = 10 loc...
gpl-3.0
Scavenge/darkstar
scripts/zones/Sacrarium/npcs/Treasure_Chest.lua
17
2934
----------------------------------- -- Area: Sacrarium -- NPC: Treasure Chest -- @zone 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/zones/Sa...
gpl-3.0
Scavenge/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Field_Manual.lua
29
1067
----------------------------------- -- Field Manual -- Area: Eastern Altepa Desert ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ----------------------------...
gpl-3.0
tarikgwa/nfd
lua/playarea/fsm.lua
15
7426
-- ========================================================================================== -- -- Finite State Machine Class for Lua 5.1 & Corona SDK -- -- Written by Erik Cornelisse, inspired by Luiz Henrique de Figueiredo -- E-mail: e.cornelisse@gmail.com -- -- Version 1.0 April 27, 2011 -- -- Class is MIT Lice...
mpl-2.0
Scavenge/darkstar
scripts/zones/Windurst_Walls/npcs/Four_of_Diamonds.lua
14
1060
----------------------------------- -- Area: Windurst Walls -- NPC: Four of Diamonds -- Type: Standard NPC -- @zone 239 -- @pos -187.184 -3.545 151.092 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----...
gpl-3.0
Scavenge/darkstar
scripts/globals/items/jar_of_ground_wasabi.lua
12
1589
----------------------------------------- -- ID: 5164 -- Item: jar_of_ground_wasabi -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -1 -- Dexterity -1 -- Agility -1 -- Vitality -1 -- Intelligence -1 -- Mind -1 -- Charisma -1 ----------------------------------------- require("scrip...
gpl-3.0
peaking-development/peak
oc/driver.lua
1
4306
local serialization = require 'serialization' local computer = require 'computer' local keyboard = require 'keyboard' local event = require 'event' local component = require 'component' local fs = require 'filesystem' local function curtime() -- return (os.time() * 1000/60/60 - 6000) / 20 -- TODO: sleeping and resum...
mit
Scavenge/darkstar
scripts/zones/Wajaom_Woodlands/mobs/Hydra.lua
20
1298
----------------------------------- -- Area: Wajaom Woodlands -- MOB: Hydra -- @pos -282 -24 -1 51 ----------------------------------- require("scripts/globals/titles"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; function onMobFight(mo...
gpl-3.0
Brenin/PJ-3100
Working Launchers/Games/Stepmania/StepMania 5/Themes/_fallback/Scripts/02 Utilities.lua
1
13719
-- Find a key in tab with the given value. function FindValue(tab, value) for key, name in tab do if value == name then return key end end return nil end -- Return the index of a true value in list. function FindSelection(list) for index, on in list do if on then return index end end return nil en...
mit
Zero-K-Experiments/Zero-K-Experiments
LuaRules/Gadgets/unit_transport_speed.lua
11
2720
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
ihcfan/NautiPlot
hmi-cocos2d-x/samples/Lua/HelloLua/Resources/hello.lua
7
7056
require "Cocos2d" -- cclog cclog = function(...) print(string.format(...)) end -- for CCLuaEngine traceback function __G__TRACKBACK__(msg) cclog("----------------------------------------") cclog("LUA ERROR: " .. tostring(msg) .. "\n") cclog(debug.traceback()) cclog("--------------------------------...
gpl-2.0
1yvT0s/luvit
tests/test-tls-connect-simple.lua
11
1050
require('tap')(function (test) local fixture = require('./fixture-tls') local tls = require('tls') local options = { cert = fixture.certPem, key = fixture.keyPem } local serverConnected = 0 local clientConnected = 0 local server local client1 test("tls connect simple test", function() ...
apache-2.0
wjhandboy/Atlas
lib/histogram.lua
40
5165
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is dis...
gpl-2.0
Scavenge/darkstar
scripts/globals/abilities/jump.lua
14
2211
----------------------------------- -- Ability: Jump -- Delivers a short jumping attack on a targeted enemy. -- Obtained: Dragoon Level 10 -- Recast Time: 1:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/weapo...
gpl-3.0
Scavenge/darkstar
scripts/zones/Kazham/npcs/Bubupp.lua
17
3365
----------------------------------- -- Area: Kazham -- NPC: Bubupp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- -- item ...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
effects/lightning.lua
9
18220
-- lightningplosion -- lightningplosion160AoE -- lightningplosion_yellowbolts -- zeusmuzzle -- panther_spark -- lightningplosion_bluebolts1 -- lightningplosion_stormbolt -- zeusgroundflash -- lightningplosion_smallbolts local circleString = "r%.5f y10 -1 x10x10 y10 %d a10 y10 r6.283 y11 -3.1415 a11 y11 -0.5x11x11...
gpl-2.0
Zero-K-Experiments/Zero-K-Experiments
gamedata/armordefs.lua
2
4224
Spring.Echo("Loading ArmorDefs_posts") -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- local armorDefs = { SUBS = { "subraider", "subscout", "subtacmissile", }, CHICKEN = { "nes...
gpl-2.0
Kyklas/luci-proto-hso
modules/base/luasrc/model/uci.lua
86
10653
--[[ LuCI - UCI model Description: Generalized UCI model FileId: $Id$ License: Copyright 2008 Steven Barth <steven@midlink.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...
apache-2.0
Scavenge/darkstar
scripts/zones/Southern_San_dOria/npcs/Gizel.lua
14
1503
----------------------------------- -- Area: Southern San dOria -- NPC: Gizel -- Type: Event Scene Replayer NPC -- @zone 230 -- @pos -34.412 0.000 33.362 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/South...
gpl-3.0
Scavenge/darkstar
scripts/zones/Southern_San_dOria/npcs/Thadiene.lua
17
2118
----------------------------------- -- Area: Southern San d'Oria -- NPC: Thadiene -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); requ...
gpl-3.0
Scavenge/darkstar
scripts/zones/North_Gustaberg_[S]/npcs/qm1.lua
14
1140
----------------------------------- -- Area: North Gustaberg (S) (F-8) -- NPC: ??? -- Involved in Quests -- @pos -232 41 425 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- require...
gpl-3.0
Scavenge/darkstar
scripts/globals/items/red_bubble-eye.lua
12
1342
----------------------------------------- -- ID: 5446 -- Item: Red Bubble-Eye -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---...
gpl-3.0
Scavenge/darkstar
scripts/globals/weaponskills/howling_fist.lua
26
1490
----------------------------------- -- Howling Fist -- Hand-to-Hand weapon skill -- Skill Level: 200 -- Damage varies with TP. -- Will stack with Sneak Attack. -- Ignores some defense. -- Aligned with the Light Gorget & Thunder Gorget. -- Aligned with the Light Belt & Thunder Belt. -- Element: None -- Modifiers: STR:20...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
units/hoverdepthcharge.lua
3
7156
unitDef = { unitname = [[hoverdepthcharge]], name = [[Claymore]], description = [[Anti-Sub Hovercraft]], acceleration = 0.048, activateWhenBuilt = true, brakeRate = 0.043, buildCostEnergy = 330, buildCostMetal = 330, builder = f...
gpl-2.0
Scavenge/darkstar
scripts/globals/items/bowl_of_emerald_soup.lua
12
1386
----------------------------------------- -- ID: 4327 -- Item: Bowl of Emerald Soup -- Food Effect: 240Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -1 -- Health Regen While Healing 3 -- Ranged ACC 6 ----------------------------------------- require("scripts/globals/status"); -----...
gpl-3.0
scs/uclinux
user/haserl/src/haserl_lualib.lua
7
1805
-- -------------------------------------------------------------------------- -- haserl luascript library -- $Id: haserl.c,v 1.32 2005/11/22 15:56:42 nangel Exp $ -- Copyright (c) 2003-2007 Nathan Angelacos (nangel@users.sourceforge.net) -- -- This program is free software; you can redistribute it and/or modify -- i...
gpl-2.0
Scavenge/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm3.lua
30
1360
----------------------------------- -- Area: Alzadaal Undersea Ruins -- NPC: ??? (Spawn Armed Gears(ZNM T3)) -- @pos -42 -4 -169 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Alzadaal_Undersea_Rui...
gpl-3.0
Scavenge/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/qm9.lua
57
2181
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: qm9 (??? - Ancient Papyrus Shreds) -- Involved in Quest: In Defiant Challenge -- @pos 92.272 -32 -64.676 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------...
gpl-3.0
kankaristo/premake-core
src/actions/vstudio/vs2005_solution.lua
4
8170
-- -- vs2005_solution.lua -- Generate a Visual Studio 2005-2012 solution. -- Copyright (c) 2009-2015 Jason Perkins and the Premake project -- premake.vstudio.sln2005 = {} local p = premake local vstudio = p.vstudio local sln2005 = p.vstudio.sln2005 local project = p.project local tree = p.tree --- -- Add name...
bsd-3-clause
adriamarcet/WG_premium_text-files
rules_it.lua
1
4897
--<< Textos de las reglas >>-- local tableText = { blancas = { --<< START translate >>-- title = "Regole", pag1 = "OBIETTIVO DEL GIOCO", pag2 = "OTTENERE PUNTI", pag3 = "POSIZIONARE LE TESSERE", pag4 = "SCARTARE LE TESSERE", pag5 = "LA TESSERA MAGICA", pag6 = "POSIZIONARE IL TUO SECONDO SOLDATO", pag...
mit
Scavenge/darkstar
scripts/zones/Southern_San_dOria/npcs/Arvilauge.lua
14
1538
----------------------------------- -- Area: Southern San d'Oria -- NPC: Arvilauge -- Optional Involvement in Quest: A Squire's Test II -- @zone 230 -- @pos -11 1 - 94 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
nmacs/lm3s-uclinux
lib/liblua/json4lua-0.9.50/examples/tests.lua
2
6653
--[[ Some basic tests for JSON4Lua. ]]-- --- Compares two tables for being data-identical. function compareData(a,b) if (type(a)=='string' or type(a)=='number' or type(a)=='boolean' or type(a)=='nil') then return a==b end -- After basic data types, we're only interested in tables if (type(a)~='table') th...
gpl-2.0
Scavenge/darkstar
scripts/zones/Balgas_Dais/mobs/Maat.lua
14
1549
----------------------------------- -- Area: Balga Dais -- MOB: Maat -- Genkai 5 Fight ----------------------------------- package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Balgas_Dais/TextIDs"); ----------------------------------- -- onMobSpawn Act...
gpl-3.0
Scavenge/darkstar
scripts/zones/Lower_Jeuno/npcs/Naruru.lua
24
3874
----------------------------------- -- Area: Lower Jeuno -- NPC: Naruru -- Starts and Finishes Quests: Cook's Pride -- @pos -56 0.1 -138 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
Scavenge/darkstar
scripts/zones/Castle_Oztroja/npcs/_47d.lua
14
1071
----------------------------------- -- Area: Castle Oztroja -- NPC: _47d -- @pos 20.000 24.168 -25.000 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/TextIDs"); -------------------------...
gpl-3.0
Scavenge/darkstar
scripts/zones/Temenos/mobs/Telchines_Bard.lua
28
1126
----------------------------------- -- Area: Temenos N T -- NPC: Telchines_Bard ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------------...
gpl-3.0
Brenin/PJ-3100
Working Launchers/Games/Stepmania/StepMania 5/Docs/Themerdocs/Examples/Example_Actors/ActorFrame.lua
1
1076
-- A simple ActorFrame example with a couple Actor children and attributes. -- An ActorFrame is used to contain other actors, giving them a common origin -- and organizing them. Def.ActorFrame{ Name= "Simple frame", -- Amount to multiply the delta time by when updating. UpdateRate= 2, -- The angular width of th...
mit
Scavenge/darkstar
scripts/zones/Apollyon/mobs/Ice_Elemental.lua
119
2740
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- ...
gpl-3.0
purebn/secure
bot/utils.lua
1
18784
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
aqasaeed/amir
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
Scavenge/darkstar
scripts/zones/Northern_San_dOria/npcs/Cheupirudaux.lua
9
2171
----------------------------------- -- Area: Northern San d'Oria -- NPC: Cheupirudaux -- Type: Woodworking Guildmaster NPC -- Involved in Quest: It's Raining Mannequins! -- @pos -138 12 250 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; -----------------------...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
LuaUI/Configs/epicmenu_conf.lua
1
25299
local confdata = {} confdata.title = 'Z.K.' confdata.title_image = LUAUI_DIRNAME .. 'Images/ZK_logo.png' confdata.default_source_file = 'zk_keys.lua' --the file in ZIP archive where default key is stored. confdata.mission_keybinds_file = 'zk_keys.lua' --the filename to be used for Mission mod. set this to NIL if want t...
gpl-2.0
mamaddeveloper/jjhw
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
Yonaba/luigi-world
src/credits.lua
1
3163
BackGround_Cache = Image.load("images/cr2.png") fader = Image.createEmpty(480,272) alphaValue = 255 faderColor = Color.new(0,0,0,alphaValue) fader:clear(faderColor) while true do screen:clear() screen:blit(0,0,BackGround_Cache) screen:blit(0,0,fader) if alphaValue > 0 then alphaValue = alphaValue - 5 els...
mit
TeamFSIModding/FS17_Goweil_LT_Master
src/scripts/triggers/PlayerTrigger.lua
1
1196
-- --Goweil LT Master -- --TyKonKet (Team FSI Modding) -- --18/04/2017 PlayerTriggers = {}; PlayerTriggers.triggers = {}; function PlayerTriggers:add(trigger) self.triggers[trigger.node] = trigger; end function PlayerTriggers:remove(trigger) self.triggers[trigger.node] = nil; end function PlayerTriggers:upda...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
effects/gundam_xamelimpact.lua
18
12632
-- xamelimpact -- smallxamelimpact return { ["xamelimpact"] = { dirta = { air = true, class = [[CSimpleParticleSystem]], count = 1, properties = { airdrag = 0.7, alwaysvisible = true, colormap = [[0...
gpl-2.0
Scavenge/darkstar
scripts/globals/items/plate_of_dulcet_panettones.lua
12
1385
----------------------------------------- -- ID: 5979 -- Item: Plate of Dulcet Panettones -- Food Effect: 240 Min, All Races ----------------------------------------- -- MP % 6 Cap 105 -- Intelligence +8 -- MP Healing +4 ----------------------------------------- require("scripts/globals/status"); --------------------...
gpl-3.0
PredatorMF/Urho3D
bin/Data/LuaScripts/09_MultipleViewports.lua
24
13081
-- Multiple viewports example. -- This sample demonstrates: -- - Setting up two viewports with two separate cameras -- - Adding post processing effects to a viewport's render path and toggling them require "LuaScripts/Utilities/Sample" local rearCameraNode = nil function Start() -- Execute the ...
mit
3203317/g
assets/redis/group_search.lua
1
4102
-- huangxin <3203317@qq.com> redis.replicate_commands(); local db = KEYS[1]; local server_id = KEYS[2]; local channel_id = KEYS[3]; local group_uuid = KEYS[4]; local group_type = KEYS[5]; redis.call('SELECT', db); -- local user_id = redis.call('GET', server_id ..'::'.. channel_id); if (false == user_id)...
mit
taxler/radish
packaging/packaging.lua
1
8381
local mode = ... local PLATFORM = PLATFORM or 'sdl' local ffi = require 'ffi' local TITLE = 'Pumpkins for Everyone' local build_folder = 'builds/' .. os.date '%Y-%m-%d' local in_path if PLATFORM == 'sdl' then in_path = 'packaging/sdl-runner/radish-runner.exe' elseif PLATFORM == 'win32' then in_path = 'packagi...
mit
Scavenge/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Nembet.lua
14
1024
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Nembet -- @zone 80 -- @pos 147 -3 110 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------- -- onTra...
gpl-3.0
Scavenge/darkstar
scripts/zones/Bastok_Mines/npcs/Gelzerio.lua
17
1737
----------------------------------- -- Area: Bastok Mines -- NPC: Galzerio -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); ----------------------------------- -- on...
gpl-3.0
Scavenge/darkstar
scripts/zones/Mhaura/Zone.lua
13
2946
----------------------------------- -- -- Zone: Mhaura (249) -- ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/zone"); require("scripts/zones/Mhaura/TextIDs"); require("scripts/g...
gpl-3.0
Kyklas/luci-proto-hso
applications/luci-ocserv/luasrc/model/cbi/ocserv/user-config.lua
6
5034
--[[ LuCI - Lua Configuration Interface Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> 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/LICEN...
apache-2.0
Zero-K-Experiments/Zero-K-Experiments
LuaRules/Gadgets/CAI/astar.lua
9
7268
--------------------------------------------------------------------- --[[ author: quantum GPL v2 or later http://www.policyalmanac.org/games/aStarTutorial.htm http://en.wikipedia.org/wiki/A*_search_algorithm use: override IsBlocked, GetDistance, etc and run aStar.GetPath -- example -----------------------------...
gpl-2.0
flux-framework/flux-core
t/scripts/event-trace-bypass.lua
7
1214
#!/usr/bin/env lua ------------------------------------------------------------- -- Copyright 2014 Lawrence Livermore National Security, LLC -- (c.f. AUTHORS, NOTICE.LLNS, COPYING) -- -- This file is part of the Flux resource manager framework. -- For details, see https://github.com/flux-framework. -- -- SPDX-License-...
lgpl-3.0
Scavenge/darkstar
scripts/zones/The_Boyahda_Tree/npcs/Treasure_Coffer.lua
13
5074
----------------------------------- -- Area: The Boyahada Tree -- NPC: Treasure Coffer -- @pos 27 6 144 153 ----------------------------------- package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ...
gpl-3.0
KKfo/gamecode4
Extra/UtilityDemo/utility.lua
44
7963
-- Utility.lua -- A simple utility game -- A "better" random seed. This was taken from http://lua-users.org/wiki/MathLibraryTutorial math.randomseed(tonumber(tostring(os.time()):reverse():sub(1,6))) ----------------------------------------------------------------------------------------------------------------...
lgpl-3.0
Scavenge/darkstar
scripts/globals/spells/bluemagic/radiant_breath.lua
25
2259
----------------------------------------- -- Spell: Radiant Breath -- Deals light damage to enemies within a fan-shaped area of effect originating from the caster. Additional effect: Slow and Silence. -- Spell cost: 116 MP -- Monster Type: Wyverns -- Spell Type: Magical (Light) -- Blue Magic Points: 4 -- Stat Bonus: CH...
gpl-3.0
Scavenge/darkstar
scripts/zones/Xarcabard/npcs/Cavernous_Maw.lua
58
1897
----------------------------------- -- Area: Xarcabard -- NPC: Cavernous Maw -- @pos 270 -9 -70 -- Teleports Players to Abyssea - Uleguerand ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
Scavenge/darkstar
scripts/zones/Port_Jeuno/npcs/Horst.lua
29
3441
----------------------------------- -- Area: Port Jeuno -- NPC: Horst -- Type: Abyssea Warp NPC -- @pos -54.379 0.001 -10.061 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); ------------...
gpl-3.0
Scavenge/darkstar
scripts/globals/items/bowl_of_seafood_stew.lua
12
1463
----------------------------------------- -- ID: 4561 -- Item: Bowl of Seafood Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 20 -- Dexterity 1 -- Vitality 5 -- Defense % 25 -- Defense Cap 120 ----------------------------------------- require("scripts/globals/status"); ----...
gpl-3.0
Scavenge/darkstar
scripts/zones/Selbina/npcs/Boris.lua
14
1047
---------------------------------- -- Area: Selbina -- NPC: Boris -- Type: Item Deliverer -- @pos 61.074 -14.655 -7.1 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); ------------------------...
gpl-3.0
smanolache/kong
spec/integration/01-dao/06-plugins_daos_spec.lua
1
2285
local helpers = require "spec.spec_helpers" local Factory = require "kong.dao.factory" helpers.for_each_dao(function(db_type, default_options, TYPES) -- local function on_migrate(identifier) -- print(string.format( -- "Migrating %s (%s)", -- identifier, -- db_type -- )) -- end -- local function on_s...
apache-2.0
roboplus12/roboplus
plugins/anti-flood.lua
281
2422
local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 5 local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, function (data, success, result) if success ~= 1 then local text = 'I can\'t k...
gpl-2.0
Scavenge/darkstar
scripts/zones/Ordelles_Caves/npcs/qm3.lua
14
1648
----------------------------------- -- Area: Ordelle's Caves -- NPC: ??? (qm3) -- Involved in Quest: A Squire's Test II -- @pos -139 0.1 264 193 ------------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ------------------------------------- require("scripts/globals/settings")...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
LuaUI/Widgets/gui_replace_cloak_con_order.lua
12
2136
function widget:GetInfo() return { name = "Replace Cloak Con Orders", desc = "Prevents constructor accidental decloak in enemy territory by replacing Repair, Reclaim and Rez with Move. .\n\nNOTE:Use command menu or command hotkeys to override.", author = "GoogleFrog", date = "13 Au...
gpl-2.0
Scavenge/darkstar
scripts/zones/Temenos/bcnms/Temenos_Western_Tower.lua
35
1096
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[Temenos_W_Tower]UniqueID",GenerateLimbusKey()); HideArmouryCrates(GetInstanceRegion(1298),...
gpl-3.0
Joker-Developer/jokersuper
plugins/map1.lua
4
1318
--[[ # For More Information ....! # Developer : Aziz < @devss_bot > #Dev # our channel: @help_tele ]] do local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" function get_staticmap(area) local api = base_api .. "/staticmap?" -- Get a sense of scale local lat,lng,acc,types =...
gpl-2.0
xincun/nginx-openresty-windows
lua-cjson-2.1.0.2/tests/bench.lua
145
3247
#!/usr/bin/env lua -- This benchmark script measures wall clock time and should be -- run on an unloaded system. -- -- Your Mileage May Vary. -- -- Mark Pulford <mark@kyne.com.au> local json_module = os.getenv("JSON_MODULE") or "cjson" require "socket" local json = require(json_module) local util = require "cjson.ut...
bsd-2-clause
lessthanoptimal/DeepBoof
network_training/torch/test.lua
1
3309
---------------------------------------------------------------------- -- This script implements a test procedure, to report accuracy -- on the test data. Nothing fancy here... -- -- Clement Farabet ---------------------------------------------------------------------- require 'torch' -- torch require 'xlua' -- x...
apache-2.0
Zero-K-Experiments/Zero-K-Experiments
gamedata/modularcomms/weapons/aamissile.lua
6
1428
local name = "commweapon_aamissile" local weaponDef = { name = [[AA Missile]], areaOfEffect = 48, canattackground = false, cegTag = [[missiletrailblue]], craterBoost = 1, craterMult = 2, cylinderTargeting = 1, customParams ...
gpl-2.0
Scavenge/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm6.lua
14
1348
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm6 (???) -- Spawns Upas-Kamuy -- @pos ? ? ? 253 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) ...
gpl-3.0
ihcfan/NautiPlot
hmi-cocos2d-x/external/lua/luajit/src/dynasm/dasm_x86.lua
73
58651
------------------------------------------------------------------------------ -- DynASM x86/x64 module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ local x64 = x64 -- Module i...
gpl-2.0
Scavenge/darkstar
scripts/zones/Port_Bastok/npcs/Tete.lua
17
1303
----------------------------------- -- Area: Port Bastok -- NPC: Tete -- Continues Quest: The Wisdom Of Elders ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ------------------------------------ require("scripts/globals/settings"); require("scripts/globals/quests"); requ...
gpl-3.0
Brenin/PJ-3100
Working Launchers/Games/Stepmania/StepMania 5/Themes/default/BGAnimations/ScreenDemonstration overlay/default.lua
1
1526
local t = Def.ActorFrame{ Def.Quad{ Name="TopFrame"; InitCommand=cmd(CenterX;y,SCREEN_TOP;valign,0;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT*0.15;diffuse,color("0,0,0,1");fadebottom,0.5); }; Def.Quad{ Name="BotFrame"; InitCommand=cmd(CenterX;y,SCREEN_BOTTOM;valign,1;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT*0.15;diffuse,co...
mit
Scavenge/darkstar
scripts/zones/Selbina/npcs/Gabwaleid.lua
14
1534
----------------------------------- -- Area: Selbina -- NPC: Gabwaleid -- Involved in Quest: Riding on the Clouds -- @pos -17 -7 11 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scrip...
gpl-3.0
Scavenge/darkstar
scripts/zones/Gustav_Tunnel/Zone.lua
11
1655
----------------------------------- -- -- Zone: Gustav Tunnel (212) -- ----------------------------------- package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gustav_Tunnel/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/zone")...
gpl-3.0
Scavenge/darkstar
scripts/globals/mobskills/High-Tension_Discharger.lua
15
1365
--------------------------------------------------- -- High-Tension_Discharger -- Description: Discharges a powerful current that deals Lightning damage to players in a fan-shaped area. -- Additional effect: Stun -- Type: Magical --------------------------------------------- require("scripts/globals/monstertpmoves"); ...
gpl-3.0
taxler/radish
lua/parse/char/utf8/map/to_upper/init.lua
1
1239
local make_map = require 'parse.char.utf8.make.map' return require 'parse.char.utf8.map.to_upper.reversible' + { 'ßSS';'ffFF';'fiFI';'flFL';'ffiFFI';'fflFFL';'ſtST';'stST';'ևԵՒ';'ﬓՄՆ';'ﬔՄԵ';'ﬕՄԻ';'ﬖՎՆ';'ﬗՄԽ';'ʼnʼN';'ΐΪ́'; 'ΰΫ́';'ǰJ̌';'ẖH̱';'ẗT̈';'ẘW̊';'ẙY̊';'ẚAʾ';'ὐΥ̓';'ὒΥ̓̀';'ὔΥ̓́';'ὖΥ̓͂';'ᾶΑ͂';'ῆΗ͂';'ῒΪ̀';'ΐΪ́';'ῖΙ͂'; ...
mit
Scavenge/darkstar
scripts/zones/Castle_Zvahl_Baileys_[S]/Zone.lua
32
1301
----------------------------------- -- -- 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]/TextIDs"...
gpl-3.0
Scavenge/darkstar
scripts/zones/Jugner_Forest/npcs/Field_Manual.lua
29
1048
----------------------------------- -- Area: Jugner Forest -- NPC: Field Manual ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ---------------------------...
gpl-3.0
cohadar/tanks-of-harmony-and-love
libs/Quickie/checkbox.lua
15
2611
--[[ 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...
mit
Scavenge/darkstar
scripts/zones/Castle_Oztroja/npcs/_47z.lua
14
1429
----------------------------------- -- Area: Castle Oztroja -- NPC: _47z (Torch Stand) -- Notes: Opens door _474 -- @pos -62.464 24.218 -67.313 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztr...
gpl-3.0
Scavenge/darkstar
scripts/globals/items/slice_of_hare_meat.lua
7
1342
----------------------------------------- -- ID: 4358 -- Hare Meat -- 5 Minutes, food effect, Galka Only ----------------------------------------- -- Strength +1 -- Intelligence -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- ...
gpl-3.0