repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
shingenko/darkstar
scripts/globals/spells/paralyga.lua
18
1691
----------------------------------------- -- Spell: Paralyze -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpell...
gpl-3.0
openwayne/chaos_theory
mods/bucket/init.lua
13
6150
-- Minetest 0.4 mod: bucket -- See README.txt for licensing and other information. minetest.register_alias("bucket", "bucket:bucket_empty") minetest.register_alias("bucket_water", "bucket:bucket_water") minetest.register_alias("bucket_lava", "bucket:bucket_lava") minetest.register_craft({ output = 'bucket:bucket_emp...
lgpl-2.1
shingenko/darkstar
scripts/zones/Kazham/npcs/Khifo_Ryuhkowa.lua
37
1500
----------------------------------- -- Area: Kazham -- NPC: Khifo Ryuhkowa -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTr...
gpl-3.0
sshadowart/oxscripts
src/000-environment.lua
2
6512
local print = print local pairs = pairs local ipairs = ipairs local setfenv = setfenv local tonumber = tonumber local tostring = tostring local assert = assert local type = type local collectgarbage = collectgarbage local unpack = unpack local pcall = pcall local next = next local pnext = function(t, i) return pcall(fu...
gpl-2.0
shingenko/darkstar
scripts/zones/Southern_San_dOria/npcs/Tek_Lengyon.lua
53
1848
----------------------------------- -- Area: Southern San d'Oria -- NPC: Tek Lengyon -- Type: Leathercraft Synthesis Image Support -- @pos -190.120 -2.999 2.770 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("script...
gpl-3.0
openwayne/chaos_theory
mods/thirsty/hud.lua
2
2687
--[[ HUD definitions for Thirsty Optionally from one of the supported mods Any hud needs to define the following functions: - thirsty.hud_init(player) Initialize the HUD for a new player. - thirsty.hud_update(player, value) Display the new value "value" for the given player. "value" is a floating point numbe...
lgpl-2.1
openwayne/chaos_theory
mods/mobf_core/mobf_settings/fstk/dialog.lua
3
2246
--Minetest --Copyright (C) 2014 sapier -- --self 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 2.1 of the License, or --(at your option) any later version. -- --self program is ...
lgpl-2.1
shingenko/darkstar
scripts/globals/items/fruit_parfait.lua
34
1571
----------------------------------------- -- ID: 6063 -- Item: fruit_parfait -- Food Effect: 180 Min, All Races ----------------------------------------- -- MP+5% (Upper limit 50) -- INT+3 -- MND+2 -- CHR+1 -- STR-3 -- MAB+6 ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
jyggen/lua-parser
tests/Fixtures/cd/af/36/e5a3e4f32e395d735917bf6b4692db3af2dbd56114ee6506049bd9342b.lua
1
12109
Blizzard_CombatLog_Filters = { ["currentFilter"] = 1, ["filters"] = { { ["quickButtonName"] = "My actions", ["onQuickBar"] = true, ["quickButtonDisplay"] = { ["party"] = true, ["solo"] = true, ["raid"] = true, }, ["tooltip"] = "Show messages of actions done by you.", ["na...
mit
shingenko/darkstar
scripts/globals/spells/mages_ballad.lua
31
1183
----------------------------------------- -- Spell: Mage's Ballad -- Gradually restores target's MP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(...
gpl-3.0
Kaushikpatnaik/LSTM-Encoder-for-Driver-Telematics
lstm_utils.lua
1
5922
--[[ This file contains functions for extending the LSTM class to multiple time steps, and also to compress the parameters of LSTM to single 1D-tensor This code was originally based on Oxford University Machine Learning class [practical 6](https://github.com/oxford-cs-ml-2015/practical6). The 1D -Tensor makes it eas...
mit
openwayne/chaos_theory
mods/lrfurn/init.lua
1
2013
lrfurn = {} screwdriver = screwdriver or {} lrfurn.fdir_to_right = { { 1, 0 }, { 0, -1 }, { -1, 0 }, { 0, 1 }, } lrfurn.colors = { "black", "brown", "blue", "cyan", "dark_grey", "dark_green", "green", "grey", "magenta", "orange", "pink", "red", "violet", "white", "yellow", } function lrfurn...
lgpl-2.1
wagonrepairer/Zero-K
LuaRules/Gadgets/chicken_control.lua
17
4829
function gadget:GetInfo() return { name = "Chicken control", desc = "v0.004 Silly mode to allow players play as chickens a bit...", author = "Tom Fyuri", date = "Apr 2013", license = "GPL v2 or later", layer = 11, enabled = true } end --[[ how should it work? ch...
gpl-2.0
fir3element/downgrade
data/actions/scripts/other/bed_modification_kits.lua
16
1607
local BEDS = { [7904] = {{7811, 7812}, {7813, 7814}}, -- green kit [7905] = {{7819, 7820}, {7821, 7822}}, -- yellow kit [7906] = {{7815, 7816}, {7817, 7818}}, -- red kit [7907] = {{1754, 1755}, {1760, 1761}}, -- removal kit [20252] = {{20197, 20198}, {20199, 20200}} -- canopy kit } local function internalBedTran...
gpl-2.0
ArcherSys/ArcherSys
Lua/examples/iup/misc/iupxpplot.lua
4
1732
require 'iuplua' require "iuplua_pplot" iupxpplot = {} function iupxpplot.pplot (tbl) if tbl.AXS_BOUNDS then local t = tbl.AXS_BOUNDS tbl.AXS_XMIN = t[1] tbl.AXS_YMIN = t[2] tbl.AXS_XMAX = t[3] tbl.AXS_YMAX = t[4] end -- the defaults for these values are too small, at least on my system! if not ...
mit
centreon/centreon-broker
simu/docker/lua/neb/service_dependency.lua
1
2344
local data = { parent = {}, count = 0, } local function build(host_id, service_id, host_dep_id, service_dep_id) local retval = { category = 1, element = 20, _type = 65556, dependency_period = "24/24", dependent_host_id = host_dep_id, dependent_service_id = service_dep_id, host_id = ho...
apache-2.0
ahmedjabbar1/TeamTop
plugins/anti_spam.lua
417
3978
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
agpl-3.0
amirhossein99/PSbot
plugins/anti_spam.lua
417
3978
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
telegrambot81/kingbot-sup
plugins/anti_spam.lua
417
3978
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
Illarion-eV/Illarion-Content
monster/race_30_golem/id_305_silver_golem.lua
3
1028
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero 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 that it wi...
agpl-3.0
shingenko/darkstar
scripts/zones/Port_Jeuno/npcs/Zedduva.lua
17
1370
----------------------------------- -- Area: Port Jeuno -- NPC: Zedduva -- @zone 246 -- @pos -61 7 -54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ...
gpl-3.0
wagonrepairer/Zero-K
units/shipcon.lua
7
4620
unitDef = { unitname = [[shipcon]], name = [[Mariner]], description = [[Construction Ship, Builds at 7.5 m/s]], acceleration = 0.051375, brakeRate = 0.061, buildCostEnergy = 200, buildCostMetal = 200, buildDistance ...
gpl-2.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/tests/test-sip.lua
13
2541
sip = require 'pl.sip' tablex = require 'pl.tablex' utils = require 'pl.utils' local function dump(t) if not t or type(t) ~= 'table' then print '<nada>'; return end for k,v in pairs(t) do print(k,v,type(v)) end end function check(pat,line,tbl) local parms = {} if type(pat) == 'string' then p...
lgpl-3.0
openwayne/chaos_theory
mods/pipeworks/autoplace_pipes.lua
1
5866
-- get the axis dir (just 6 faces) of target node, assumes the pipe is the axis function pipeworks.get_axis_dir(nodetable, pattern) local pxm,pxp,pym,pyp,pzm,pzp if string.find(nodetable.nxm.name, pattern) and minetest.facedir_to_dir(nodetable.nxm.param2).x ~= 0 then pxm=1 end if string.find(nodetable.nxp....
lgpl-2.1
shingenko/darkstar
scripts/zones/Bastok_Markets/npcs/Sororo.lua
34
1837
----------------------------------- -- Area: Bastok Markets -- NPC: Sororo -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("...
gpl-3.0
shingenko/darkstar
scripts/zones/Dynamis-Valkurm/mobs/Goblin_Replica.lua
12
2390
----------------------------------- -- Area: Dynamis Valkurm -- NPC: Goblin Replica ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Valkurm/TextIDs"); ...
gpl-3.0
openwayne/chaos_theory
mods/technic/technic/machines/MV/wind_mill.lua
3
2904
local S = technic.getter minetest.register_craft({ output = 'technic:wind_mill_frame 5', recipe = { {'technic:carbon_steel_ingot', '', 'technic:carbon_steel_ingot'}, {'', 'technic:carbon_steel_ingot', ''}, {'technic:carbon_steel_ingot', '', ...
lgpl-2.1
shingenko/darkstar
scripts/zones/Ghelsba_Outpost/bcnms/save_the_children.lua
19
1966
----------------------------------- -- Area: Ghelsba Outpost -- Name: San d'Oria Mission 1-3 Save the children -- @pos -162 -11 78 140 ----------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scri...
gpl-3.0
shingenko/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cf.lua
34
1075
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cf (Gate of Wind) -- @pos -332 0 99 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextIDs")...
gpl-3.0
ld-test/dromozoa-commons
test/test_empty.lua
1
1375
-- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-commons. -- -- dromozoa-commons is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License...
gpl-3.0
wagonrepairer/Zero-K
units/assaultcruiser.lua
4
9363
unitDef = { unitname = [[assaultcruiser]], name = [[Vanquisher]], description = [[Heavy Cruiser (Assault)]], acceleration = 0.0768, activateWhenBuilt = true, brakeRate = 0.042, buildAngle = 16384, buildCostEnergy =...
gpl-2.0
xFleury/crawl-0.13.0-fairplay
source/dat/dlua/layout/hyper_paint.lua
1
12772
------------------------------------------------------------------------------ -- hyper_paint.lua: -- -- Functions for painting onto usage grids (for whole layouts and for -- smaller code rooms). -- -- TODO: Loads of this file is redundant with procedural primitives. Really -- we just need some sensible mappings of pro...
gpl-2.0
openwayne/chaos_theory
mods/trunks/generating.lua
3
21124
-- Code by Mossmanikin, Neuromancer, and others local function clone_node(name) local node2 = {} local node = minetest.registered_nodes[name] for k,v in pairs(node) do node2[k]=v end return node2 end ----------------------------------------------------------------------------------------------- -- TWiGS ------...
lgpl-2.1
Illarion-eV/Illarion-Content
quest/saren_eisenfaust_81_galmair.lua
1
4258
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero 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 that it wi...
agpl-3.0
shingenko/darkstar
scripts/globals/items/cherry_muffin_+1.lua
37
1331
----------------------------------------- -- ID: 5654 -- Item: Cherry Muffin -- Food Effect: 1Hr, All Races ----------------------------------------- -- Intelligence 2 -- MP % 10 (cap 85) -- Agility -1 ----------------------------------------- require("scripts/globals/status"); ---------------------------...
gpl-3.0
yogome/HeroesSaludables
scenes/game/shooter.lua
1
58032
----------------------------------------------- Shooter space game local director = require( "libs.helpers.director" ) local widget = require( "widget" ) local settings = require("settings") local buttonList = require( "data.buttonlist" ) local sound = require( "libs.helpers.sound" ) local perspective = require( ...
agpl-3.0
shingenko/darkstar
scripts/zones/Temple_of_Uggalepih/Zone.lua
20
1821
----------------------------------- -- -- Zone: Temple_of_Uggalepih (159) -- ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/...
gpl-3.0
shingenko/darkstar
scripts/globals/abilities/pets/aero_ii.lua
20
1157
--------------------------------------------------- -- Aero 2 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); ----------------------------------------------...
gpl-3.0
diz-vara/nn
SpatialFullConvolution.lua
3
7231
local THNN = require 'nn.THNN' local SpatialFullConvolution, parent = torch.class('nn.SpatialFullConvolution','nn.Module') function SpatialFullConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH, padW, padH, adjW, adjH) parent.__init(self) dW = dW or 1 dH = dH ...
bsd-3-clause
wagonrepairer/Zero-K
units/missiletower.lua
2
5843
unitDef = { unitname = [[missiletower]], name = [[Hacksaw]], description = [[Burst Anti-Air Turret]], buildAngle = 8192, buildCostEnergy = 220, buildCostMetal = 220, builder ...
gpl-2.0
YunoHost/moulinette-yunohost
data/templates/metronome/metronome.cfg.lua
2
5188
-- ** Metronome's config file example ** -- -- The format is exactly equal to Prosody's: -- -- Lists are written { "like", "this", "one" } -- Lists can also be of { 1, 2, 3 } numbers, etc. -- Either commas, or semi-colons; may be used as seperators. -- -- A table is a list of values, except each value has a name. An...
agpl-3.0
openwayne/chaos_theory
mods/moreblocks/stairsplus/stairs.lua
1
6821
--[[ More Blocks: stair definitions Copyright (c) 2011-2017 Hugo Locurcio and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] local S = moreblocks.intllib -- Node will be called <modname>:stair_<subname> function register_stair(modname, subname, recipeitem, groups, images, d...
lgpl-2.1
spaceraccoon/bilabot
test/LSTM_test.lua
17
7013
require 'torch' require 'nn' require 'LSTM' local gradcheck = require 'util.gradcheck' local tests = torch.TestSuite() local tester = torch.Tester() local function check_size(x, dims) tester:assert(x:dim() == #dims) for i, d in ipairs(dims) do tester:assert(x:size(i) == d) end end function tests.testFo...
mit
shingenko/darkstar
scripts/zones/RuAun_Gardens/mobs/Seiryu.lua
12
2274
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: Seiryu ----------------------------------- require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobIniti...
gpl-3.0
fingon/hnet-core
spec/dns_tree_spec.lua
1
1811
#!/usr/bin/env lua -- -*-lua-*- -- -- $Id: dns_tree_spec.lua $ -- -- Author: Markus Stenberg <markus stenberg@iki.fi> -- -- Copyright (c) 2013 cisco Systems, Inc. -- -- Created: Tue May 7 13:20:53 2013 mstenber -- Last modified: Tue May 7 13:44:45 2013 mstenber -- Edit time: 9 min -- require 'busted' requi...
gpl-2.0
openwayne/chaos_theory
mods/technic/technic/machines/LV/cnc_nodes.lua
4
2936
-- REGISTER MATERIALS AND PROPERTIES FOR NONCUBIC ELEMENTS: ----------------------------------------------------------- local S = technic.getter -- DIRT ------- technic.cnc.register_all("default:dirt", {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1}, {"default...
lgpl-2.1
pjm0616/juchecraft
res_raw/game/object_data/objects/SCBuildingObject.lua
1
1093
--[[ * Copyright (C) 2010 Park Jeongmin <pjm0616@gmail.com> * This file is a part of JucheCraft. http://sigkill.kr/projects/juchecraft * * 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, ei...
gpl-3.0
shingenko/darkstar
scripts/zones/Mhaura/npcs/Bihoro-Guhoro.lua
17
1509
----------------------------------- -- Area: Mhaura -- NPC: Bihoro-Guhoro -- Involved in Quest: Riding on the Clouds -- @pos -28 -8 41 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requir...
gpl-3.0
fingon/hnet-core
dhcpv6_const.lua
1
1741
#!/usr/bin/env lua -- -*-lua-*- -- -- $Id: dhcpv6_const.lua $ -- -- Author: Markus Stenberg <markus stenberg@iki.fi> -- -- Copyright (c) 2013 cisco Systems, Inc. -- -- Created: Wed Feb 20 18:14:36 2013 mstenber -- Last modified: Mon Feb 25 14:37:28 2013 mstenber -- Edit time: 16 min -- module(...) -- RFC331...
gpl-2.0
shingenko/darkstar
scripts/zones/Windurst_Woods/npcs/HomePoint#1.lua
17
1263
----------------------------------- -- Area: Windurst Woods -- NPC: HomePoint#1 -- @pos -98.588 0.001 -183.416 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Woods/TextIDs"); require(...
gpl-3.0
vi/chdk-vi
CHDK/SCRIPTS/TEST/tstcallf.lua
7
3592
--[[ @title test native func interface @param a 0 = event only 1 = unsafe! @default a 0 --]] logfile,msg=io.open("A/TSTCALLF.LOG","wb") if not logfile then error(msg) end fail_count = 0 function log(status,fmt,...) local status_str if status then status_str=" OK\n" else status_str=" FAIL\n" fail_count = fail...
gpl-2.0
shingenko/darkstar
scripts/globals/spells/bluemagic/hysteric_barrage.lua
28
1763
----------------------------------------- -- Spell: Hysteric Barrage -- Delivers a fivefold attack. Damage varies with TP -- Spell cost: 61 MP -- Monster Type: Beastmen -- Spell Type: Physical (Hand-to-Hand) -- Blue Magic Points: 5 -- Stat Bonus: DEX+2, AGI+1 -- Level: 69 -- Casting Time: 0.5 seconds -- Recas...
gpl-3.0
nakrakiiya/luadocumentor
docgenerator.lua
4
2885
-------------------------------------------------------------------------------- -- Copyright (c) 2012 Sierra Wireless. -- All rights reserved. This program and the accompanying materials -- are made available under the terms of the Eclipse Public License v1.0 -- which accompanies this distribution, and is availabl...
epl-1.0
shingenko/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Rakh_Mhappyoh.lua
38
1051
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Rakh Mhappyoh -- Type: Standard NPC -- @zone: 94 -- @pos -55.989 -4.5 48.365 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil...
gpl-3.0
wagonrepairer/Zero-K
LuaUI/Widgets/gui_metal_features.lua
7
2915
-- $Id: gui_metal_features.lua 3171 2008-11-06 09:06:29Z det $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- file: gui_metal_features.lua -- brief: highlights features with metal in metal-map...
gpl-2.0
shingenko/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/mobs/Eo_ghrah.lua
20
2835
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- MOB: Eo'ghrah ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- OnMobSpawn Action -- Set core Skin and mob elemental resist/weakness; other elements set to 0. -- Set to non aggro. ------...
gpl-3.0
shingenko/darkstar
scripts/zones/Windurst_Waters/npcs/Mashuu-Ajuu.lua
36
5629
----------------------------------- -- Area: Windurst Waters -- NPC: Mashuu-Ajuu -- Starts and Finished Quest: Reap What You Sow -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 129 -6 167 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/Text...
gpl-3.0
shingenko/darkstar
scripts/zones/Windurst_Waters/npcs/Kenapa-Keppa.lua
12
11988
----------------------------------- -- Area: Windurst Waters -- NPC: Kenapa Keppa -- Involved in Quest: Food For Thought, Hat in Hand -- Working 100% -- @zone = 238 -- @pos = 27 -6 -199 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("script...
gpl-3.0
changjiashuai/vlc
share/lua/sd/icast.lua
81
4264
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Julien 'Lta' BALLET <contact at lta dot io> 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
wagonrepairer/Zero-K
lups/ParticleClasses/StaticParticles.lua
10
10887
-- $Id: StaticParticles.lua 3345 2008-12-02 00:03:50Z jk $ ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- local StaticParticles = {} Stati...
gpl-2.0
openwayne/chaos_theory
mods/cme/creatures/functions.lua
1
20222
--= Creatures MOB-Engine (cme) =-- -- Copyright (c) 2015-2016 BlockMen <blockmen2015@gmail.com> -- -- functions.lua -- -- This software is provided 'as-is', without any express or implied warranty. In no -- event will the authors be held liable for any damages arising from the use of -- this software. -- -- Pe...
lgpl-2.1
LuaAV/LuaAV4
modules/Window.lua
1
10076
--- A desktop window with an OpenGL context -- @module Window --[[ TODO: fullscreen clearcolor dim / origin (as vec2?) cursor, cursorstyle fps mousemove stereo (set)title other glfw hints http://www.glfw.org/docs/latest/window.html#window_hints monitor management joysticks glfwExtensionSupported glfwGetProcAddre...
mit
AleksCore/Mr.Green-MTA-Resources
resources/[gameplay]/mrgreen-settings/c_water.lua
4
1509
-- -- c_water.lua -- local myShader function createWaterShader(load) if load then -- Version check local ver = getVersion ().sortable local type = string.sub( ver, 7, 7 ) local build = string.sub( ver, 9, 13 ) if build < "02866" and type ~= "1" or ver < "1.1.0" then outputChatBox( "Resource is not compa...
mit
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/wsapi/doc/us/makedoc.lua
1
2905
local cosmo = require "cosmo" require "markdown" local pages = { { name = "Home", file = "index", sections = {} }, { name = "Manual", file = "manual", sections = {} }, { name = "Libraries", file = "libraries", sections = {} }, { name = "License", file = "license", sections = {} } } local project = {...
lgpl-3.0
AleksCore/Mr.Green-MTA-Resources
resources/[gameplay]/messages/client_anim.lua
9
14419
--[[ Client animation library by arc_ Version 1.0.0 Licence ---------------- You are free to modify this file and redistribute it with your changes. However, always mention that you changed it (and eventually what changes you made) and keep the original author, version number and licen...
mit
azukiapp/lua-zmq
src/socket.nobj.lua
1
21880
-- Copyright (c) 2011 by Robert G. Jakabosky <bobby@sharedrealm.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to u...
mit
apaszke/nn
SpatialConvolution.lua
9
4432
local THNN = require 'nn.THNN' local SpatialConvolution, parent = torch.class('nn.SpatialConvolution', 'nn.Module') function SpatialConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH, padW, padH) parent.__init(self) dW = dW or 1 dH = dH or 1 self.nInputPlane = nInputPlane self.nOutputPlane =...
bsd-3-clause
Kefta/GSWeapons
gs_weapons_css/lua/code_gs/weapons_css/weapons/weapon_m4a1.lua
1
1919
SWEP.Base = "weapon_csbase_rifle" SWEP.Spawnable = true SWEP.ViewModel = "models/weapons/v_rif_m4a1.mdl" SWEP.CModel = "models/weapons/cstrike/c_rif_m4a1.mdl" SWEP.WorldModel = "models/weapons/w_rif_m4a1.mdl" SWEP.SilencerModel = "models/weapons/w_rif_m4a1_silencer.mdl" SWEP.Sounds = { shoot = "Weapon_M4A1.Single",...
mit
shingenko/darkstar
scripts/zones/Al_Zahbi/npcs/Numaaf.lua
53
2294
----------------------------------- -- Area: Al Zahbi -- NPC: Numaaf -- Type: Cooking Normal/Adv. Image Support -- @pos 54.966 -7 8.328 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts...
gpl-3.0
shingenko/darkstar
scripts/zones/Selbina/npcs/Herminia.lua
34
1293
----------------------------------- -- Area: Selbina -- NPC: Herminia -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); ----------...
gpl-3.0
jyggen/lua-parser
tests/Fixtures/4a/51/91/281460b957e12369f3e2148a23222531439e044c6c272e9e4ba7dcc17a.lua
1
90454
Blizzard_Console_SavedVars = { ["version"] = 3, ["height"] = 300, ["messageHistory"] = { { "Physics interaction level changed to 2", -- [1] 0, -- [2] }, -- [1] { "Render scale changed to 1.8", -- [1] 0, -- [2] }, -- [2] { "Resample quality changed to 0", -- [1] 0, -- [2] ...
mit
lixiantai/barrier_breaker
feeds/luci/modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua
57
3205
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- lo...
gpl-2.0
shingenko/darkstar
scripts/commands/givexp.lua
27
1213
--------------------------------------------------------------------------------------------------- -- func: @givexp <amount> <player> -- desc: Gives the GM or target player experience points. --------------------------------------------------------------------------------------------------- cmdprops = { pe...
gpl-3.0
shingenko/darkstar
scripts/globals/spells/bluemagic/frost_breath.lua
18
2070
----------------------------------------- -- Spell: Frost Breath -- Deals ice damage to enemies within a fan-shaped area originating from the caster. Additional effect: Paralysis -- Spell cost: 136 MP -- Monster Type: Lizards -- Spell Type: Magical (Ice) -- Blue Magic Points: 3 -- Stat Bonus: INT-2 -- Level: 66...
gpl-3.0
benstaker/tg-scripts
_core/functions.lua
1
1137
--functions.lua local module = {} module.on = {} -- TODO: Document this function module.on.msg_receive = function (id) --print('"on_msg_receive()" empty handler...') end -- TODO: Document this function module.on.our_id = function (id) --print('"on_our_id()" empty handler...') end -- TODO: Document this funct...
mit
wagonrepairer/Zero-K
gamedata/modularcomms/weapons/massdriver.lua
11
1196
local name = "commweapon_massdriver" local weaponDef = { name = [[Mass Driver]], alphaDecay = 0.12, areaOfEffect = 32, avoidfeature = false, --cegTag = [[gauss_tag_l]], craterBoost = 0, craterMult = 0, customParams ...
gpl-2.0
apaszke/nn
CosineDistance.lua
19
2863
local CosineDistance, parent = torch.class('nn.CosineDistance', 'nn.Module') function CosineDistance:__init() parent.__init(self) self.gradInput = {torch.Tensor(), torch.Tensor()} end local function makeContiguous(self, input1, input2) if not input1:isContiguous() then self._input1 = self._input1 or i...
bsd-3-clause
psychon/awesome
tests/test-spawn.lua
2
12213
--- Tests for spawn local runner = require("_runner") local spawn = require("awful.spawn") local spawns_done = 0 local async_spawns_done = 0 local exit_yay, exit_snd = nil, nil -- * Using spawn with array is already covered by the test client. -- * spawn with startup notification is covered by test-spawn-snid.lua l...
gpl-2.0
wagonrepairer/Zero-K
LuaUI/Widgets/cmd_ferry_points.lua
6
17884
function widget:GetInfo() return { name = "Ferry Points", desc = "Allow the creation of ferry routes for transports. Move transports and units to route entrance to assign them to the ferry route.", author = "Google Frog", date = "24 Nov 2010", license = "GNU GPL, v2 or later",...
gpl-2.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/jedi/algorithms/HuSpringElectricalFW.lua
1
2968
-- Copyright 2014 by Ida Bruhns -- -- This file may be distributed and/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information local HuClass = {} -- Imports local declare = require "pgf.gd.interface....
gpl-2.0
psychon/awesome
lib/awful/mouse/snap.lua
2
8141
--------------------------------------------------------------------------- --- Mouse snapping related functions -- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008 Julien Danjou -- @submodule mouse --------------------------------------------------------------------------- local aclient = requ...
gpl-2.0
wagonrepairer/Zero-K
LuaUI/Widgets/chili_new/controls/object.lua
8
22757
--//============================================================================= --- Object module --- Object fields. -- @table Object -- @bool[opt=true] visible control is displayed -- @tparam {Object1,Object2,...} children table of visible children objects (default {}) -- @tparam {Object1,Object2,...} children_hid...
gpl-2.0
wolfy1339/LuaIRC
util.lua
1
3154
local setmetatable = setmetatable local sub = string.sub local byte = string.byte local char = string.char local table = table local assert = assert local tostring = tostring local type = type local random = math.random module "irc" --protocol parsing function parse(line) local prefix local lineStart = 1 if line:s...
mit
shingenko/darkstar
scripts/globals/mobskills/Voiceless_Storm.lua
25
1175
--------------------------------------------- -- Voiceless Storm -- Description: AOE Damage, Silence, strips Utsusemi (MOBPARAM_WIPE_SHADOWS) --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ------...
gpl-3.0
shingenko/darkstar
scripts/globals/items/four-leaf_mandragora_bud.lua
35
1221
----------------------------------------- -- ID: 4369 -- Item: four-leaf_mandragora_bud -- Food Effect: 60Min, All Races ----------------------------------------- -- Agility 3 -- Vitality -5 ----------------------------------------- require("scripts/globals/status"); ---------------------------------------...
gpl-3.0
shingenko/darkstar
scripts/zones/Norg/npcs/Porter_Moogle.lua
41
1506
----------------------------------- -- Area: Norg -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 252 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Norg/TextIDs"); require("scripts/globa...
gpl-3.0
shingenko/darkstar
scripts/zones/Upper_Jeuno/npcs/Ilumida.lua
17
5052
----------------------------------- -- Area: Upper Jeuno -- NPC: Ilumida -- Starts and Finishes Quest: A Candlelight Vigil -- @pos -75 -1 58 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ----------------------...
gpl-3.0
YunoHost/moulinette-yunohost
lib/metronome/modules/mod_storage_ldap.lua
2
6487
-- vim:sts=4 sw=4 -- Metronome IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- Copyright (C) 2012 Rob Hoelz -- Copyright (C) 2015 YUNOHOST.ORG -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. ---------------------...
agpl-3.0
shingenko/darkstar
scripts/globals/items/homemade_rice_ball.lua
35
1129
----------------------------------------- -- ID: 5224 -- Item: homemade_rice_ball -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
shingenko/darkstar
scripts/globals/spells/foe_requiem.lua
18
1626
----------------------------------------- -- Spell: Foe Requiem ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,sp...
gpl-3.0
shingenko/darkstar
scripts/globals/abilities/quickstep.lua
28
8031
----------------------------------- -- Ability: Quickstep -- Lowers target's evasion. If successful, you will earn two Finishing Moves. -- Obtained: Dancer Level 20 -- TP Required: 10% -- Recast Time: 00:05 -- Duration: First Step lasts 1 minute, each following Step extends its current duration by 30 seconds. --...
gpl-3.0
openwayne/chaos_theory
mods/inspector/init.lua
1
3346
--[[ Copyright (C) 2015 - Auke Kok <sofar@foo-projects.org> "inspector" 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 2.1 of the license, or (at your option) any later version. --]] lo...
lgpl-2.1
fridolin2/morethings_modpack
morethings_tools/init.lua
1
34096
minetest.register_alias("morethings:red_pickaxe", "morethings_tools:red_pickaxe") minetest.register_alias("morethings:red_axe", "morethings_tools:red_axe") minetest.register_alias("morethings:red_shovel", "morethings_tools:red_shovel") minetest.register_alias("morethings:red_sword", "morethings_tools:red_sword") ...
gpl-3.0
fengshao0907/SOHU-DBProxy
tests/suite/base/t/bug_41991-mock.lua
4
1290
--[[ $%BEGINLICENSE%$ Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is dis...
gpl-2.0
wagonrepairer/Zero-K
LuaRules/Gadgets/lups_thrusters.lua
12
4072
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- UNSYNCED ONLY if gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- -----------...
gpl-2.0
jyggen/lua-parser
tests/Fixtures/40/4e/49/1dedc06e68c2d37c0a0e4e898d9d065e7ad341be209bdb1e3c31bb995d.lua
1
28795
wlScans = { ["heirlooms"] = "122349:1,122352:1,122366:0,122354:1,122367:1,122385:1,122386:1,122389:0,122351:0,122369:0,122365:0,122363:0,122353:1,122368:0,105690:0,122350:0,122364:0,122391:1,105680:0,122392:1,122387:1,122263:1,122264:1,122388:1,122381:1,122245:1,122251:1,122355:1,127010:0,127012:1,127011:0,122373:0...
mit
shingenko/darkstar
scripts/zones/Bastok_Markets/npcs/HomePoint#1.lua
17
1262
----------------------------------- -- Area: Bastok Markets -- NPC: HomePoint#1 -- @pos -293.048 -10 -102.558 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Markets/TextIDs"); require("...
gpl-3.0
CyanogenMod/android_external_chromium_org_third_party_skia
tools/lua/count_reduced_clipstacks.lua
147
3116
stats = {} -- switch this to run on the automated scraper system newline = "\n" -- newline = "\\n" function sk_scrape_startcanvas(c, fileName) canvas = c oldstackstr = "<invalid>" end function sk_scrape_endcanvas(c, fileName) canvas = nil end function string.starts(String,Start) return string.sub(Str...
bsd-3-clause
mmusial/prosody-modules
mod_firewall/actions.lib.lua
31
5187
local action_handlers = {}; -- Run code through this to allow strings to contain code. e.g.: LOG=Received: $(stanza:top_tag()) local function meta(s, extra) return (s:gsub("$(%b())", [["..%1.."]]) :gsub("$(%b<>)", [["..stanza:find("%1").."]]) :gsub("$$(%a+)", extra or {})); end -- Takes an XML string and return...
mit
Pd2VoidTeam/VoidUI
lua/hud/HudDowns.lua
1
1850
if RequiredScript == "lib/units/beings/player/huskplayermovement" then local start_bleedout = HuskPlayerMovement._perform_movement_action_enter_bleedout function HuskPlayerMovement:_perform_movement_action_enter_bleedout(...) local data = managers.criminals:character_data_by_unit(self._unit) if data and data....
gpl-3.0