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
dhlab-basel/Knora
sipi/scripts/sipi.init-knora-test.lua
1
4884
-- * Copyright © 2021 - 2022 Swiss National Data and Service Center for the Humanities and/or DaSCH Service Platform contributors. -- * SPDX-License-Identifier: Apache-2.0 require "get_knora_session" ------------------------------------------------------------------------------- -- This function is being called from ...
agpl-3.0
witgo/nn
Sequential.lua
33
3921
local Sequential, _ = torch.class('nn.Sequential', 'nn.Container') function Sequential:__len() return #self.modules end function Sequential:add(module) if #self.modules == 0 then self.gradInput = module.gradInput end table.insert(self.modules, module) self.output = module.output return self en...
bsd-3-clause
Aquanim/Zero-K
units/raveparty.lua
1
11775
return { raveparty = { unitname = [[raveparty]], name = [[Disco Rave Party]], description = [[Destructive Rainbow Projector]], buildCostMetal = 40000, builder = false, buildingGroundDecalDecaySpeed = 30, b...
gpl-2.0
Wiladams/schedlua
schedlua/windows/iocompletionset.lua
1
4163
local ffi = require("ffi"); local core_io = require("schedlua.windows.core_io_l1_1_1"); local errorhandling = require("schedlua.windows.core_errorhandling_l1_1_1"); local WTypes = require("schedlua.windows.WTypes") --local WinBase = require("WinBase"); INVALID_HANDLE_VALUE = ffi.cast("HANDLE",ffi.cast("LONG_PTR",-1))...
mit
PicassoCT/Journeywar
scripts/lib_jw.lua
1
34405
--=================================================================================================================== -- Game Configuration function getGameConfig() return { MaxDrillTreeHeigth=420, Version= 130, } end --=============================================================================================...
gpl-3.0
Sakura-Winkey/LuCI
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua
73
1191
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Unixsock Plugin Configuration"), translate( "The unixsock plugin creates a unix socket which can be used " .. "to read collected data from a running...
apache-2.0
bakpakin/heroku-buildpack-moonmint
heroku/share/lua/5.1/moonmint/deps/httpCodec.lua
2
8762
-- -- Modified from luvit/http-codec -- https://github.com/luvit/luvit/blob/master/deps/http-codec.lua -- --[[ Copyright 2014-2015 The Luvit Authors. All Rights Reserved. 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 ...
mit
tobiasjakobi/mpv
player/lua/defaults.lua
4
15599
-- Compatibility shim for lua 5.2/5.3 unpack = unpack or table.unpack -- these are used internally by lua.c mp.UNKNOWN_TYPE.info = "this value is inserted if the C type is not supported" mp.UNKNOWN_TYPE.type = "UNKNOWN_TYPE" mp.ARRAY.info = "native array" mp.ARRAY.type = "ARRAY" mp.MAP.info = "native map" mp.MAP.typ...
gpl-2.0
crazyboy11/crazysb
plugins/ingroup.lua
202
31524
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
xpol/luarocks
src/luarocks/show.lua
3
5298
--- Module implementing the LuaRocks "show" command. -- Shows information about an installed rock. local show = {} package.loaded["luarocks.show"] = show local search = require("luarocks.search") local cfg = require("luarocks.cfg") local util = require("luarocks.util") local path = require("luarocks.path") local deps ...
mit
b03605079/darkstar
scripts/zones/Gustav_Tunnel/mobs/Goblin_Mercenary.lua
10
1027
---------------------------------- -- Area: Gustav Tunnel -- MOB: Goblin Mercenary -- Note: Place holder Wyvernpoacher Drachlox ----------------------------------- require("/scripts/zones/Gustav_Tunnel/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- functi...
gpl-3.0
PHYsicalAttack/Interest
cyl/Demons.lua
1
1449
--Demons singer:Imagine Dragons When the days are cold And the cards all fold And the saints we see Are all made of gold When your dreams all fail And the ones we hail Are the worest of all ANd the blood's run stale I want to hide the turth I want to shelter you But with the beast inside There's nowhere we can hide N...
gpl-3.0
b03605079/darkstar
scripts/zones/Gusgen_Mines/npcs/Mining_Point.lua
29
1093
----------------------------------- -- Area: Gusgen Mines -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Gusgen_Mines/TextIDs"); ----------...
gpl-3.0
PicassoCT/Journeywar
gamedata/explosions/cRailSparks.lua
1
1990
-- trail_ar2 return { ["cRailSparks"] = { sparkO1x = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = false, properties = { airdrag = 1, colormap...
gpl-3.0
kiarash14/bumpspm
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
chanko08/KillerLibrarian
assets/lvls/level07.lua
2
3295
return { version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 20, height = 15, tilewidth = 32, tileheight = 32, properties = {}, tilesets = { { name = "levelobjects", firstgid = 1, tilewidth = 32, tileheight = 32, spacing = 0, margin = 0, ...
mit
FlightControl-Master/MOOSE_MISSIONS
SPA - Spawning/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.lua
2
2317
---------------------------------------------------------------------- --SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup() Escort Task ---------------------------------------------------------------------- --////////////////////////////////// --////////////Tankers and awacs v1 --//////////////////////////////...
gpl-3.0
b03605079/darkstar
scripts/zones/Waughroon_Shrine/bcnms/thief_in_norg.lua
13
2053
----------------------------------- -- 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"); ...
gpl-3.0
romain-intel/bcc
examples/lua/task_switch.lua
3
1389
#!/usr/bin/env bcc-lua --[[ Copyright 2016 GitHub, Inc 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 Unless required by applicable law or agreed to in ...
apache-2.0
redstormbot/rsbi
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
PicassoCT/Journeywar
LuaUI/ressources/guiEnums.lua
1
1636
return { [CMD.STOP ]=true, [CMD.WAIT ]=true, [CMD.TIMEWAIT ]=true, [CMD.DEATHWAIT ]=true, [CMD.SQUADWAIT ]=true, [CMD.GATHERWAIT ]=true, [CMD.MOVE ]=true, [CMD.PATROL ]=true, [CMD.FIGHT ]=true, [CMD.ATTACK ]=true, [CMD.AREA_ATTACK ...
gpl-3.0
Anubhav652/GTW-RPG
[resources]/GTWgrouplogs/logs.lua
1
3510
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: El Med, Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.404rq.co...
gpl-3.0
FlightControl-Master/MOOSE_MISSIONS
AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-041 - CAP Independent Detection in EWR with Clients/AID-041 - AI_A2A - CAP Independent Detection in EWR with Clients.lua
1
1970
--- -- Name: AID-041 - AI_A2A - CAP Independent Detection in EWR with Clients -- Author: FlightControl -- Date Created: 01 Sep 2017 -- Define a SET_GROUP object that builds a collection of groups that define the EWR network. -- Here we build the network with all the groups that have a name starting with DF CCC...
gpl-3.0
b03605079/darkstar
scripts/zones/Northern_San_dOria/npcs/Arlenne.lua
36
2044
----------------------------------- -- Area: Northern San d'Oria -- NPC: Arlenne -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop...
gpl-3.0
raymond-w-ko/vim-lua-indent
tests/nmap/ldap.ok.lua
2
26809
--- -- Library methods for handling LDAP. -- -- @author Patrik Karlsson -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html -- -- Credit goes out to Martin Swende who provided me with the initial code that got me started writing this. -- -- Version 0.6 -- Created 01/12/2010 - v0.1 - Created by Patrik Ka...
mit
krattai/noo-ebs
ref_code/lzmq/test/utest.lua
2
60327
pcall(require, "luacov") local function zversion(zmq) local version = zmq.version() return string.format("%d.%d.%d", version[1], version[2], version[3]) end local function iszvereq(zmq, mi, ma, bu) local version = zmq.version() return (mi == version[1]) and (ma == version[2]) and (bu == version[3]) end local...
bsd-2-clause
raymond-w-ko/vim-lua-indent
tests/nmap/wsdd.ok.lua
2
12294
--- A library that enables scripts to send Web Service Dynamic Discovery probes -- and perform some very basic decoding of responses. The library is in no way -- a full WSDD implementation it's rather the result of some packet captures -- and some creative coding. -- -- The "general" probe was captured of the wire of a...
mit
b03605079/darkstar
scripts/globals/mobskills/Glacier_Splitter.lua
5
1084
--------------------------------------------- -- Glacier Splitter -- -- Description: Cleaves into targets in a fan-shaped area. Additional effect: Paralyze -- Type: Physical -- Utsusemi/Blink absorb: 1-3 shadows -- Range: Unknown cone -- Notes: Only used the Aern wielding a sword (RDM, DRK, and PLD). ----...
gpl-3.0
Aquanim/Zero-K
units/spiderriot.lua
1
3258
return { spiderriot = { unitname = [[spiderriot]], name = [[Redback]], description = [[Riot Spider]], acceleration = 0.66, brakeRate = 3.96, buildCostMetal = 230, buildPic = [[spiderriot.png]], canGuard ...
gpl-2.0
immibis/wiremod
lua/entities/gmod_wire_teleporter.lua
9
10340
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Teleporter" ENT.WireDebugName = "Teleporter" ENT.Author = "Divran" if CLIENT then return end -- No more client CreateConVar("wire_teleporter_cooldown","1",{FCVAR_ARCHIVE,FCVAR_NOTIFY}) function ENT:Initialize() self:PhysicsInit( SOLID_V...
apache-2.0
immibis/wiremod
lua/entities/gmod_wire_fx_emitter.lua
10
3723
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire FX Emitter" ENT.WireDebugName = "FX Emitter" function ENT:SetupDataTables() self:NetworkVar( "Bool", 0, "On" ) self:NetworkVar( "Int", 0, "Effect" ) self:NetworkVar( "Float", 0, "Delay" ) self:NetworkVar( "Vector", 0, "FXDir" ) end ...
apache-2.0
jsykes/million-tile-engine
samples/projects/PlatformerAngled/shapes.lua
3
7434
-- This file is for use with Corona(R) SDK -- -- This file is automatically generated with PhysicsEdtior (http://physicseditor.de). Do not edit -- -- Usage example: -- local scaleFactor = 1.0 -- local physicsData = (require "shapedefs").physicsData(scaleFactor) -- local shape = display.newImage("objectname.png") ...
mit
arychen/GlobalCall
feeds/luci/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua
68
1868
-- Copyright 2012 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local fs = require "nixio.fs" local utl = require "luci.util" m = Map("freifunk-widgets", translate("Widgets"), translate("Configure installed widget...
gpl-2.0
b03605079/darkstar
scripts/zones/Port_San_dOria/npcs/Jaireto.lua
36
1373
----------------------------------- -- Area: Port San d'Oria -- NPC: Jaireto -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextI...
gpl-3.0
geoffleyland/rima
lua/rima/address.lua
1
5765
-- Copyright (c) 2009-2012 Incremental IP Limited -- see LICENSE for license information --- Store the address pointed to by an index. -- An address is an array of keys by which to index tables. For example, -- to index `base.a.b.c`, then the address will be `{ "a", "b", "c" }`. -- @module rima.address local obje...
mit
eXcomm/MozDef
examples/heka-lua-bro/bro_ssl.lua
8
4127
-- 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/. -- Copyright (c) 2014 Mozilla Corporation -- -- Contributors: -- Anthony Verez averez@mozilla.com -- Jeff Bryner jbryn...
mpl-2.0
thesrinivas/rakshak
rakshak-probe/userspace/sysdig/chisels/v_procs_errors.lua
2
3982
--[[ Copyright (C) 2013-2015 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
gpl-2.0
jac8/Teles
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
immibis/wiremod
lua/entities/gmod_wire_lever.lua
10
3441
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Analog Lever" ENT.WireDebugName = "Lever" if CLIENT then return end -- No more client function ENT:Initialize() self:SetModel("models/props_wasteland/tram_lever01.mdl") self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_V...
apache-2.0
Aquanim/Zero-K
effects/gundam_comm_explosion.lua
26
3003
-- comm_explosion return { ["comm_explosion"] = { dirt = { count = 4, ground = true, properties = { alphafalloff = 2, alwaysvisible = true, color = [[0.2, 0.1, 0.05]], pos = [[r-10 r10, 0, r-10 r10]]...
gpl-2.0
PicassoCT/Journeywar
scripts/zombiescript.lua
1
32414
include "lib_jw.lua" include "lib_UnitScript.lua" include "lib_Animation.lua" include "createCorpse.lua" local ztorso = piece "zTorso" local zHead = piece "zHead" local zRTent = piece "zRTent" local zRArm = piece "zRArm" local zLArm = piece "zLArm" local zdaerme = piece "zdaerme" local zLTent = piece "zLTent" local zU...
gpl-3.0
Aquanim/Zero-K
LuaUI/Widgets/api_chili.lua
6
12249
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Chili Framework", desc = "Hot GUI Framework", author = "jK", date = "WIP", li...
gpl-2.0
b03605079/darkstar
scripts/zones/Kazham/npcs/Ghemi_Sinterilo.lua
37
1391
----------------------------------- -- Area: Kazham -- NPC: Ghemi Senterilo -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onT...
gpl-3.0
kiarash14/bumpspm
plugins/moderation.lua
336
9979
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then local username = v.username data[tostring(m...
gpl-2.0
pwpiwi/proxmark3
client/scripts/mifare_autopwn.lua
7
4892
local getopt = require('getopt') local reader = require('read14a') local cmds = require('commands') example = "script run mifare_autopwn" author = "Martin Holst Swende" desc = [[ This is a which automates cracking and dumping mifare classic cards. It sets itself into 'listening'-mode, after which it cracks and dump...
gpl-2.0
thesrinivas/rakshak
rakshak-probe/userspace/elasticsearch-lua/src/elasticsearch/endpoints/Indices/GetFieldMapping.lua
2
2158
------------------------------------------------------------------------------- -- Importing modules ------------------------------------------------------------------------------- local IndicesEndpoint = require "elasticsearch.endpoints.Indices.IndicesEndpoint" --------------------------------------------------------...
gpl-2.0
b03605079/darkstar
scripts/zones/Lufaise_Meadows/npcs/Yoram_IM.lua
8
2940
----------------------------------- -- Area: Lufaise Meadows -- NPC: Yoram, I.M. -- Outpost Conquest Guards -- @pos -542.418 -7.124 -53.521 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
b03605079/darkstar
scripts/globals/abilities/thunder_maneuver.lua
2
1375
----------------------------------- -- Ability: Thunder Maneuver ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onUseAbility ----------------------------------- function onAbilityCheck(player,target,ability) if (play...
gpl-3.0
greg100795/xenia
premake5.lua
1
4447
include("build_tools") location(build_root) targetdir(build_bin) objdir(build_obj) includedirs({ ".", "src", "third_party", "build_tools/third_party/gflags/src", }) defines({ "_UNICODE", "UNICODE", "MICROPROFILE_MAX_THREADS=128", }) vectorextensions("AVX") flags({ --"ExtraWarnings", -- Sets t...
bsd-3-clause
lualatex/luaotfload
src/fontloader/misc/fontloader-font-ota.lua
2
14630
if not modules then modules = { } end modules ['font-ota'] = { version = 1.001, comment = "companion to font-otf.lua (analysing)", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } -- context o...
gpl-2.0
b03605079/darkstar
scripts/globals/items/plate_of_urchin_sushi_+1.lua
35
1530
----------------------------------------- -- ID: 5160 -- Item: plate_of_urchin_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 40 -- Strength 1 -- Vitality 5 -- Accuracy % 16 -- Ranged ACC % 16 -- Sleep Resist 5 ----------------------------------------- requir...
gpl-3.0
b03605079/darkstar
scripts/globals/spells/bluemagic/frost_breath.lua
3
1366
--------------------------------------------- -- Bad Breath --------------------------------------------- require("scripts/globals/magic"); require("scripts/globals/status"); require("scripts/globals/bluemagic"); --------------------------------------------- function onMagicCastingCheck(caster,target,spell) ...
gpl-3.0
b03605079/darkstar
scripts/zones/Cloister_of_Gales/npcs/Wind_Protocrystal.lua
12
1793
----------------------------------- -- Area: Cloister of Gales -- NPC: Wind Protocrystal -- Involved in Quests: Trial by Wind, Trial Size Trial By Wind -- @zone -361 1 -381 201 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ----------------------------------- requ...
gpl-3.0
immibis/wiremod
lua/entities/gmod_wire_expression2/core/number.lua
9
17049
-- these upvalues (locals in an enclosing scope) are faster to access than globals. local delta = wire_expression2_delta local math = math local random = math.random local pi = math.pi local exp = math.exp local log = math.log local log10 = math.log10 local sqrt = math.sqrt local floor = math.floor ...
apache-2.0
b03605079/darkstar
scripts/zones/Hall_of_Transference/npcs/_0e7.lua
10
1388
----------------------------------- -- Area: Hall of Transference -- NPC: Large Apparatus (Left) - Mea -- @pos 269 -81 -39 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("/scripts/globals/missions"); requi...
gpl-3.0
codedustgames/caress-framework
classeslib/Object/Condition/MultiCondition.lua
1
1590
-- Caress, a small framework for games in lua and love. -- Copyright (C) 2016 Erivaldo Filho "desadoc@gmail.com" -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as published by -- the Free Software Foundation, either version 3 of t...
gpl-3.0
szym/display
server.lua
1
2086
-- https://github.com/szym/display -- Copyright (c) 2015, Szymon Jakubczak (MIT License) -- Forwards any data POSTed to /events to an event-stream at /events. -- Serves files from /static otherwise. local async = require('async') local paths = require('paths') local function getMime(ext) if ext == '.css' then ...
mit
krattai/noo-ebs
docs/zeroMQ-guide2/examples/Lua/rtmama.lua
2
2356
-- -- Custom routing Router to Mama (ROUTER to REQ) -- -- While this example runs in a single process, that is just to make -- it easier to start and stop the example. Each thread has its own -- context and conceptually acts as a separate process. -- -- Author: Robert G. Jakabosky <bobby@sharedrealm.com> -- requir...
bsd-2-clause
b03605079/darkstar
scripts/zones/QuBia_Arena/npcs/Burning_Circle.lua
12
2528
----------------------------------- -- Area: Qu'Bia Arena -- NPC: Burning Circle -- @pos -221 -24 19 206 ------------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missions");...
gpl-3.0
b03605079/darkstar
scripts/zones/Oldton_Movalpolos/npcs/Scrawled_Writing.lua
4
1399
----------------------------------- -- Area: Oldton_Movalpolos -- NPC: Scrawled_Writing -- Allows players to spawn NM Goblin Wolfman ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Oldton_Movalpolos...
gpl-3.0
Aquanim/Zero-K
LuaUI/Widgets/unit_transport_ai.lua
3
33022
-- $Id: unit_transport_ai.lua 4460 2009-04-20 20:36:16Z licho $ include("keysym.lua") function widget:GetInfo() return { name = "Transport AI", desc = "Automatically transports units going to factory waypoint.\n" .. "Adds embark=call for transport and disembark=unload from transport command", ...
gpl-2.0
MTASZTAKI/ApertusVR
plugins/physics/bulletPhysics/3rdParty/bullet3/examples/ExtendedTutorials/premake4.lua
6
7441
project "App_RigidBodyFromObjExample" if _OPTIONS["ios"] then kind "WindowedApp" else kind "ConsoleApp" end defines {"B3_USE_STANDALONE_EXAMPLE"} includedirs {"../../src"} links { "BulletInverseDynamicsUtils", "BulletInverseDynamics","Bullet3Common","BulletDynamics","BulletCollision", "LinearMath" } language "C...
mit
cs-willian-silva/vlc
share/lua/playlist/canalplus.lua
113
3501
--[[ $Id: $ Copyright (c) 2007 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 distr...
gpl-2.0
b03605079/darkstar
scripts/zones/Western_Altepa_Desert/npcs/_3h8.lua
17
1899
----------------------------------- -- Area: Western Altepa Desert -- NPC: _3h8 (Sapphire Column) -- Notes: Mechanism for Altepa Gate -- @pos -499 10 224 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
PicassoCT/Journeywar
LuaRules/Gadgets/dbg_gadget_profiler.lua
1
18837
function gadget:GetInfo() return { name = "Gadget Profiler", desc = "", author = "jK, Bluestone", date = "2007+", license = "GNU GPL, v2 or later", layer = math.huge, handler = true, enabled = true, } end -- use 'luarules profile' to switch on the profiler -- future use of 'luarul...
gpl-3.0
b03605079/darkstar
scripts/zones/Gusgen_Mines/npcs/_5g2.lua
34
1100
----------------------------------- -- Area: Gusgen Mines -- NPC: _5g2 (Door A) -- @pos -4.001 -42.4 -25.5 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); -----------------...
gpl-3.0
kostik1337/Urho3D
Source/ThirdParty/toluapp/src/bin/lua/doit.lua
24
2028
-- Generate binding code -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- Last update: Apr 2003 -- $Id: $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, suppor...
mit
latach/desktop
vicious/contrib/pop_all.lua
4
1430
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Boris Bolgradov <> -- -- This widget type depends on luasocket. -- -- Widget arguments are host, port, username and -- password, i.e.: -- {"mail.myhost.com", 110, "John", "132435"} ----------------...
gpl-2.0
DI3HARD139/dcb-everamzah-
mods/beds/beds.lua
18
2586
-- Fancy shaped bed beds.register_bed("beds:fancy_bed", { description = "Fancy Bed", inventory_image = "beds_bed_fancy.png", wield_image = "beds_bed_fancy.png", tiles = { bottom = { "beds_bed_top1.png", "default_wood.png", "beds_bed_side1.png", "beds_bed_side1.png^[transformFX", "default_wood.png"...
gpl-3.0
thesrinivas/rakshak
rakshak-probe/userspace/elasticsearch-lua/tests/endpoints/SnapshotTest/GetRepositoryTest.lua
2
1247
-- Importing modules local GetRepository = require "elasticsearch.endpoints.Snapshot.GetRepository" local MockTransport = require "lib.MockTransport" local getmetatable = getmetatable -- Setting up environment local _ENV = lunit.TEST_CASE "tests.endpoints.SnapshotTest.GetRepositoryTest" -- Declaring local variables l...
gpl-2.0
b03605079/darkstar
scripts/zones/Lower_Jeuno/npcs/HomePoint#2.lua
12
1239
----------------------------------- -- Area: Lower Jeuno -- NPC: HomePoint#2 -- @pos 18 -1 54 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Lower_Jeuno/TextIDs"); require("scripts/globals/homepo...
gpl-3.0
PicassoCT/Journeywar
scripts/jTree2.lua
1
7561
include "lib_OS.lua" include "lib_UnitScript.lua" include "lib_Animation.lua" include "createCorpse.lua" include "lib_jw.lua" include "lib_Build.lua" centRot=piece"centRot" center= piece "normTree" rot1= piece "rot1" rot2= piece "rot2" root={} for i=1, 5, 1 do root[i]={} roottemp="root"..i root[i]=piece (roott...
gpl-3.0
b03605079/darkstar
scripts/globals/mobskills/Cimicine_Discharge.lua
6
1064
--------------------------------------------------- -- Cimicine Discharge -- Reduces the attack speed of enemies within range. -- Duration: Variable, with max of 3 min --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts...
gpl-3.0
b03605079/darkstar
scripts/zones/Castle_Oztroja/mobs/Yagudo_Avatar.lua
8
1394
----------------------------------- -- Area: Castle Oztroja (151) -- Mob: Yagudo_Avatar (Tzee Xicu the Manifest PH) ----------------------------------- require("scripts/zones/Castle_Oztroja/TextIDs"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function OnMobSpawn(...
gpl-3.0
immibis/wiremod
lua/wire/stools/value.lua
1
12009
WireToolSetup.setCategory( "Input, Output" ) WireToolSetup.open( "value", "Constant Value", "gmod_wire_value", nil, "Constant Values" ) if CLIENT then language.Add("Tool.wire_value.name", "Value Tool (Wire)") language.Add("Tool.wire_value.desc", "Spawns a constant value for use with the wire system.") language.Add(...
apache-2.0
virtualopensystems/snabbswitch
src/lib/json.lua
29
10286
-- JSON4Lua: JSON encoding / decoding support for the Lua language. -- json Module. -- Author: Craig Mason-Jones -- Homepage: http://json.luaforge.net/ -- Version: 0.9.40 -- This module is released under the MIT License (MIT). -- -- NOTE: This is only the decode functionality ripped out from JSON4Lua. -- See: https://g...
apache-2.0
b03605079/darkstar
scripts/globals/spells/knights_minne_iii.lua
13
1519
----------------------------------------- -- Spell: Knight's Minne III -- Grants Defense bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCast...
gpl-3.0
b03605079/darkstar
scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Mercenary.lua
10
1061
----------------------------------- -- Area: Labyrinth of Onzozo -- MOB: Goblin Mercenary -- Note: Place holder Soulstealer Skullnix ----------------------------------- require("/scripts/zones/Labyrinth_of_Onzozo/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------...
gpl-3.0
PicassoCT/Journeywar
LuaUI/widgets/chili/headers/util.lua
1
10193
--//============================================================================= function IsTweakMode() return widgetHandler.tweakMode end --//============================================================================= --// some needed gl constants GL_DEPTH24_STENCIL8 = 0x88F0 GL_KEEP = 0x1E00 GL_INCR_WRAP...
gpl-3.0
PicassoCT/Journeywar
units/journey/jCrabCreeper.lua
1
1256
local unitName = "jCrabCreeper" local unitDef = { objectName="jcrab.s3o", name = "Crustacian Creeper", Description ="slow, steady, deadly Crab Creeper <Tank Creeper>", script = "jCrabScript.lua", maxDamage = 2550, MovementClass = "jcreeper", buildCostMetal =30, buildCostEnergy =200, buildTime=3, ...
gpl-3.0
b03605079/darkstar
scripts/zones/Rolanberry_Fields_[S]/Zone.lua
6
1309
----------------------------------- -- -- Zone: Rolanberry_Fields_[S] (91) -- ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Rolanberry_Fields_[S]/TextIDs"); --------------------------------...
gpl-3.0
PicassoCT/Journeywar
gamedata/explosions/firedancesparks.lua
1
2102
--lowest part of the fire return { ["firedancesparks"] = { glow2 = { air = true, class = [[heatcloud]], count = 1, ground = true, water = true, properties = { alwaysvisible = true, heat ...
gpl-3.0
Aquanim/Zero-K
LuaRules/Configs/StartBoxes/Gehenna Rising 3.lua
8
10999
local areas = { { -- NW 8 A {2357, 228}, {2531, 285}, {2669, 348}, {2752, 450}, {2806, 589}, {2811, 688}, {2814, 700}, {2817, 791}, {2818, 802}, {2799, 874}, {2798, 889}, {2797, 899}, {2739, 972}, {2732, 984}, {2656, 1041}, {2643, 1049}, {2626, 1060}, {2529, 1105}, {2516, 1113}, ...
gpl-2.0
b03605079/darkstar
scripts/zones/Selbina/Zone.lua
12
2512
----------------------------------- -- -- Zone: Selbina (248) -- ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/zone"); require("scripts/globals/shop"); require("scri...
gpl-3.0
fededim/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/bmx7.lua
76
2091
#!/usr/bin/lua local json = require "cjson" local function interpret_suffix(rate) if rate ~= nil then local value = string.sub(rate, 1, -2) local suffix = string.sub(rate, -1) if suffix == "K" then return tonumber(value) * 10^3 end if suffix == "M" then return tonumber(value) * 10^6 end if suffi...
gpl-2.0
BooM-amour/ME
plugins/plugins.lua
22
4662
do to_id = "" -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plu...
gpl-2.0
Radseq/otclient
modules/corelib/ui/uicombobox.lua
6
4370
-- @docclass UIComboBox = extends(UIWidget, "UIComboBox") function UIComboBox.create() local combobox = UIComboBox.internalCreate() combobox:setFocusable(false) combobox.options = {} combobox.currentIndex = -1 combobox.mouseScroll = true combobox.menuScroll = false combobox.menuHeight = 100 combobox.me...
mit
maciejmiklas/LuaTutorial
src/_init.lua
2
3694
require "date_format_europe"; require "serial_api_clock" require "serial_api_open_weather" require "blink" require "scheduler" require "credentials" require "ram_watchdog" function scmd.GFR() collectgarbage() sapi.send("RAM: " .. tostring(node.heap() / 1000)) end local gtc = { last_weather_sync_sec = -1, ...
apache-2.0
Aquanim/Zero-K
units/chicken_digger.lua
6
2903
return { chicken_digger = { unitname = [[chicken_digger]], name = [[Digger]], description = [[Burrowing Scout/Raider]], acceleration = 1.08, activateWhenBuilt = true, brakeRate = 1.23, buildCostEnergy = 0, buildCostMetal = 0, builder ...
gpl-2.0
latach/desktop
vicious/widgets/mem_linux.lua
4
1862
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- * (c) 2009, Lucas de Vries <lucas@glacicle.com> --------------------------------------------------- -- {{{ Grab environment local io = { lines = io.lines } local se...
gpl-2.0
b03605079/darkstar
scripts/globals/items/prized_seafood_stewpot.lua
36
1865
----------------------------------------- -- ID: 5240 -- Item: Prized Seafood Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 100 -- MP +20 -- Dexterity 2 -- Vitality 2 -- Agility 2 -- Mind 2 -- HP Recovered while healing 9 -- MP Recovered while he...
gpl-3.0
Aquanim/Zero-K
LuaUI/Widgets/chili/Skins/DarkHive/skin.lua
8
4510
--// ============================================================================= --// Skin local skin = { info = { name = "DarkHive", version = "0.1", author = "luckywaldo7", } } --// ============================================================================= --// skin.general = { --font = "F...
gpl-2.0
stone-jin/avbot
extension/luascript/libs/lua_libraries/json/encode/number.lua
9
1232
--[[ Licensed according to the included 'LICENSE' document Author: Thomas Harning Jr <harningt@gmail.com> ]] local tostring = tostring local assert = assert local jsonutil = require("json.util") local huge = require("math").huge local _ENV = nil local defaultOptions = { nan = true, inf = true } local modeOptions...
agpl-3.0
latach/desktop
vicious/widgets/volume_linux.lua
3
1458
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local tonumber = tonumber local io = { popen = io.popen } local setmetatable = setmetatable ...
gpl-2.0
PicassoCT/Journeywar
LuaUI/widgets/chili/controls/control.lua
1
39840
--//============================================================================= --- Control module --- Control fields. -- Inherits from Object. -- @see object.Object -- @table Control -- @tparam {left,top,right,bottom} padding table of padding, (default {5,5,5,5}) -- @number[opt=1.5] borderThickness border thicknes...
gpl-3.0
geoffleyland/rima
lua/rima/operators/mul.lua
1
5779
-- Copyright (c) 2009-2012 Incremental IP Limited -- see LICENSE for license information local object = require("rima.lib.object") local operator = require("rima.operator") local lib = require("rima.lib") local core = require("rima.core")--local expression = require("rima.expression") local add_mul = require("rima.ope...
mit
b03605079/darkstar
scripts/globals/items/red_curry_bun.lua
21
1844
----------------------------------------- -- ID: 5759 -- Item: red_curry_bun -- Food Effect: 30 Min, All Races ----------------------------------------- -- Health 25 -- Strength 7 -- Agility 1 -- Intelligence -2 -- Attack % 24.7 -- Attack Cap 150 -- Ranged ATT % 24.7 -- Ranged ATT Cap 150 -- Demon Killer ...
gpl-3.0
b03605079/darkstar
scripts/zones/Northern_San_dOria/npcs/HomePoint#2.lua
12
1261
----------------------------------- -- Area: Northern San dOria -- NPC: HomePoint#2 -- @pos 10 -0.2 95 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Northern_San_dOria/TextIDs"); require(...
gpl-3.0
cosmy1/Urho3D
Source/ThirdParty/LuaJIT/dynasm/dasm_arm.lua
33
34598
------------------------------------------------------------------------------ -- DynASM ARM module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _in...
mit
Aquanim/Zero-K
units/chickend.lua
2
3778
return { chickend = { unitname = [[chickend]], name = [[Chicken Tube]], description = [[Defence and energy source]], activateWhenBuilt = true, buildCostEnergy = 0, buildCostMetal = 0, builder ...
gpl-2.0