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
zjohn4/PD2-lua-src
lib/levels/sandboxlevel.lua
1
1104
SandboxLevel = SandboxLevel or class() --[[ These can be used in a level script: function SandboxLevel:init() end ]] function SandboxLevel:post_init() self._ctrlr_debug = Input:create_virtual_controller() if Input:keyboard():has_button( "right shift" ) then local connection_name = "Debug spawn dummy" self._ctrlr...
gpl-2.0
GoogleFrog/Zero-K
effects/wolverine.lua
25
3109
-- wolvflash -- wolvmuzzle1 -- wolvmuzzle0 return { ["wolvflash"] = { groundflash = { circlealpha = 1, circlegrowth = 0, flashalpha = 0.9, flashsize = 60, ttl = 8, color = { [1] = 1, [2] = 0.5, [3] = 0, ...
gpl-2.0
AlphaStaxLLC/rackspace-monitoring-agent
protocol/virgo_messages.lua
4
4327
local msg = require('virgo/protocol/messages') local sigar = require('sigar') --[[ Manifest.get ]]-- local Manifest = msg.Request:extend() function Manifest:initialize() msg.Request.initialize(self) self.method = 'check_schedule.get' end function Manifest:serialize(msgId) self.params.blah = 1 return msg.Reque...
apache-2.0
zjohn4/PD2-lua-src
lib/units/weapons/weaponflashlight.lua
1
2959
WeaponFlashLight = WeaponFlashLight or class( WeaponGadgetBase ) function WeaponFlashLight:init( unit ) WeaponFlashLight.super.init( self, unit ) self._on_event = "gadget_flashlight_on" self._off_event = "gadget_flashlight_off" local obj = self._unit:get_object( Idstring( "a_flashlight" ) ) local is_haunted...
gpl-2.0
Invertika/data
scripts/maps/ow-n0003-n0006-o0000.lua
1
1399
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/ow-n0017-n0008-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
GoogleFrog/Zero-K
LuaRules/Gadgets/game_disable_take.lua
7
1601
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
pagodabox/tag
deps/lmmdb/init.lua
2
12514
-- -*- mode: lua; tab-width: 2; indent-tabs-mode: 1; st-rulers: [70] -*- -- vim: ts=4 sw=4 ft=lua noet --------------------------------------------------------------------- -- @author Daniel Barney <daniel@pagodabox.com> -- @copyright 2014, Pagoda Box, Inc. -- @doc -- -- @end -- Created : 6 Feb 2015 by Daniel Barney ...
mit
FrostbittenKing/awesome-wm-config
freedesktop/utils.lua
1
8923
-- -*- lua-indent-level: 4; indent-tabs-mode: nil -*- -- Grab environment local io = io local os = os local table = table local type = type local ipairs = ipairs local pairs = pairs local dirs = require("freedesktop.dirs") module("freedesktop.utils") terminal = 'xterm' icon_theme = nil all_icon_sizes = { '128x...
gpl-3.0
Invertika/data
scripts/maps/ow-n0015-n0011-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
jcai1/WowCoding
archived/arcane-blast-bar/wa.d.actions.init.custom.lua
1
2165
local A, t = aura_env, GetTime() local F = WeakAuras.regions[A.id].region --- SET OPTIONS HERE --- A.timeScale = 5 A.font = "Interface\\AddOns\\WeakAuras\\Media\\Fonts\\FiraMono-Medium.ttf" A.fontSize = 14 A.fontFlags = "OUTLINE" A.fps = 45 --- END OPTIONS --- A.t = -math.huge A.dt = 1 / A.fps F.BG = F.BG or F:Creat...
mit
Invertika/data
scripts/maps/ow-n0002-n0018-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/ow-p0001-p0017-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
dvdvideo1234/wire
lua/entities/gmod_wire_expression2/core/custom/effects.lua
2
4944
E2Lib.RegisterExtension("effects", false, "Allows E2s to play arbitrary effects.") local wire_expression2_effect_burst_max = CreateConVar( "wire_expression2_effect_burst_max", 4, {FCVAR_ARCHIVE} ) local wire_expression2_effect_burst_rate = CreateConVar( "wire_expression2_effect_burst_rate", 0.1, {FCVAR_ARCHIVE} ) -- ...
apache-2.0
teleofis/OpenWRT
feeds/luci/build/luadoc/luadoc/taglet/standard/tags.lua
46
5543
------------------------------------------------------------------------------- -- Handlers for several tags -- @release $Id: tags.lua,v 1.8 2007/09/05 12:39:09 tomas Exp $ ------------------------------------------------------------------------------- local luadoc = require "luadoc" local util = require "luadoc.util"...
gpl-2.0
Invertika/data
scripts/maps/ow-o0000-n0013-o0000.lua
1
1403
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/ow-p0004-n0007-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
mendsley/premake-core
modules/d/tests/test_gmake.lua
3
3573
--- -- d/tests/test_gmake.lua -- Automated test suite for gmake project generation. -- Copyright (c) 2011-2015 Manu Evans and the Premake project --- local suite = test.declare("d_make") local p = premake local m = p.modules.d local make = p.make local project = p.project --------------------------------------...
bsd-3-clause
Invertika/data
scripts/maps/ow-n0009-n0007-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
dvdvideo1234/wire
lua/entities/gmod_wire_egp/lib/objects/polyoutline.lua
6
1171
-- Author: sk8 (& Divran) local Obj = EGP:NewObject( "PolyOutline" ) Obj.w = nil Obj.h = nil Obj.x = nil Obj.y = nil Obj.vertices = {} Obj.verticesindex = "vertices" Obj.size = 1 Obj.Draw = function( self ) local n = #self.vertices if (self.a>0 and n>0 and self.size>0) then surface.SetDrawColor( self.r, self.g, sel...
apache-2.0
GoogleFrog/Zero-K
units/thicket.lua
8
2609
unitDef = { unitname = [[thicket]], name = [[Thicket]], description = [[Barricade]], acceleration = 0, brakeRate = 0, buildCostEnergy = 0, buildCostMetal = 0, builder ...
gpl-2.0
xDShot/csgo_knives_sweps
lua/weapons/csgo_m9_gamma_doppler.lua
1
2426
if not file.Exists( "weapons/csgo_baseknife.lua", "LUA" ) then SWEP.Spawnable = false print( "csgo_m9_gamma_doppler failed to initialize: csgo_baseknife.lua not found. Did you install the main part?" ) return end local TTT = ( GAMEMODE_NAME == "terrortown" or cvars.Bool("csgo_knives_force_ttt", false) ) DEFINE_...
mit
Reda9991/DevRode
plugins/ar-he2.lua
2
3667
do local function run(msg, matches) local reply_id = msg['id'] if is_momod(msg) and matches[1] == 'م2' then local ghost = [[ 📈أّوٌأّمًر أّدٍأّرةّ أّلَمًجّـمًوٌعٌةّ 📉 🎌✨🎌✨🎌✨🎌✨ 💢مًعٌلَوٌمًأّتٌـيِّ : لَعٌرضًـ مًعٌلَوٌمًأّتٌـکْ | 📃 💢مًعٌلَوٌمًأّتٌـ أّلَمًجّـمًوٌعٌةّ : مًعٌلَوٌمًأّتٌـ الکْروٌبً | 💬 💢أّل...
gpl-2.0
mendsley/premake-core
modules/d/actions/gmake.lua
2
9841
-- -- d/actions/gmake.lua -- Define the D makefile action(s). -- Copyright (c) 2013-2015 Andrew Gough, Manu Evans, and the Premake project -- local p = premake local m = p.modules.d m.make = {} local dmake = m.make require ("gmake") local make = p.make local cpp = p.make.cpp local project = p.project loca...
bsd-3-clause
locou/Zona-Pellucida
lua/consumables/cards/dark_factory.lua
1
1722
local dark_factory = {} local game = Game() local DarkFactory = { ID = Isaac.GetCardIdByName("08_DarkFactory") } table.insert(locou.Items.Cards.Yugi, DarkFactory) local cur_floor = LevelStage.STAGE_NULL local temp = {} function dark_factory:Init() local level = game:GetLevel() local cur_floor = level:GetAbsol...
gpl-3.0
dvdvideo1234/wire
lua/entities/gmod_wire_gyroscope.lua
7
2542
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() BaseClass.Think(self) i...
apache-2.0
Invertika/data
scripts/maps/ow-n0017-n0009-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/libs/secrets.lua
1
3568
---------------------------------------------------------------------------------- -- Secrets-Modul - Funktionen fuer Geheimnisse -- -- -- -- Dieses Modul stellt Grundfunktionen für Geheimnisse (hinter Geheimgä...
gpl-3.0
Invertika/data
scripts/maps/ow-n0018-p0005-o0000.lua
1
1401
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/ow-p0017-p0023-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
GoogleFrog/Zero-K
LuaUI/Widgets/gui_attrition_counter.lua
1
4076
local version = 1.001 function widget:GetInfo() return { name = "1v1 Attrition Scoreboard", desc = "Shows a counter that keeps track of units you lost and killed (only for 1v1)", author = "Anarchid", date = "Dec 2012", license = "GPL", layer = -10, enabled = false...
gpl-2.0
ironman2702/BolScripts
ViktorMechanics.lua
19
24132
--[[ _____ _____ __ .__ / \_______ / _ \________/ |_|__| ____ __ __ ____ ____ / \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \ / Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> ) \____|__ /__| \___...
gpl-2.0
dkogan/sysdig
userspace/sysdig/chisels/iobytes.lua
2
1666
--[[ Copyright (C) 2013-2014 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
ozgekaramanb/google-diff-match-patch
lua/diff_match_patch.lua
265
73869
--[[ * Diff Match and Patch * * Copyright 2006 Google Inc. * http://code.google.com/p/google-diff-match-patch/ * * Based on the JavaScript implementation by Neil Fraser. * Ported to Lua by Duncan Cross. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
apache-2.0
GoogleFrog/Zero-K
LuaUI/Widgets/chili_new/controls/button.lua
18
1390
--//============================================================================= --- Button module --- Button fields. -- Inherits from Control. -- @see control.Control -- @table Button -- @string[opt="button"] caption caption to be displayed Button = Control:Inherit{ classname= "button", caption = 'button', ...
gpl-2.0
strukturag/vlc
share/lua/playlist/pluzz.lua
105
3740
--[[ $Id$ Copyright © 2011 VideoLAN Authors: Ludovic Fauvet <etix at l0cal dot 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 l...
gpl-2.0
stephen322/prosody-modules
mod_couchdb/couchdb/couchapi.lib.lua
32
2213
local setmetatable = setmetatable; local pcall = pcall; local type = type; local t_concat = table.concat; local print = print; local socket_url = require "socket.url"; local http = require "socket.http"; local ltn12 = require "ltn12"; --local json = require "json"; local json = module:require("couchdb/js...
mit
Meoo/premake-core
tests/api/test_boolean_kind.lua
5
1298
-- -- tests/api/test_boolean_kind.lua -- Tests the boolean API value type. -- Copyright (c) 2014 Jason Perkins and the Premake project -- local suite = test.declare("api_boolean_kind") local api = premake.api -- -- Setup and teardown -- function suite.setup() api.register { name = "testapi", kind = "bool...
bsd-3-clause
mendsley/premake-core
tests/project/test_location.lua
32
1123
-- -- tests/project/test_location.lua -- Test handling of the projects's location field. -- Copyright (c) 2013 Jason Perkins and the Premake project -- local suite = test.declare("project_location") -- -- Setup and teardown -- local wks, prj function suite.setup() wks = test.createWorkspace() end local fun...
bsd-3-clause
splay-project/splay
src/osx-installer/PKG_PAYLOAD/SPLAY/lualibs/splay/queue.lua
2
1412
--[[ Splay ### v1.3 ### Copyright 2006-2011 http://www.splay-project.org ]] --[[ This file is part of Splay. Splay 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 L...
gpl-3.0
zjohn4/PD2-lua-src
lib/managers/mission/elementareatrigger.lua
1
4310
core:import( "CoreElementArea" ) core:import( "CoreClass" ) ElementAreaTrigger = ElementAreaTrigger or class( CoreElementArea.ElementAreaTrigger ) function ElementAreaTrigger:init( ... ) ElementAreaTrigger.super.init( self, ... ) end function ElementAreaTrigger:project_instigators() local instigators = {} -- Cl...
gpl-2.0
dvdvideo1234/wire
lua/entities/gmod_wire_value.lua
6
4844
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Value" ENT.WireDebugName = "Value" if CLIENT then return end -- No more client function ENT:Initialize() self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_VPHYSICS ) self:SetSolid( SOLID_VPHYSICS ) self.Outputs = WireLi...
apache-2.0
Invertika/data
scripts/maps/ow-p0008-p0017-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
zjohn4/PD2-lua-src
lib/tweak_data/timespeedeffecttweakdata.lua
1
1495
TimeSpeedEffectTweakData = TimeSpeedEffectTweakData or class() function TimeSpeedEffectTweakData:init() self:_init_base_effects() self:_init_mission_effects() end -------------------------------------------------------------------------------------- function TimeSpeedEffectTweakData:_init_base_effects() self.mask...
gpl-2.0
teleofis/OpenWRT
feeds/luci/modules/luci-base/luasrc/model/uci.lua
49
4995
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local os = require "os" local uci = require "uci" local util = require "luci.util" local table = require "table" local setmetatable, rawget, rawset = setmetatable, rawget, rawset local require, getmetata...
gpl-2.0
Invertika/data
scripts/maps/ow-p0016-p0015-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Meoo/premake-core
tests/base/test_table.lua
18
1436
-- -- tests/base/test_table.lua -- Automated test suite for the new table functions. -- Copyright (c) 2008-2013 Jason Perkins and the Premake project -- local suite = test.declare("table") local t -- -- table.contains() tests -- function suite.contains_OnContained() t = { "one", "two", "three" } test.istru...
bsd-3-clause
dvdvideo1234/wire
lua/wire/client/rendertarget_fix.lua
5
3673
WireLib.RTFix = {} local RTFix = WireLib.RTFix --------------------------------------------------------------------- -- RTFix Lib --------------------------------------------------------------------- RTFix.List = {} function RTFix:Add( ClassName, NiceName, Function ) RTFix.List[ClassName] = { NiceName, Function } en...
apache-2.0
GoogleFrog/Zero-K
LuaRules/Gadgets/unit_oremex.lua
1
30121
if (gadgetHandler:IsSyncedCode()) then local version = "1.0.6" function gadget:GetInfo() return { name = "Ore mexes!", desc = "Prespawn mex spots and make them spit ore. Version "..version, author = "Tom Fyuri", date = "Mar-Apr 2014", license = "GPL v2 or later", layer = -5, enabled = true ...
gpl-2.0
Invertika/data
scripts/maps/ow-p0003-n0007-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/ow-p0021-p0019-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
jordyvl/jordyvl.github.io
backup-dir/tests/test-door.lua
1
12598
-- Keypad system by Nemesismax -- Ver. 1.5 term.clear() term.setCursorPos(1,1) local sound = false -- toggle sound (noteblock detected on initilization) local m -- monitor local n -- noteblock local data = { outputSide = "right" , invert = false , -- Whether to invert the redstone output openTime = 5 , -- Time (in...
gpl-2.0
Invertika/data
scripts/maps/ow-p0025-p0024-o0000.lua
1
1401
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
sirdabalot/OCLOGAPI
logapi.lua
1
3908
local fs = require( "filesystem" ) local term = require( "term" ) --Container local logContainerMeta = { } logContainerMeta.__index = logContainerMeta function logContainer( inPath ) -- Creates a log container ( sort of a massive list for entries ). slc = { path = inPath, entries = { } } setmetatable( slc, l...
mit
chuenlungwang/skynet
lualib/sharemap.lua
78
1496
local stm = require "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() if ...
mit
Invertika/data
scripts/maps/ow-n0006-p0021-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
teleofis/OpenWRT
feeds/packages/utils/luci-app-lxc/files/controller/lxc.lua
77
2909
--[[ LuCI LXC module Copyright (C) 2014, Cisco Systems, 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 Author: Petar Koretic <petar.koretic@sart...
gpl-2.0
Invertika/data
scripts/maps/ow-n0015-p0017-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
GoogleFrog/Zero-K
units/fighter.lua
3
9210
unitDef = { unitname = [[fighter]], name = [[Swift]], description = [[Multi-role Stealth Fighter]], amphibious = true, buildCostEnergy = 150, buildCostMetal = 150, buildPic = [[fighter.png]], buildTime = 150...
gpl-2.0
zjohn4/PD2-lua-src
lib/states/ingamemimicstate.lua
1
2112
require "lib/states/GameState" IngameMimicInteractionState = IngameMimicInteractionState or class( GameState ) function IngameMimicInteractionState:init( game_state_machine ) GameState.init( self, "ingame_mimic_interaction", game_state_machine ) self._ws = Overlay:newgui():create_screen_workspace() self._panel = ...
gpl-2.0
ls-/oUF
elements/grouproleindicator.lua
7
2704
--[[ # Element: Group Role Indicator Toggles the visibility of an indicator based on the unit's current group role (tank, healer or damager). ## Widget GroupRoleIndicator - A `Texture` used to display the group role icon. ## Notes A default texture will be applied if the widget is a Texture and doesn't have a text...
mit
thebenign/IronStar
include/physics/collidoscope.lua
1
2399
--== collidoscope ==-- --[[Collidoscope is a full collision detection system. As such, it does not resolve collisions, just reports when they occur. Collidoscope uses a simple spatial hash table to break the world into a grid. Every object gets indexed based on its coordinates. When I programmed this, only god...
agpl-3.0
Invertika/data
scripts/maps/ow-n0024-p0013-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/ow-n0004-n0007-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
ls-/oUF
elements/combatindicator.lua
6
2401
--[[ # Element: Combat Indicator Toggles the visibility of an indicator based on the player's combat status. ## Widget CombatIndicator - Any UI widget. ## Notes A default texture will be applied if the widget is a Texture and doesn't have a texture or a color set. ## Examples -- Position and size local C...
mit
Invertika/data
scripts/maps/ow-p0005-p0017-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
trink/lua-cjson
lua/cjson/util.lua
170
6837
local json = require "cjson" -- Various common routines used by the Lua CJSON package -- -- Mark Pulford <mark@kyne.com.au> -- Determine with a Lua table can be treated as an array. -- Explicitly returns "not an array" for very sparse arrays. -- Returns: -- -1 Not an array -- 0 Empty table -- >0 Highest index ...
mit
GoogleFrog/Zero-K
LuaRules/Gadgets/lups_nano_spray.lua
4
12935
-- $Id: lups_nano_spray.lua 3171 2008-11-06 09:06:29Z det $ ------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "LupsNanoSpray", desc = "...
gpl-2.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n45.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n36.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n62.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n30.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n07.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n10.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n68.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n69.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-nelaro-house17-o00-o00-o00.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n100.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n23.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n27.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n84.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/iw-ancestral-cave-o00-o00-n90.lua
116
1302
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
Invertika/data
scripts/maps/ow-p0001-n0007-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
GoogleFrog/Zero-K
units/roostfac.lua
6
3153
unitDef = { unitname = [[roostfac]], name = [[Roost]], description = [[Spawns Big Chickens]], acceleration = 0, bmcode = [[0]], brakeRate = 0, buildAngle = 4096, ...
gpl-2.0
mendsley/premake-core
modules/vstudio/tests/cs2005/test_build_events.lua
2
2028
-- -- tests/actions/vstudio/cs2005/test_build_events.lua -- Check generation of pre- and post-build commands for C# projects. -- Copyright (c) 2012-2013 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_cs2005_build_events") local cs2005 = p.vstudio.cs2005 -- -- Setup ...
bsd-3-clause
zjohn4/PD2-lua-src
core/lib/setups/coreloadingsetup.lua
1
2907
--[[ C o r e L o a d i n g S e t u p ------------------------------- CoreLoadingSetup provides the basics hooks for the loading environment (which is executed on a separate thread with separate Lua memory). The loading environment is meant to be lightweight so the full CoreSystem is not required. Instead there is a s...
gpl-2.0
mendsley/premake-core
modules/vstudio/vs2010_vcxproj_user.lua
1
3122
-- -- vs2010_vcxproj_user.lua -- Generate a Visual Studio 201x C/C++ project .user file -- Copyright (c) 2011-2015 Jason Perkins and the Premake project -- local p = premake local m = p.vstudio.vc2010 -- -- Generate a Visual Studio 201x C++ user file. -- m.elements.user = function(cfg) return { m.debugSetti...
bsd-3-clause
GoogleFrog/Zero-K
LuaUI/Widgets/chili/Controls/font.lua
17
6639
--//============================================================================= Font = Object:Inherit{ classname = 'font', font = "FreeSansBold.otf", size = 12, outlineWidth = 3, outlineWeight = 3, shadow = false, outline = false, color = {1,1,1,1}, out...
gpl-2.0
mendsley/premake-core
src/_manifest.lua
9
1390
-- -- _manifest.lua -- Manage the list of built-in Premake scripts. -- Copyright (c) 2002-2015 Jason Perkins and the Premake project -- -- The master list of built-in scripts. Order is important! If you want to -- build a new script into Premake, add it to this list. return { -- core files "base/_foundation.lua...
bsd-3-clause
Invertika/data
scripts/crafting.lua
1
2942
--[[ This file provides an example of a simple crafting system. --]] -- a primitive example crafting system which cares about item order and exact amount local function craft_strict(ch, recipe) if (recipe[1].id == 8 and recipe[1].amount == 2 and -- has two iron recipe[2].id == 9 and recipe[2].amount == ...
gpl-3.0
mendsley/premake-core
src/base/workspace.lua
9
4118
--- -- workspace.lua -- Work with the list of workspaces loaded from the script. -- Copyright (c) 2002-2015 Jason Perkins and the Premake project --- local p = premake p.workspace = p.api.container("workspace", p.global) local workspace = p.workspace --- -- Switch this container's name from "solution" to "worksp...
bsd-3-clause
Invertika/data
scripts/maps/ow-p0018-p0006-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
TITANBOT/RT
plugins/stats.lua
236
3989
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
GoogleFrog/Zero-K
units/armsonar.lua
2
2809
unitDef = { unitname = [[armsonar]], name = [[Sonar Station]], description = [[Locates Water Units]], activateWhenBuilt = true, buildCostEnergy = 450, buildCostMetal = 450, builder = false, buildPic = [[ARMSONAR.png]], buildTime = 450, canA...
gpl-2.0
jpetrie/quip
Projects/Quip/Runtime/syntax/rust.lua
1
1272
local L = require("lpeg") local S = require("syntax") local preprocessor_directive = S.token("Preprocessor", L.P("_") + L.P("abstract") + L.P("alignof") + L.P("become") + L.P("box") + L.P("break") + L.P("const") + L.P("continue") + L.P("crate") + L.P("do") + L.P("else") + L.P("enum") + L.P("e...
mit
teleofis/OpenWRT
feeds/luci/libs/luci-lib-nixio/docsrc/nixio.bit.lua
171
2044
--- Bitfield operators and mainpulation functions. -- Can be used as a drop-in replacement for bitlib. module "nixio.bit" --- Bitwise OR several numbers. -- @class function -- @name bor -- @param oper1 First Operand -- @param oper2 Second Operand -- @param ... More Operands -- @return number --- Invert given number. ...
gpl-2.0
SaranNV/canvas-lms
lib/canvas/request_throttle/increment_bucket.lua
43
1169
local cache_key = KEYS[1] local amount = tonumber(ARGV[1]) local current_time = tonumber(ARGV[2]) local outflow = tonumber(ARGV[3]) local maximum = tonumber(ARGV[4]) -- Our modified leaky bucket algorithm is explained in lib/canvas/request_throttle.rb local leak = function(count, last_touched, current_time, outflow) ...
agpl-3.0
bjtaylor1/Project-OSRM-Old
luas/tourist.lua
1
7226
-- Begin of globals require("lib/access") barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true, ["entrance"] = true} access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = tru...
bsd-2-clause
Invertika/data
scripts/maps/ow-p0008-p0003-o0000.lua
1
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
dvdvideo1234/wire
lua/wire/stools/plug.lua
6
5825
WireToolSetup.setCategory( "Input, Output/Data Transfer" ) WireToolSetup.open( "plug", "Plug", "gmod_wire_socket", nil, "Plugs" ) if (SERVER) then CreateConVar("sbox_maxwire_plugs",20) CreateConVar("sbox_maxwire_sockets",20) else language.Add( "Tool.wire_plug.name", "Plug & Socket Tool (Wire)" ) language.Add( "T...
apache-2.0