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
DylanM-Marshall/FIDDLE
_deprecated/TORCHmodels/getData.lua
2
5249
require 'hdf5'; require 'torch' require 'nn' -- Some functions function smoothData(dat,nw) local nw = nw or 50 sz = dat:size() newdat = dat:clone() for w = nw/2+1,sz[4]-nw/2 do newdat[{{},{},{},{w}}]=dat[{{},{},{},{w-nw/2,w+nw/2}}]:mean(4) end return newdat end function globalNormData(dat, mn, sd) ...
gpl-3.0
m241dan/darkstar
scripts/zones/Windurst_Woods/npcs/Dahjal.lua
13
1053
----------------------------------- -- Area: Windurst Woods -- NPC: Dahjal -- Type: Conquest Troupe -- @zone: 241 -- @pos 11.639 1.267 -57.706 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -----------...
gpl-3.0
m241dan/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
hexahedronic/saitohud
lua/saitohud/modules/player_tags.lua
1
7176
-- SaitoHUD -- Copyright (c) 2009-2010 sk89q <http://www.sk89q.com> -- Copyright (c) 2010 BoJaN -- -- 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 y...
gpl-2.0
santssoft/darkstar
scripts/zones/Horlais_Peak/bcnms/eye_of_the_tiger.lua
9
1064
----------------------------------- -- Eye of the Tiger -- Horlais Peak BCNM50, Comet Orb -- !additem 1177 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function on...
gpl-3.0
m241dan/darkstar
scripts/globals/items/remedy.lua
17
1283
----------------------------------------- -- ID: 4155 -- Item: Remedy -- Item Effect: This potion remedies status ailments. -- Works on paralysis, silence, blindness, poison, and disease. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
dvr333/Zero-K
effects/DOT_Merl_explo.lua
7
4213
return { DOT_Merl_Explo = { Dreck = { class = [[CSimpleParticleSystem]], properties = { Texture = [[smokesmall]], colorMap = [[.07 .05 .05 0.80 .00 .00 .00 0.01]], pos = [[0, 1, 0]], gravity = [[0, -0.2, 0]], emitVector = [[0, 1, 0]], emitRot = 0, emitRotSpread = [[5 r20]], ...
gpl-2.0
electromatter/cuberite
Server/Plugins/NetworkTest/Info.lua
13
3430
-- Info.lua -- Implements the g_PluginInfo standard plugin description g_PluginInfo = { Name = "NetworkTest", Version = "1", Date = "2015-01-28", Description = [[Implements test code (and examples) for the cNetwork API]], Commands = { }, ConsoleCommands = { net = { Subcommands = { client =...
apache-2.0
m241dan/darkstar
scripts/zones/Throne_Room/bcnms/shadow_lord_battle.lua
1
2428
----------------------------------- -- Area: Throne Room -- Name: Mission 5-2 -- @pos -111 -6 0.1 165 ----------------------------------- package.loaded["scripts/zones/Throne_Room/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("s...
gpl-3.0
disslove777/MAX-BOT
plugins/twitter_send.lua
627
1555
do local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local client = OAuth.new(consumer_key, consumer_secret, { RequestToken = "https://api.twitter.com/oauth/request_token", AuthorizeUser = {"https://api.twitter.com/oauth/autho...
gpl-2.0
ch3n2k/luci
modules/base/luasrc/sys/zoneinfo/tzoffset.lua
72
3904
--[[ 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.tzoffset" OFFSET = { gmt =...
apache-2.0
santssoft/darkstar
scripts/zones/AlTaieu/npcs/qm4.lua
12
1267
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Love and Absolute Virtue Spawn) -- Allows players to spawn the Jailer of Love by trading the Fourth Virtue, Fifth Virtue and Sixth Virtue to a ???. -- Allows players to spawn Absolute Virtue by killing Jailer of Love. -- !pos , 431 -0 -603 --...
gpl-3.0
santssoft/darkstar
scripts/globals/items/moogle_pie.lua
11
1423
----------------------------------------- -- ID: 5561 -- Item: Moogle Pie -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- HP 20 -- MP 20 -- Strength 1 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- Intelligence 1 -- Mind 1 -- Charisma 1 ----------------------------------------- require("scri...
gpl-3.0
hylthink/Sample_Lua
frameworks/cocos2d-x/tests/lua-tests/src/RenderTextureTest/RenderTextureTest.lua
15
17966
-- Test #1 by Jason Booth (slipster216) -- Test #3 by David Deaco (ddeaco) --/** -- * Impelmentation of RenderTextureSave --*/ local function RenderTextureSave() local ret = createTestLayer("Touch the screen", "Press 'Save Image' to create an snapshot of the render texture") ...
mit
santssoft/darkstar
scripts/globals/spells/slowga.lua
12
1401
----------------------------------------- -- Spell: Slowga ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") require("scripts/globals/utils") ----------------------------------------- function onMagicCastingCheck(caster, target,s...
gpl-3.0
santssoft/darkstar
scripts/globals/spells/knights_minne_iii.lua
10
1505
----------------------------------------- -- Spell: Knight's Minne III -- Grants Defense bonus to all allies. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return...
gpl-3.0
santssoft/darkstar
scripts/zones/Abyssea-Vunkerl/IDs.lua
12
4837
----------------------------------- -- Area: Abyssea-Vunkerl ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.ABYSSEA_VUNKERL] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- Y...
gpl-3.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/lrexlib/test/gnu_sets.lua
8
1536
-- See Copyright Notice in the file LICENSE local luatest = require "luatest" local N = luatest.NT local function norm(a) return a==nil and N or a end local function set_f_gmatch (lib, flg) local downcase = {} for i = 0, 255 do -- 255 == UCHAR_MAX downcase[i] = string.gsub(string.char (i), ".", function (s) ...
lgpl-3.0
willox/gmod-csweapons
lua/weapons/weapon_m4a1.lua
2
5612
AddCSLuaFile() DEFINE_BASECLASS( "weapon_csbasegun" ) CSParseWeaponInfo( SWEP , [[WeaponData { "MaxPlayerSpeed" "230" "WeaponType" "Rifle" "FullAuto" 1 "WeaponPrice" "3100" "WeaponArmorRatio" "1.4" "CrosshairMinDistance" "4" "CrosshairDeltaDistance" "3" "Team" "CT" "BuiltRightHanded" "0...
unlicense
agladysh/luatexts
src/lua/luatexts/lua.lua
1
12213
-------------------------------------------------------------------------------- -- luatexts/lua.lua: plain Lua implementation of luatexts -------------------------------------------------------------------------------- -- Copyright (c) 2011-2013, luatexts authors -- See license in the file named COPYRIGHT ------------...
mit
m241dan/darkstar
scripts/zones/Abyssea-La_Theine/Zone.lua
33
1482
----------------------------------- -- -- Zone: Abyssea - La_Theine -- ----------------------------------- package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-La_Thein...
gpl-3.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/luathread/compat-5.1r2/compat-5.1.lua
2
3184
-- -- Compat-5.1 release 2 -- Copyright Kepler Project 2004-2005 (http://www.keplerproject.org/compat) -- -- -- avoid overwriting the package table if it's already there -- package = package or {} package.path = LUA_PATH or os.getenv("LUA_PATH") or ("./?.lua;" .. "/usr/local/share/lua/5.0/?...
lgpl-3.0
santssoft/darkstar
scripts/globals/items/piece_of_akamochi.lua
11
2673
----------------------------------------- -- ID: 6260 -- Item: akamochi -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP + 20 (Pet & Master) -- Vitality + 3 (Pet & Master) -- Acc + 10% Cap: 50 (Pet & Master) Pet Cap: 75 -- R. Acc + 10% Cap: 50 (Pet & Master) Pet Cap: 75 -- Attack + 16% ...
gpl-3.0
emmericp/FlowScope
lua/tuple.lua
1
4789
local ffi = require "ffi" local pktLib = require "packet" local eth = require "proto.ethernet" local ip4 = require "proto.ip4" local ip6 = require "proto.ip6" local module = {} ffi.cdef [[ struct ipv4_5tuple { union ip4_address ip_a; union ip4_address ip_b; uint16_t port_a; uint16_...
mit
gemt/server
dep/recastnavigation/RecastDemo/premake4.lua
82
3551
-- -- premake4 file to build RecastDemo -- http://industriousone.com/premake -- local action = _ACTION or "" local todir = "Build/" .. action solution "recastnavigation" configurations { "Debug", "Release" } location (todir) -- extra warnings, no exceptions or rtti flags { "ExtraWarnings", "FloatFast"...
gpl-2.0
m241dan/darkstar
scripts/zones/Port_Bastok/npcs/Kurando.lua
12
2343
----------------------------------- -- Area: Port Bastok -- NPC: Kurando -- Type: Quest Giver -- @zone: 236 -- @pos -23.887 3.898 0.870 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Port_San_dOria/npcs/Apstaule.lua
13
1781
----------------------------------- -- Area: Port San d'Oria -- NPC: Apstaule -- Not used cutscenes: 541 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/quests"); require("sc...
gpl-3.0
santssoft/darkstar
scripts/globals/spells/bluemagic/bludgeon.lua
2
1494
----------------------------------------- -- Spell: Bludgeon -- Delivers a threefold attack. Accuracy varies with TP -- Spell cost: 16 MP -- Monster Type: Arcana -- Spell Type: Physical (Blunt) -- Blue Magic Points: 2 -- Stat Bonus: STR+1 -- Level: 18 -- Casting Time: 0.5 seconds -- Recast Time: 11.75 seconds -- Skillc...
gpl-3.0
priteau/splayd
modules/splay/net.lua
1
3482
--[[ Splayd Copyright 2006 - 2009 Lorenzo Leonini (University of Neuchâtel) http://www.splay-project.org ]] local events = require"splay.events" local socket = require"splay.socket" local log = require"splay.log" local print = print local type = type local pairs = pairs module("splay.net") _COPYRIGHT = "Copyri...
gpl-3.0
dvr333/Zero-K
LuaRules/Gadgets/unit_wanted_speed.lua
5
4222
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
m241dan/darkstar
scripts/globals/mobskills/Corrosive_ooze.lua
34
1192
--------------------------------------------------- -- Corrosive Ooze -- Family: Slugs -- Description: Deals water damage to an enemy. Additional Effect: Attack Down and Defense Down. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Radial -- Notes: ------------------------------------------...
gpl-3.0
jefferai/vlc
share/lua/playlist/mpora.lua
97
2565
--[[ $Id$ Copyright © 2009 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) 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 opt...
gpl-2.0
Newbrict/ObjHunt
gamemode/server/spectate.lua
3
1558
local function GetSpecEnts( ply ) local t = ply:Team() local players = {} -- if we're not on hunters, add props if( t != TEAM_HUNTERS ) then table.Add( players, team.GetPlayers( TEAM_PROPS ) ) end -- if we're not on props, add hunters if( t != TEAM_PROPS ) then table.Add( players, team.GetPlayers( TEAM_HUN...
apache-2.0
m241dan/darkstar
scripts/zones/North_Gustaberg/npcs/Stone_Monument.lua
13
1276
----------------------------------- -- Area: North Gustaberg -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos -199.635 96.106 505.624 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
santssoft/darkstar
scripts/zones/East_Ronfaure/Zone.lua
9
1700
----------------------------------- -- -- Zone: East_Ronfaure (101) -- ----------------------------------- local ID = require("scripts/zones/East_Ronfaure/IDs") require("scripts/globals/icanheararainbow"); require("scripts/globals/chocobo_digging"); require("scripts/globals/conquest"); require("scripts/globals/quests")...
gpl-3.0
hylthink/Sample_Lua
frameworks/cocos2d-x/external/lua/luasocket/ltn12.lua
71
8331
----------------------------------------------------------------------------- -- LTN12 - Filters, sources, sinks and pumps. -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- ------------------------------------------------------------------------...
mit
m241dan/darkstar
scripts/zones/West_Ronfaure/npcs/Signpost.lua
9
1277
----------------------------------- -- Area: West Ronfaure -- NPC: Signpost -- @zone 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- fu...
gpl-3.0
m241dan/darkstar
scripts/zones/Port_Bastok/npcs/Kaede.lua
13
2526
----------------------------------- -- Area: Port Bastok -- NPC: Kaede -- Start Quest: Ayame and Kaede -- Involved in Quests: Riding on the Clouds -- @pos 48 -6 67 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
santssoft/darkstar
scripts/globals/mobskills/hiden_sokyaku.lua
11
1054
--------------------------------------------- -- Hiden Sokyaku -- -- Description: Deals damage to a single target. Additional effect: Stun -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: Stun may or may not take dsp.effect. --------------------------------------------- require("scripts/gl...
gpl-3.0
m241dan/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/Wooden_Ladder.lua
13
3273
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: Wooden Ladder -- @pos 101.9 -1.5 -101.9 -- @pos 101.948 -1.5 -18.016 -- @pos -61.888 -1.5 -18.079 -- @pos -218.109 -1.499 18.081 -- @pos -61.903 -1.5 138.099 -- @pos 21.901 -1.5 138.096 -- @pos 101.902 -1.5 181.902 -- @pos -159.32 -2.5 60 -- @pos...
gpl-3.0
m241dan/darkstar
scripts/zones/Windurst_Woods/npcs/Mheca_Khetashipah.lua
13
1061
----------------------------------- -- Area: Windurst Woods -- NPC: Mheca Khetashipah -- Type: Standard NPC -- @zone: 241 -- @pos 66.881 -6.249 185.752 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ---...
gpl-3.0
dpaiton/OpenPV
pv-core/parameterWrapper/examples/specializedBinoc.lua
1
13853
--Util module --package.path = package.path .. ";" .. os.getenv("HOME") .. "/workspace/PetaVision/parameterWrapper/PVModule.lua;" package.path = package.path .. ";" .. os.getenv("HOME") .. "/workspace/PetaVision/parameterWrapper/?.lua;" --Parameter includes local pv = require("PVModule") local whiten = require("params...
epl-1.0
santssoft/darkstar
scripts/globals/items/pepperoni_pizza.lua
11
1261
----------------------------------------- -- ID: 5697 -- Item: pepperoni_pizza -- Food Effect: 3 hours, all Races ----------------------------------------- -- HP +30 -- Strength 1 -- Accuracy 9% (caps @ 10) -- Attack 10% (caps @ 15) ----------------------------------------- require("scripts/globals/status") require("sc...
gpl-3.0
santssoft/darkstar
scripts/globals/items/breath_mantle.lua
12
1072
----------------------------------------- -- ID: 15486 -- Item: Breath Mantle -- Item Effect: HP+18 / Enmity+3 ----------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") ----------------------------------------- function onItemCheck(target) local effect = targe...
gpl-3.0
ultrasn0w/mc_u_world
danidani_programs/opencomputers/42fdf14f-d26e-43bc-bfaa-bef1d702009b/lib/process.lua
15
3003
local process = {} ------------------------------------------------------------------------------- local running = setmetatable({}, {__mode="k"}) local coroutine_create = coroutine.create local function findProcess(co) co = co or coroutine.running() for main, process in pairs(running) do if main == co then ...
unlicense
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/lqt/generator/classes.lua
2
28031
require 'virtuals' require 'templates' require 'operators' require 'signalslot' require 'properties' module('classes', package.seeall) -- collection of all functions local functions = {} -- collection of bound classes local classes = {} -- list of files to be included local cpp_files = {} -- table of classes by their...
lgpl-3.0
mramirbad/teleatom
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
santssoft/darkstar
scripts/globals/spells/firestorm.lua
12
1294
-------------------------------------- -- Spell: Firestorm -- Changes the weather around target party member to "hot." -------------------------------------- require("scripts/globals/magic") require("scripts/globals/status") -------------------------------------- function onMagicCastingCheck(caster, target, spell)...
gpl-3.0
santssoft/darkstar
scripts/globals/weaponskills/pyrrhic_kleos.lua
10
2179
----------------------------------- -- Pyrrhic Kleos -- Dagger weapon skill -- Skill level: N/A -- Description: Delivers a fourfold attack that lowers target's evasion. Duration of effect varies with TP. Terpsichore: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Dancer) quest...
gpl-3.0
aqasaeed/uzzbot
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
m241dan/darkstar
scripts/zones/Northern_San_dOria/npcs/Pinok-Morok.lua
53
1880
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pinok-Morok -- Type: Smithing Synthesis Image Support -- @pos -186.650 10.25 148.380 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
m241dan/darkstar
scripts/zones/RuLude_Gardens/npcs/relic.lua
13
1851
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: <this space intentionally left blank> -- @pos 0 8 -40 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuLude_Gardens/TextIDs"); --------...
gpl-3.0
santssoft/darkstar
scripts/globals/items/serving_of_bass_meuniere_+1.lua
11
1367
----------------------------------------- -- ID: 4346 -- Item: serving_of_bass_meuniere_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Health % 3 (cap 130) -- Dexterity 3 -- Agility 3 -- Mind -3 -- Ranged ACC % 6 -- Ranged ACC Cap 20 ----------------------------------------- require("...
gpl-3.0
Tom-Ski/libgdx-demo-pax-britannica
android/assets/data/scripts/selector.lua
11
1703
local gl = require 'gl' local v2 = require 'dokidoki.v2' assert(player, 'missing player argument') picked = false local OFFSET_PIXELS = -4 local SEGMENTS = 16 local RADIUS = 32 local fade = 0.2 local pulse_time = 0 callback = callback or function () end self.sprite.image = assert(game.resources.factory_sprites[p...
mit
Zilvinus-Peciulis/MISCELLANEOUS
games/script/OpenComputer/library/1.2.0A/lib/file.lua
4
22491
------------Version 2.1------ 2017-07 local filesystem = {} local fs = require "filesystem" filesystem.test = function() print("Hello, file system"); end --[[Core Method, Wide use]] filesystem.fwrite=function( path , text ) --core assert(type(path)=="string", "fwrite:\nRequare path.") local file = assert(io.o...
mit
m241dan/darkstar
scripts/zones/East_Ronfaure/Zone.lua
13
3924
----------------------------------- -- -- Zone: East_Ronfaure (101) -- ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/globals/zone"); require("scripts/globals/...
gpl-3.0
m241dan/darkstar
scripts/zones/Bhaflau_Remnants/Zone.lua
19
1071
----------------------------------- -- -- Zone: Bhaflau_Remnants -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Bhaflau_Remnants/TextIDs"] = nil; require("scripts/zones/Bhaflau_Remnants/TextIDs"); ----------------------------------- -- onInitialize -------...
gpl-3.0
hexahedronic/saitohud
lua/saitohud/modules/calculator.lua
1
15182
-- SaitoHUD -- Copyright (c) 2009, 2010 sk89q <http://www.sk89q.com> -- -- 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 vers...
gpl-2.0
dvr333/Zero-K
effects/solange.lua
7
1941
-- solange -- solange_pillar return { ["solange"] = { nw = { air = true, class = [[CExpGenSpawner]], count = 150, ground = true, water = true, underwater = true, properties = { delay ...
gpl-2.0
m241dan/darkstar
scripts/zones/Rolanberry_Fields/npcs/Field_Manual.lua
1
1102
----------------------------------- -- Area: Rolanberry Fields -- NPC: Field Manual ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ----------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Bhaflau_Thickets/npcs/Hamta-Iramta.lua
13
1920
----------------------------------- -- Area: Bhaflau Thickets -- NPC: Hamta-Iramta -- Type: Alzadaal Undersea Ruins -- @zone: 52 -- @pos -459.942 -20.048 -4.999 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs...
gpl-3.0
m241dan/darkstar
scripts/zones/Riverne-Site_A01/npcs/_0u3.lua
13
1348
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_A01/TextIDs"); ...
gpl-3.0
e-lab/Torch7-profiling
models/googlenet.lua
1
3981
-- adapted from nagadomi's CIFAR attempt: https://github.com/nagadomi/kaggle-cifar10-torch7/blob/cuda-convnet2/inception_model.lua -- Adapted and taken from Soumith's convnet-benchmarks repo: -- https://github.com/soumith/convnet-benchmarks --The MIT License (MIT) -- --Copyright (c) 2016 Soumith Chintala -- --Permiss...
bsd-3-clause
Wohlhabend-Networks/LunaDLL
LuaScriptsLibExt/smb3goalcard.lua
3
12080
local __title = "SMB3 Goal Cards"; local __version = "1.0.1.1"; local __description = "Make the SMB3 Goal Card act as it did in SMB3."; local __author = "XNBlank"; local __url = "https://github.com/XNBlank"; --[[ HOW TO USE 1 . Make a new file in your worlds folder called LunaWorld.lua. 2 . Add " smb3card = loadAPI("...
gpl-3.0
ashdnazg/Zero-K
scripts/cadenza.lua
16
11499
include "constants.lua" -------------------------------------------------------------------------------- -- pieces -------------------------------------------------------------------------------- local base, pelvis, torso = piece("base", "pelvis", "torso") local rthigh, rleg, rfoot, lthigh, lleg, lfoot = piece("rthigh...
gpl-2.0
teleRoOt3r/RoOt3r08
plugins/engmodhelp.lua
6
3650
do function run(msg, matches) if msg.to.type == 'channel' and is_momod(msg) then return ''..[[ ✔️لیست دستورات مدیریتی سوپر گروه: 🔱#info 〽️نمایش اطلاعات کلی در مورد سوپر گروه 🔱#setlang (fa,en) 〽️تعیین زبان گروه(fa=فارسی-en=انگلیسی) 🔱#who 〽️لیست کاربران گروه 🔱#me 〽️اطلاعاتی در باره شما در گروه 🔱#kmember 〽️حذف کار...
agpl-3.0
npmaier/JuJuCast
mods/traps/lava.lua
1
5298
-- Rubenwardy's Trap Mod -- -- -- -- -- Cage Trap minetest.register_node("traps:lava", { tile_images = {"traps_grass.png", "default_dirt.png", "default_grass_side.png", "default_grass_side.png", "default_grass_side.png", "default_grass_side.png"}, inventory_image = minetest.inventorycube("traps_grass.png",...
gpl-2.0
ashdnazg/Zero-K
LuaUI/Widgets/gui_chili_vote.lua
4
9211
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Chili Vote Display", desc = "GUI for votes", author = "KingRaptor", date = "Ma...
gpl-2.0
superopen/openwrt-luci
modules/admin-mini/luasrc/model/cbi/mini/luci.lua
81
1335
--[[ 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...
apache-2.0
mabako/mta-paradise
resources/factions/factions_c.lua
1
1301
--[[ Copyright (c) 2010 MTA: Paradise 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 version. This program is distributed in the hope ...
gpl-3.0
mitterdoo/wire
lua/entities/gmod_wire_gyroscope.lua
10
2554
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Gyroscope" ENT.WireDebugName = "Gyroscope" function ENT:SetupDataTables() self:NetworkVar( "Bool", 0, "Out180" ) end if CLIENT then --handle overlay text client side instead (TAD2020) function ENT:Think() self.BaseClass.Think(self...
apache-2.0
cedricporter/everlost
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ProgressTimer.lua
2
3200
-------------------------------- -- @module ProgressTimer -- @extend Node -------------------------------- -- @function [parent=#ProgressTimer] isReverseDirection -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- @function [parent=#ProgressTimer] setBarChangeRa...
apache-2.0
minaka1412/Cocos3DEditor
cocos2d/cocos/scripting/lua-bindings/auto/api/AbstractCheckButton.lua
3
6926
-------------------------------- -- @module AbstractCheckButton -- @extend Widget -- @parent_module ccui -------------------------------- -- Load background selected state texture for check button.<br> -- param backGroundSelected The background selected state image name.<br> -- param texType @see `Widget::Textu...
mit
ashdnazg/Zero-K
scripts/energywind.lua
5
3246
local base, fan, cradle, flaot = piece('base', 'fan', 'cradle', 'flaot') include "constants.lua" local baseDirection local smokePiece = {base} local tau = math.pi*2 local pi = math.pi local hpi = math.pi*0.5 local pi34 = math.pi*1.5 local UPDATE_PERIOD = 1000 local BUILD_PERIOD = 500 local turnSpeed = math.rad(20)...
gpl-2.0
ashdnazg/Zero-K
scripts/amphassault.lua
5
11420
include "constants.lua" local base, body, turret, torpedo = piece('base', 'body', 'turret', 'torpedo') local rbarrel1, rbarrel2, lbarrel1, lbarrel2, rflare, lflare, mflare = piece('rbarrel1', 'rbarrel2', 'lbarrel1', 'lbarrel2', 'rflare', 'lflare', 'mflare') local rfleg, rffoot, lfleg, lffoot, rbleg, rbfoot, lbleg, lbf...
gpl-2.0
mitterdoo/wire
lua/wire/stools/input.lua
9
1591
WireToolSetup.setCategory( "Input, Output/Keyboard Interaction" ) WireToolSetup.open( "input", "Numpad Input", "gmod_wire_input", nil, "Numpad Inputs" ) if CLIENT then language.Add( "tool.wire_input.name", "Input Tool (Wire)" ) language.Add( "tool.wire_input.desc", "Spawns a input for use with the wire system." ) l...
apache-2.0
xcjmine/skynet
lualib/skynet/sharemap.lua
30
1503
local stm = require "skynet.stm" local sprotoloader = require "sprotoloader" local sproto = require "sproto" local setmetatable = setmetatable local sharemap = {} function sharemap.register(protofile) -- use global slot 0 for type define sprotoloader.register(protofile, 0) end local sprotoobj local function loadsp...
mit
padrinoo/padrino
plugins/invite.lua
299
1025
-- Invite other user to the chat group. -- Use !invite name User_name or !invite id id_number -- The User_name is the print_name (there are no spaces but _) do local function callback(extra, success, result) vardump(success) vardump(result) end local function run(msg, matches) local user = matches[2] -- Use...
gpl-2.0
kinotrip/HelloRuby
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Repeat.lua
10
1552
-------------------------------- -- @module Repeat -- @extend ActionInterval -- @parent_module cc -------------------------------- -- -- @function [parent=#Repeat] setInnerAction -- @param self -- @param #cc.FiniteTimeAction action -------------------------------- -- -- @function [parent=#Repeat] getInner...
gpl-2.0
WolfGaming/OpenRA
mods/ra/maps/fort-lonestar/fort-lonestar-AI.lua
4
4893
--[[ Copyright 2007-2019 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
ashdnazg/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
AlexeySa/rspamd
contrib/torch/decisiontree/DFD.lua
3
5804
-- nn.DFD: Decision Forest Discretizer -- Takes a dense input and outputs a sparse output. -- Each node in the forest is its own feature. -- When a node is traversed, its commensurate feature takes on a value of 1. -- For all non-traversed nodes, the feature is 0. local DFD, parent = torch.class("nn.DFD", "nn.Module") ...
bsd-2-clause
Abu0Ali/abu0alibot
plugins/supergroup.lua
1
100680
--[[ الاوامر --]] local function check_member_super(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg if success == 0 then send_large_msg(receiver, "نعتذر منك ولكن هذا فقط للمشرفين") end for k,v in pairs(result) do local membe...
gpl-2.0
enkol/wow-premade-groups-filter
Modules/Lockout.lua
1
2559
------------------------------------------------------------------------------- -- Premade Groups Filter ------------------------------------------------------------------------------- -- Copyright (C) 2015 Elotheon-Arthas-EU -- -- This program is free software; you can redistribute it and/or modify -- it under the ter...
gpl-3.0
mabako/mta-paradise
resources/world/skygradient.lua
1
4072
--[[ Copyright (c) 2010 MTA: Paradise 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 version. This program is distributed in the hope ...
gpl-3.0
sadegh1996/TeleSword
plugins/photo2sticker.lua
6
1032
local function tosticker(msg, success, result) local receiver = get_receiver(msg) if success then local file = '/root/robot/data/stickers/'..msg.from.id..'.webp' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) send_document(get_receiver(msg), file, ok_c...
gpl-2.0
superopen/openwrt-luci
applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-format.lua
80
3636
--[[ 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...
apache-2.0
superopen/openwrt-luci
applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
78
1344
--[[ Luci configuration model for statistics - collectd dns plugin configuration (c) 2008 Freifunk Leipzig / 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 a...
apache-2.0
Doodle3D/doodle3d-firmware
src/rest/api/api_printer.lua
1
12793
-- -- This file is part of the Doodle3D project (http://doodle3d.com). -- -- @copyright 2013, Doodle3D -- @license This software is licensed under the terms of the GNU GPL v2 or later. -- See file LICENSE.txt or visit http://www.gnu.org/licenses/gpl.html for full license details. -- TODO: return errors like in print_P...
gpl-2.0
minaka1412/Cocos3DEditor
cocos2d/cocos/scripting/lua-bindings/auto/api/JumpTiles3D.lua
8
3329
-------------------------------- -- @module JumpTiles3D -- @extend TiledGrid3DAction -- @parent_module cc -------------------------------- -- brief Set the amplitude rate of the effect.<br> -- param amplitudeRate The value of amplitude rate will be set. -- @function [parent=#JumpTiles3D] setAmplitudeRate -- @param s...
mit
minaka1412/Cocos3DEditor
cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsShapeEdgeBox.lua
8
1145
-------------------------------- -- @module PhysicsShapeEdgeBox -- @extend PhysicsShapeEdgePolygon -- @parent_module cc -------------------------------- -- Creates a PhysicsShapeEdgeBox with specified value.<br> -- param size Size contains this box's width and height.<br> -- param material A PhysicsMaterial objec...
mit
chukong/sdkbox-samples
src/cocos/framework/components/event.lua
62
4752
local Event = class("Event") local EXPORTED_METHODS = { "addEventListener", "dispatchEvent", "removeEventListener", "removeEventListenersByTag", "removeEventListenersByEvent", "removeAllEventListeners", "hasEventListener", "dumpAllEventListeners", } function Event:init_() self.tar...
mit
fegimanam/sg1
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
mabako/mta-paradise
resources/jobs/jobs_c.lua
1
1244
--[[ Copyright (c) 2010 MTA: Paradise 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 version. This program is distributed in the hope ...
gpl-3.0
cedricporter/everlost
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Scale9Sprite.lua
2
6926
-------------------------------- -- @module Scale9Sprite -- @extend Node -------------------------------- -- @function [parent=#Scale9Sprite] resizableSpriteWithCapInsets -- @param self -- @param #rect_table rect -- @return Scale9Sprite#Scale9Sprite ret (return value: cc.Scale9Sprite) ----------------------...
apache-2.0
IRANBOT/IRANBOT
bot/bot.lua
34
7073
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 = '0.14.6' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then r...
gpl-2.0
iamii/MySSH
books/nfs/nfs_server.lua
1
1033
-- -- Created by IntelliJ IDEA. -- User: guang -- Date: 2016-12-13 -- Time: 16:56 -- To change this template use File | Settings | File Templates. -- HOST变量为playlist传递过来 -- 此文件所对应的SSHCLIENT指针,无须定义 local template = [[ {{range .dirs -}} {{.path}} {{ range .clients }} {{.ip_range}}({{.options}}) {{ end }} {{ end -}} ]] ...
gpl-3.0
Schakirov/cutorch
test/test.lua
2
87203
local runtests = false if not cutorch then require 'cutorch' runtests = true end local test = {} local msize = 100 local minsize = 100 local maxsize = 1000 local minvalue = 2 local maxvalue = 20 local nloop = 100 local times = {} local test_tolerance = 1e-5 local unpack = unpack or table.unpack --e.g. unit test ...
bsd-3-clause
Houshalter/Tattletale
socket/headers.lua
133
3698
----------------------------------------------------------------------------- -- Canonic header field capitalization -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- local socket = require("socket") socket.headers = {} local _M = socket.headers ...
mit
ashdnazg/Zero-K
effects/debris.lua
25
2772
-- debris1 return { ["debris1"] = { dirt = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = true, properties = { airdrag = 0.97, colormap = ...
gpl-2.0