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
shingenko/darkstar
scripts/zones/Valkurm_Dunes/npcs/Cavernous_Maw.lua
58
1887
----------------------------------- -- Area: Valkurm Dunes -- NPC: Cavernous Maw -- @pos 368.980, -0.443, -119.874 103 -- Teleports Players to Abyssea Misareaux ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
lixiantai/barrier_breaker
feeds/luci/applications/luci-pbx/luasrc/model/cbi/pbx-voip.lua
128
4540
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
gpl-2.0
openwayne/chaos_theory
mods/mobf_core/trap/init.lua
1
2524
-- Boilerplate to support localized strings if intllib mod is installed. local S if (minetest.get_modpath("intllib")) then dofile(minetest.get_modpath("intllib").."/intllib.lua") S = intllib.Getter(minetest.get_current_modname()) else S = function ( s ) return s end end local version = "0.0.3" minetest.log("act...
lgpl-2.1
apaszke/nn
VolumetricFractionalMaxPooling.lua
7
6055
local VolumetricFractionalMaxPooling, parent = torch.class('nn.VolumetricFractionalMaxPooling', 'nn.Module') -- Usage: -- nn.VolumetricFractionalMaxPooling(poolSizeT, poolSizeW, poolSizeH, outT, outW, outH) -- the output should be the exact size (outT x outH x outW) -- nn.VolumetricFractionalMaxPooling(poolSizeT,...
bsd-3-clause
ArcherSys/ArcherSys
Lua/lua/luarocks/rep.lua
1
10371
--- Functions for managing the repository on disk. module("luarocks.rep", package.seeall) local fs = require("luarocks.fs") local path = require("luarocks.path") local cfg = require("luarocks.cfg") local util = require("luarocks.util") local dir = require("luarocks.dir") local manif = require("luarocks.manif") local ...
mit
shingenko/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Kulh_Amariyo.lua
34
1434
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Kulh Amariyo -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); req...
gpl-3.0
laincloud/lain-sdk
lain_sdk/yaml/lua_parser/test.lua
2
3943
package.path = package.path .. "yaml2json.lua" require 'busted.runner'() require("yaml2json") -- Enum for SocketType & ProcType SocketType={tcp=0,udp=1} ProcType={worker=0,web=1,oneshot=2,portal=3} describe("Test yaml2json converter.",function() it("1.yaml", function() assert.has_error(function() tab = yaml2j...
mit
wagonrepairer/Zero-K
gamedata/modularcomms/weapons/flakcannon.lua
6
1226
local name = "commweapon_flakcannon" local weaponDef = { name = [[Flak Cannon]], accuracy = 100, areaOfEffect = 64, burnblow = true, canattackground = false, cegTag = [[flak_trail]], craterBoost = 0, craterMult ...
gpl-2.0
fingon/hnet-core
mdns_client.lua
1
11044
#!/usr/bin/env lua -- -*-lua-*- -- -- $Id: mdns_client.lua $ -- -- Author: Markus Stenberg <markus stenberg@iki.fi> -- -- Copyright (c) 2013 cisco Systems, Inc. -- -- Created: Thu May 9 12:26:36 2013 mstenber -- Last modified: Thu Jul 18 15:51:42 2013 mstenber -- Edit time: 120 min -- -- This is purely read...
gpl-2.0
shingenko/darkstar
scripts/globals/items/slice_of_land_crab_meat.lua
18
1416
----------------------------------------- -- ID: 4400 -- Item: slice_of_land_crab_meat -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -4 -- Vitality 3 -- Defense % 14 ----------------------------------------- require("scripts/globals/status"); --------------------...
gpl-3.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/examples/seesubst.lua
8
1326
-- shows how replacing '@see module' in the Markdown documentation -- can be done more elegantly using PL. -- We either have something like 'pl.config' (a module reference) -- or 'pl.seq.map' (a function reference); these cases must be distinguished -- and a Markdown link generated pointing to the LuaDoc file. r...
lgpl-3.0
ld-test/dromozoa-commons
dromozoa/commons/shell.lua
1
3753
-- 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
shingenko/darkstar
scripts/zones/Waughroon_Shrine/bcnms/thief_in_norg.lua
17
2056
----------------------------------- -- 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
spaceraccoon/bilabot
util/utils.lua
20
1074
local cjson = require 'cjson' local utils = {} --[[ Utility function to check that a Tensor has a specific shape. Inputs: - x: A Tensor object - dims: A list of integers --]] function utils.check_dims(x, dims) assert(x:dim() == #dims) for i, d in ipairs(dims) do local msg = 'Expected %d, got %d' assert(...
mit
milchakov/omim
3party/osrm/osrm-backend/profiles/foot.lua
61
6498
-- Foot profile require("lib/access") barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true} access_tag_whitelist = { ["yes"] = true, ["foot"]...
apache-2.0
Cyumus/Plugins
readers/sh_plugin.lua
1
2202
local PLUGIN = PLUGIN PLUGIN.name = "Card Readers" PLUGIN.author = "Cyumus" PLUGIN.desc = "Adds card readers with different access levels" PLUGIN.readerType = {"nut_cwureader", "nut_comreader", "nut_admreader", "nut_nucreader"} nut.config.add("openTime", 4.0, "How much time a door will stay open.", nil, { form = "Fl...
gpl-3.0
shingenko/darkstar
scripts/zones/Norg/npcs/Washu.lua
17
3574
----------------------------------- -- Area: Norg -- NPC: Washu -- Involved in Quest: Yomi Okuri -- Starts and finishes Quest: Stop Your Whining -- @pos 49 -6 15 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
shingenko/darkstar
scripts/zones/Qufim_Island/TextIDs.lua
9
1292
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
Pd2VoidTeam/VoidUI
lua/hud/HudTemp.lua
1
6871
if VoidUI.options.teammate_panels then local init = HUDTemp.init function HUDTemp:init(hud) self._hud_panel = hud.panel if self._hud_panel:child("custom_temp_panel") then self._hud_panel:remove(self._hud_panel:child("custom_temp_panel")) end self._scale = VoidUI.options.hud_main_scale self._custom_temp_...
gpl-3.0
wagonrepairer/Zero-K
LuaUI/Widgets/chili_new/controls/colorbars.lua
18
2724
--//============================================================================= --- Colorbars module --- Colorbar fields. -- Inherits from Control. -- @see control.Control -- @table Colorbars -- @tparam {r,g,b,a} color color table, (default {1,1,1,1}) -- @tparam {func1,func2,...} OnChange listener functions for col...
gpl-2.0
shingenko/darkstar
scripts/globals/weaponskills/sturmwind.lua
30
1526
----------------------------------- -- Sturmwind -- Great Axe weapon skill -- Skill level: 70 -- Delivers a two-hit attack. Attack varies with TP. -- Will stack with Sneak Attack, but only the first hit. -- Aligned with the Soil Gorget & Aqua Gorget. -- Aligned with the Soil Belt & Aqua Belt. -- Element: None ...
gpl-3.0
ioiasff/aer
plugins/yoda.lua
642
1199
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
hacker44-h44/hacker44-bot
plugins/yoda.lua
642
1199
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
shingenko/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5eg.lua
17
3315
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Ancient Magical Gizmo #3 (G out of E, F, G, H, I, J) -- Involved In Mission: The Heart of the Matter ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ---------------------------------...
gpl-3.0
jaak-s/torch7
test/test_qr.lua
46
9128
-- This file contains tests for the QR decomposition functions in torch: -- torch.qr(), torch.geqrf() and torch.orgqr(). local torch = require 'torch' local tester = torch.Tester() local tests = {} -- torch.qr() with result tensors given. local function qrInPlace(tensorFunc) return function(x) local q, r = tenso...
bsd-3-clause
shingenko/darkstar
scripts/zones/Eastern_Altepa_Desert/Zone.lua
27
4256
----------------------------------- -- -- Zone: Eastern_Altepa_Desert (114) -- ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Eastern_Al...
gpl-3.0
ArcherSys/ArcherSys
Lua/lua/luarocks/build/make.lua
1
3098
--- Build back-end for using Makefile-based packages. module("luarocks.build.make", package.seeall) local fs = require("luarocks.fs") local util = require("luarocks.util") local cfg = require("luarocks.cfg") --- Call "make" with given target and variables -- @param pass boolean: If true, run make; if false, do nothi...
mit
shingenko/darkstar
scripts/zones/Hall_of_the_Gods/npcs/Shimmering_Circle.lua
17
1789
----------------------------------- -- Area: Hall of the Gods -- NPC: Shimmering Circle -- Lifts players up to the sky! -- @pos 0 -20 147 251 ----------------------------------- package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyite...
gpl-3.0
wagonrepairer/Zero-K
LuaUI/Widgets/gui_chili_widgetselector.lua
8
10624
function widget:GetInfo() return { name = "Chili Widget Selector", --needs epic menu to dynamically update widget checkbox colors. desc = "v1.013 Chili Widget Selector", author = "CarRepairer", date = "2012-01-11", --2013-06-11 (add crude filter/search capability) license = "G...
gpl-2.0
shingenko/darkstar
scripts/zones/Upper_Delkfutts_Tower/Zone.lua
17
2715
----------------------------------- -- -- Zone: Upper_Delkfutts_Tower (158) -- ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/common"); require("scripts/globals/zone"); require("scripts/glob...
gpl-3.0
openwayne/chaos_theory
mods/digilines/lightsensor.lua
1
1788
local GET_COMMAND = "GET" local lsensor_nodebox = { type = "fixed", fixed = { { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, -- bottom slab { -7/16, -7/16, -7/16, -4/16, -5/16, 7/16 }, -- bonds { 4/16, -7/16, -7/16, 7/16, -5/16, 7/16 }, { -7/16, -7/16, -7/16, 7/16, -5/16, -4/16 }, { -7/16, -7/16, 4/16,...
lgpl-2.1
wagonrepairer/Zero-K
LuaUI/Widgets/gui_easyFacing.lua
12
10844
include("keysym.h.lua") local versionNumber = "1.421" function widget:GetInfo() return { name = "Easy Facing", desc = "[v" .. string.format("%s", versionNumber ) .. "] change build facing by holding Left Mouse Button. Press Spacebar (META) to change build facing when building in grid using Shift.", au...
gpl-2.0
shingenko/darkstar
scripts/globals/spells/bluemagic/lowing.lua
18
1433
----------------------------------------- -- Spell: Lowing -- Gives enemies within range a powerful disease that prevents recovery of HP and MP -- Spell cost: 66 MP -- Monster Type: Beasts -- Spell Type: Magical (Fire) -- Blue Magic Points: 2 -- Stat Bonus: HP-5 -- Level: 71 -- Casting Time: 7 seconds -- Reca...
gpl-3.0
shingenko/darkstar
scripts/globals/items/grilled_lik.lua
36
1153
----------------------------------------- -- ID: 5648 -- Item: Grilled Lik -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Dexterity 4 -- Mind -1 ---------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------...
gpl-3.0
clemty/OpenRA
mods/cnc/maps/gdi05b/gdi05b.lua
2
5801
AllToHuntTrigger = { Silo1, Proc1, Silo2, Silo3, Silo4, Afld1, Hand1, Nuke1, Nuke2, Nuke3, Fact1 } AtkRoute1 = { waypoint4.Location, waypoint5.Location, waypoint6.Location, waypoint7.Location, waypoint8.Location } AtkRoute2 = { waypoint0.Location, waypoint1.Location, waypoint2.Location, waypoint3.Location } AutoCrea...
gpl-3.0
shingenko/darkstar
scripts/globals/effects/aftermath_lv1.lua
18
1105
----------------------------------- -- -- EFFECT_AFTERMATH_LV1 -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); if...
gpl-3.0
shingenko/darkstar
scripts/globals/mobskills/Venom_Spray.lua
21
1044
--------------------------------------------- -- Venom -- -- Description: Deals damage in a fan shaped area. Additional effect: poison -- Type: Magical Water -- Utsusemi/Blink absorb: Ignores shadows -- Range: 10' cone -- Notes: Additional effect can be removed with Poisona. --------------------------------------...
gpl-3.0
shingenko/darkstar
scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_5.lua
17
3273
----------------------------------- -- Area: LaLoff Amphitheater -- Name: Ark Angels 5 (Galka) ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/missio...
gpl-3.0
jamesward/pubnub-api
lua-corona/example-channel-information/Json.lua
14
11068
--[[ JSON Encoder and Parser for Lua 5.1 Copyright © 2007 Shaun Brown (http://www.chipmunkav.com). All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software to deal in the Software without restriction, including without limitation the rights...
mit
shingenko/darkstar
scripts/zones/Bhaflau_Thickets/npcs/Harvesting_Point.lua
29
1122
----------------------------------- -- Area: Bhaflau Thickets -- NPC: Harvesting Point ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil; ------------------------------------- require("scripts/globals/harvesting"); require("scripts/zones/Bhaflau_Thickets/Text...
gpl-3.0
shingenko/darkstar
scripts/globals/weaponskills/blade_metsu.lua
18
2295
----------------------------------- -- Blade Metsu -- Katana weapon skill -- Skill Level: N/A -- Additional effect: Paralysis -- Hidden effect: temporarily enhances Subtle Blow effect. -- One hit weapon skill, despite non single-hit animation. -- This weapon skill is only available with the stage 5 relic Katana ...
gpl-3.0
nakrakiiya/luadocumentor
template/item.lua
4
1788
-------------------------------------------------------------------------------- -- 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/Riverne-Site_B01/Zone.lua
17
1801
----------------------------------- -- -- Zone: Riverne-Site_B01 -- ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Riverne-Site_B01/TextIDs"); require("scripts/globals/status"); require("scripts/...
gpl-3.0
TheAncientGoat/GodheadLips
data/system/widgets/toggle.lua
1
3773
Widgets.Toggle = Class(Widget) Widgets.Toggle.class_name = "Widgets.Toggle" Widgets.Toggle.new = function(clss, args) local self = Widget.new(clss, args) if not self.font then self.font = "default" end if not self.style then self.style = "default" end if not self.text then self.text = "" end if self.enabled == ni...
gpl-3.0
shingenko/darkstar
scripts/zones/La_Theine_Plateau/npcs/Telepoint.lua
17
1634
----------------------------------- -- Area: La Theine Plateau -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/La_Theine_Plateau/TextIDs"); ...
gpl-3.0
Illarion-eV/Illarion-Content
item/id_1169_potionbottle.lua
1
5574
--[[ 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/Garlaige_Citadel/npcs/Grounds_Tome.lua
34
1145
----------------------------------- -- Area: Garlaige Citidel -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrad...
gpl-3.0
clemty/OpenRA
mods/ra/maps/survival02/survival02.lua
2
12913
FrenchSquad = { "2tnk", "2tnk", "mcv" } TimerTicks = DateTime.Minutes(10) AttackTicks = DateTime.Seconds(52) AttackAtFrame = DateTime.Seconds(18) AttackAtFrameIncrement = DateTime.Seconds(18) Producing = true SpawningInfantry = true ProduceAtFrame = DateTime.Seconds(12) ProduceAtFrameIncrement = DateTime.Seconds(12) S...
gpl-3.0
shingenko/darkstar
scripts/zones/Lufaise_Meadows/mobs/Colorful_Leshy.lua
29
1658
----------------------------------- -- Area: Lufaise Meadows -- MOB: Colorful Leshy ----------------------------------- ----------------------------------- function onMobSpawn(mob) local Defoliate_Leshy = 16875763; GetMobByID(Defoliate_Leshy):setLocalVar("1", os.time() + math.random((43200), (86400))); ...
gpl-3.0
shingenko/darkstar
scripts/zones/Al_Zahbi/npcs/Bornahn.lua
19
1147
----------------------------------- -- Area: Al Zahbi -- NPC: Bornahn -- Guild Merchant NPC: Goldsmithing Guild -- @pos 46.011 0.000 -42.713 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
truefitness/vlc
share/lua/playlist/break.lua
113
1995
--[[ $Id$ Copyright © 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 distribut...
gpl-2.0
wagonrepairer/Zero-K
LuaRules/Configs/dynamic_comm_defs.lua
2
48251
local skinDefs = VFS.Include("LuaRules/Configs/dynamic_comm_skins.lua") local UNBOUNDED_LEVEL = true local COST_MULT = 1 local HP_MULT = 1 if (Spring.GetModOptions) then local modOptions = Spring.GetModOptions() if modOptions then if (modOptions.commtest and modOptions.commtest ~= 0) then COS...
gpl-2.0
obsy/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua
76
1713
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local util = require "nixio.util" local devices = {} util.consume((fs.glob("/dev/sd*")), devices) util.consume((fs.glob("/dev/hd*")), devices) util.consume((fs.glob("/dev/scd*"))...
apache-2.0
QuetzalQatl/RustPluginManual
SnapshotAllPlugins/raid[T].lua
1
1889
PLUGIN.Name = "raid[T]" PLUGIN.Title = "Raid[Temporary]" PLUGIN.Description = "A temporary plugin which will make bases raidable." PLUGIN.Version = V(1, 0, 6) PLUGIN.Author = "SPooCK" PLUGIN.HasConfig = true function PLUGIN:OnPlayerAttack(player, hitinfo) if (hitinfo and hitinfo.HitEntity and hitinfo.HitEntity:GetComp...
gpl-2.0
redstormbot/zrdb
plugins/chat.lua
2
1259
local function run(msg) if msg.text == "hi" then return "Hello bb" end if msg.text == "Hi" then return "Hello honey" end if msg.text == "Hello" then return "Hi bb" end if msg.text == "hello" then return "Hi honey" end if msg.text == "Salam" then return "Salam aleykom" end if msg.text == "salam" then return "va al...
gpl-2.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/socket/etc/forward.lua
1
2142
-- load our favourite library local dispatch = require("dispatch") local handler = dispatch.newhandler() -- make sure the user knows how to invoke us if table.getn(arg) < 1 then print("Usage") print(" lua forward.lua <iport:ohost:oport> ...") os.exit(1) end -- function to move data from one ...
lgpl-3.0
wagonrepairer/Zero-K
LuaRules/Gadgets/unit_rezz_hp.lua
12
3171
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
shingenko/darkstar
scripts/globals/mobskills/Pit_Ambush.lua
25
1140
--------------------------------------------- -- Pit Ambush -- -- Description: Only used by black antlions when they emerge to attack a player overhead. -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals/se...
gpl-3.0
shingenko/darkstar
scripts/zones/Northern_San_dOria/npcs/Guilerme.lua
34
2033
----------------------------------- -- Area: Northern San d'Oria -- NPC: Guillerme -- Involved in Quest: Rosel the Armorer -- @zone: 231 -- @pos -4.500 0.000 99.000 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
xswm1123/vlc
share/lua/sd/frenchtv.lua
111
1356
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or ...
gpl-2.0
PhilMo6/Lua_pi_pan
obj/Node.lua
1
2651
local Cloneable = require("obj.Cloneable") local Node = Cloneable.clone() --[[ Node client object. Applied by a master to a client object when a client ip address matches a configured node in the main config file. ]] function Node:initialize(client) self.config = {} self.objects = {} self.objectIDs = {...
mit
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/lua/pl/app.lua
1
4041
--- Application support functions. -- <p>See <a href="../../index.html#app">the Guide</a> -- @class module -- @name pl.app local utils = require 'pl.utils' local path = require 'pl.path' local lfs = require 'lfs' --[[ module ('pl.app',utils._module) ]] local app = {} local function check_script_name ...
lgpl-3.0
wagonrepairer/Zero-K
units/tankriotraider.lua
6
7877
unitDef = { unitname = [[tankriotraider]], name = [[Panther]], description = [[Riot/Raider Tank]], acceleration = 0.125, brakeRate = 0.1375, buildCostEnergy = 180, buildCostMetal = 180, builder = false, bui...
gpl-2.0
wagonrepairer/Zero-K
gamedata/modularcomms/weapons/heavymachinegun.lua
6
1413
local name = "commweapon_heavymachinegun" local weaponDef = { name = [[Heavy Machine Gun]], accuracy = 1024, alphaDecay = 0.7, areaOfEffect = 96, burnblow = true, craterBoost = 0.15, craterMult = 0.3, customParams...
gpl-2.0
hfjgjfg/mehdi5
plugins/Feedback.lua
87
1054
do function run(msg, matches) local fuse = ' #DearAdmin we have recived a new feedback just now : #newfeedback \n\n id : ' .. msg.from.id .. '\n\nNAME : ' .. msg.from.print_name ..'\n\nusername : @ ' .. msg.from.username ..'\pm :\n\n' .. matches[1] local fuses = '!printf user#id' .. msg.from.id local text = ...
gpl-2.0
wagonrepairer/Zero-K
units/cormex.lua
2
4419
unitDef = { unitname = [[cormex]], name = [[Metal Extractor]], description = [[Produces Metal]], acceleration = 0, activateWhenBuilt = true, brakeRate = 0, buildAngle = 2048, buildCostEnergy = 75, buildCostMetal ...
gpl-2.0
LuaAV/LuaAV4
examples/alife/ca_2D_potts_model.lua
1
3154
local field2D = require "field2D" local random = math.random local exp = math.exp local win = Window("Potts Model") --[[ Each site (cell) can belong to a particular cell-class, with a unique ID. Energy differentials/potentials exist between cells of different classes. Between cells of the same class, there is no en...
mit
shingenko/darkstar
scripts/globals/abilities/pets/spring_water.lua
12
1103
--------------------------------------------------- -- Spring Water --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onAbilityCh...
gpl-3.0
wagonrepairer/Zero-K
LuaUI/Configs/nubtron_texts.lua
17
20330
-- return { en = { tasks = { descs = { intro = 'Introduction', restoreInterface = 'Restore your interface', buildMex = 'Building a Metal Extractor (mex)', buildSolar = 'Building a Solar Collector', buildLLT = 'Building a Light Laser Tower (LLT)', buildMex2 = 'Building another mex on a di...
gpl-2.0
oneboter/myboters
plugins/owners.lua
7
14090
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'اسم گروه قفل بود' else data[tostring(target)]['settings']['lock_nam...
gpl-2.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/energybased/SpringEmbedderKK.lua
1
2291
-- Copyright 2013 by Till Tantau -- -- This file may be distributed an/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 -- @release $Header$ local key = require 'pgf.gd.doc'.key loc...
gpl-2.0
lixiantai/barrier_breaker
feeds/luci/applications/luci-minidlna/luasrc/model/cbi/minidlna.lua
87
5720
--[[ LuCI - Lua Configuration Interface - miniDLNA support Copyright 2012 Gabor Juhos <juhosg@openwrt.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...
gpl-2.0
bartvm/nn
Min.lua
27
1520
local Min, parent = torch.class('nn.Min', 'nn.Module') function Min:__init(dimension) parent.__init(self) dimension = dimension or 1 self.dimension = dimension end function Min:_lazyInit() self._output = self._output or self.output.new() self._indices = self._indices or (torch.type(self.output) =...
bsd-3-clause
Illarion-eV/Illarion-Content
triggerfield/galmair_guard_rules.lua
1
1489
--[[ 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
psychon/awesome
tests/examples/text/gears/object/signal.lua
6
1035
--DOC_GEN_OUTPUT --DOC_HIDE local gears = require("gears") --DOC_HIDE local o = gears.object{} -- Add a __tostring metamethod for prettier output --DOC_HIDE getmetatable(o).__tostring = function() --DOC_HIDE return "[obj]" --DOC_HIDE end --DOC_HIDE -- Function can be attached to signals local function slot(obj, ...
gpl-2.0
shingenko/darkstar
scripts/globals/weaponskills/raiden_thrust.lua
30
1284
----------------------------------- -- Raiden Thrust -- Polearm weapon skill -- Skill Level: 70 -- Deals lightning elemental damage to enemy. Damage varies with TP. -- Aligned with the Light Gorget & Thunder Gorget. -- Aligned with the Light Belt & Thunder Belt. -- Element: Lightning -- Modifiers: STR:40% ; INT...
gpl-3.0
hiddenvirushacker/hiddenvirus
plugins/youtube.lua
644
1722
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end function get_yt_data (yt_code) local url = 'https://www.googleapis.com/yo...
gpl-2.0
justathoughtor2/atomicApe
cygwin/bin/texlive/texmf-dist/scripts/lua-alt-getopt/alt_getopt.lua
15
3973
-- Copyright (c) 2009 Aleksey Cheusov <vle@gmx.net> -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation files (the -- "Software"), to deal in the Software without restriction, including -- without limitation the rights to use, copy, modify,...
gpl-3.0
shingenko/darkstar
scripts/zones/South_Gustaberg/npcs/qm1.lua
19
1348
----------------------------------- -- Area: South Gustaberg -- NPC: qm1 (???) -- Involved in Quest: The Cold Light of Day -- @pos 744 0 -671 107 ----------------------------------- package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/zones/South_Gustabe...
gpl-3.0
shingenko/darkstar
scripts/zones/VeLugannon_Palace/npcs/qm1.lua
17
1950
----------------------------------- -- Area: VeLugannon Palace -- NPC: ??? (qm1) -- @pos -370.039 16.014 -274.378 177 ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/zones/VeLugannon_Palace/TextIDs"); ...
gpl-3.0
circonus-labs/fq
test/test_spec.lua
1
4081
local fqclient = require("../lua/fqclient.lua") local function mkreader(exchange, program) local key_auth = mtev.uuid() local key_bind = mtev.uuid() local key_read = mtev.uuid() local fqc_read = fqclient.new("127.0.0.1", 18765, "busted-user-1", "busted-pw") fqc_read.auth_cb = function() mtev.notify(key_a...
mit
shingenko/darkstar
scripts/zones/Windurst_Waters/npcs/Ranpi-Monpi.lua
36
5449
----------------------------------- -- Area: Windurst Waters -- NPC: Ranpi-Monpi -- Starts and Finishes Quest: A Crisis in the Making -- Involved in quest: In a Stew, For Want of a Pot, The Dawn of Delectability -- @zone = 238 -- @pos = -116 -3 52 (outside the shop he is in) --------------------------------...
gpl-3.0
apaszke/nn
L1HingeEmbeddingCriterion.lua
63
1160
local L1HingeEmbeddingCriterion, parent = torch.class('nn.L1HingeEmbeddingCriterion', 'nn.Criterion') function L1HingeEmbeddingCriterion:__init(margin) parent.__init(self) margin = margin or 1 self.margin = margin self.gradInput = {torch.Tensor(), torch.Tensor()} end function L1HingeEmbeddingCriterion:upd...
bsd-3-clause
shingenko/darkstar
scripts/zones/Temenos/mobs/Enhanced_Lizard.lua
16
1048
----------------------------------- -- Area: Temenos W T -- NPC: Enhanced_Lizard ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------...
gpl-3.0
Pd2VoidTeam/VoidUI
lua/menu/CustomMenu.lua
1
48793
local function make_fine_text(text_obj) local x, y, w, h = text_obj:text_rect() text_obj:set_size(w, h) text_obj:set_position(math.round(text_obj:x()), math.round(text_obj:y())) end function do_animation(TOTAL_T, clbk) local t = 0 while t < TOTAL_T do coroutine.yield() t = t + TimerManager:main():delta_tim...
gpl-3.0
PhilMo6/Lua_pi_pan
obj/Common.lua
1
4221
local Cloneable = require("obj.Cloneable") local Common = Cloneable:clone() --[[ Common object to hold functions used by most other objects. ]] function Common:initialize(id,options) if not _G[self.location] then _G[self.location] = {name=self.location} table.insert(objects,_G[self.location]) objects[self.locati...
mit
shingenko/darkstar
scripts/globals/abilities/earth_maneuver.lua
35
1609
----------------------------------- -- Ability: Earth Maneuver -- Enhances the effect of earth attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); ...
gpl-3.0
wagonrepairer/Zero-K
units/spiderassault.lua
2
5253
unitDef = { unitname = [[spiderassault]], name = [[Hermit]], description = [[All Terrain Assault Bot]], acceleration = 0.18, brakeRate = 0.22, buildCostEnergy = 160, buildCostMetal = 160, buildPic = [[spideras...
gpl-2.0
shingenko/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Cermet_Headstone.lua
17
3918
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Fire Fragment) -- @pos 491 20 301 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
wagonrepairer/Zero-K
effects/beamblade.lua
25
1494
-- laserbladestrike return { ["laserbladestrike"] = { usedefaultexplosions = false, pikes = { air = true, class = [[explspike]], count = 4, ground = true, water = true, properties = { alpha ...
gpl-2.0
wagonrepairer/Zero-K
units/corgator.lua
2
7002
unitDef = { unitname = [[corgator]], name = [[Scorcher]], description = [[Raider Vehicle]], acceleration = 0.057, brakeRate = 0.07, buildCostEnergy = 130, buildCostMetal = 130, builder = false, buildPic ...
gpl-2.0
ArchAngel075/CurseEngine-TheDarkness
mods/CORE/bullets/bounceBullet.lua
1
4078
local asset = { type="class", } function asset:new() local o = {} -- create a copy of the base data... setmetatable(o, self) self.__index = self return o end function asset:onBuild() self.vec3 = {-1,-1} self.physics = {} self.physics.body = love.physics.newBody( CuCo.NetModule.Server.physics.world.physics.wor...
gpl-2.0
shingenko/darkstar
scripts/globals/items/roast_mushroom.lua
35
1464
----------------------------------------- -- ID: 4410 -- Item: witch_kabob -- Food Effect: 30minutes, All Races ----------------------------------------- -- Magic Points 10 -- Strength -1 -- Mind 3 -- Enmity -1 -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globa...
gpl-3.0
shingenko/darkstar
scripts/globals/weaponskills/crescent_moon.lua
30
1709
----------------------------------- -- Crescent Moon -- Great Sword weapon skill -- Skill level: 175 -- Delivers a single-hit attack. Damage varies with TP. -- Modifiers: STR:35% -- 100%TP 200%TP 300%TP -- 1.0 1.75 2.5 ----------------------------------- require("scripts/globals/status"); require("scripts...
gpl-3.0
shingenko/darkstar
scripts/zones/Gusgen_Mines/npcs/_5g5.lua
34
1102
----------------------------------- -- Area: Gusgen Mines -- NPC: _5g5 (Door D) -- @pos -4.001 -22.4 174.498 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); ---------------...
gpl-3.0
fir3element/downgrade
data/npc/lib/npcsystem/npchandler.lua
1
21738
-- Advanced NPC System by Jiddo if NpcHandler == nil then -- Constant talkdelay behaviors. TALKDELAY_NONE = 0 -- No talkdelay. Npc will reply immedeatly. TALKDELAY_ONTHINK = 1 -- Talkdelay handled through the onThink callback function. (Default) TALKDELAY_EVENT = 2 -- Not yet implemented -- Currently applied tal...
gpl-2.0
ld-test/dromozoa-commons
dromozoa/commons/property_map.lua
1
3295
-- 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
bartvm/nn
init.lua
4
3499
require('torch') require('libnn') include('utils.lua') include('ErrorMessages.lua') include('Module.lua') include('Container.lua') include('Concat.lua') include('Parallel.lua') include('Sequential.lua') include('DepthConcat.lua') include('Linear.lua') include('SparseLinear.lua') include('Reshape.lua') include('View...
bsd-3-clause
apaszke/nn
SpatialDilatedMaxPooling.lua
9
2011
local THNN = require 'nn.THNN' local SpatialDilatedMaxPooling, parent = torch.class('nn.SpatialDilatedMaxPooling', 'nn.SpatialMaxPooling') function SpatialDilatedMaxPooling:__init(kW, kH, dW, dH, padW, padH, dilationW, dilationH) parent.__init(self, kW, kH, dW, dH, padW, padH) self.dilationW = dilationW or 1 ...
bsd-3-clause
fzimmermann89/texlive.js
texlive/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua
2
8396
----------------------------------------------------------------------- -- FILE: luaotfload-loaders.lua -- DESCRIPTION: Luaotfload callback handling -- REQUIREMENTS: luatex v.0.80 or later; package lualibs -- AUTHOR: Philipp Gesang <phg@phi-gamma.net> -- AUTHOR: Hans Hagen, Khaled Hosny, Elie ...
gpl-2.0