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 |
|---|---|---|---|---|---|
Illarion-eV/Illarion-Content | quest/maelyrra_umrielyth_184_runewick.lua | 2 | 40321 | --[[
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/ulbuconut.lua | 36 | 1146 | -----------------------------------------
-- ID: 5966
-- Item: Ulbuconut
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence +1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Port_Bastok/npcs/Talib.lua | 17 | 2865 | -----------------------------------
-- Area: Port Bastok
-- NPC: Talib
-- Starts Quest: Beauty and the Galka
-- Starts & Finishes Quest: Shady Business
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Ifrits_Cauldron/TextIDs.lua | 6 | 1658 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6384; -- Ob... | gpl-3.0 |
shingenko/darkstar | scripts/zones/North_Gustaberg/npcs/Waterfall_Base.lua | 34 | 1403 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Waterfall Base
-- Involved In Quest: Drachenfall
-- @pos -217.594 98.644 464.722 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
openwayne/chaos_theory | mods/moretrees/screenshot.lua | 3 | 8144 | -- Usage:
-- - Create a new world
-- - Set world mapgen: v6
-- - Set world seed: 2625051331357512570
-- - Enable the moretrees mod
-- - Edit the moretrees source
-- - Disable all trees in default_settings.lua
-- - Recommended: make saplings grow fast in default_settings.lua:
-- sapling_interval = 5
-- sapli... | lgpl-2.1 |
shingenko/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Galzweesh.lua | 34 | 1034 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Galzweesh
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--------... | gpl-3.0 |
aTastyCookie/telegram-bot | libs/serpent.lua | 17 | 7971 | local n, v = "serpent", 0.272 -- (C) 2012-13 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
l... | gpl-2.0 |
Illarion-eV/Illarion-Content | item/id_1167_potionbottle.lua | 1 | 5589 | --[[
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/Mhaura/npcs/Explorer_Moogle.lua | 17 | 1783 | -----------------------------------
-- Area: Mhaura
-- NPC: Explorer Moogle
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/tele... | gpl-3.0 |
wagonrepairer/Zero-K | units/gunshipcon.lua | 2 | 3095 | unitDef = {
unitname = [[gunshipcon]],
name = [[Bumblebee]],
description = [[Heavy Construction Aircraft, Builds at 7.5 m/s]],
acceleration = 0.1,
airStrafe = 0,
amphibious = true,
brakeRate = 0.1,
buildCostEnergy = 300,
buildCo... | gpl-2.0 |
diz-vara/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 |
AleksCore/Mr.Green-MTA-Resources | resources/[race]/race_delay_indicator/delayindicator_client.lua | 3 | 6059 | local g_screenX,g_screenY = guiGetScreenSize()
local g_Root = getRootElement()
local g_ResRoot = getResourceRootElement(getThisResource())
local g_Me = getLocalPlayer()
local DISTANCE_FRONT_BEHIND = 0.03
local TIME_TO_DISPLAY = 2000
local SCALE = 1
if g_screenY > 768 then SCALE = 1.5 end
local frontTick
local behindT... | mit |
PhilMo6/Lua_pi_pan | obj/RBG_LED.lua | 1 | 5361 | local Cloneable = require("obj.LED")
local LED = Cloneable:clone()
--[[
RBG LED module.
Several functions are provided such as basic on, off, toggle, blink, cycle, and random color functions and also force on and off which is located in the baseObj
]]
LED.colors = {
{0,0,1},
{0,1,1},
{0,1,0},
{1,1,0},
{1,0,0},
{1... | mit |
kveratis/GameCode4 | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/LuaMacro/tests/lc.lua | 1 | 8458 | -- Simplifying writing C extensions for Lua
-- Adds new module and class constructs;
-- see class1.lc and str.lc for examples.
local M = require 'macro'
function dollar_subst(s,tbl)
return (s:gsub('%$%((%a+)%)',tbl))
end
-- reuse some machinery from the C-skin experiments
local push,pop = table.insert,tab... | lgpl-3.0 |
shingenko/darkstar | scripts/zones/Gusgen_Mines/npcs/_5gf.lua | 34 | 1342 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5gf (Lever C)
-- @pos 44 -40.561 -54.199 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
----------------... | gpl-3.0 |
dmccuskey/dmc-files | examples/dmc-files-readconfig/main.lua | 1 | 1336 | --====================================================================--
-- dmc_files
--
-- Read Config File example
--
-- Sample code is MIT licensed, the same license which covers Lua itself
-- http://en.wikipedia.org/wiki/MIT_License
-- Copyright (C) 2014 David McCuskey. All Rights Reserved.
--======================... | mit |
shingenko/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Heumila.lua | 38 | 1030 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Heumila
-- Type: Past Event Watcher
-- @zone: 87
-- @pos
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-------------------... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Bastok_Mines/npcs/Griselda.lua | 34 | 1892 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Griselda
-- Standard Merchant NPC
-- @pos -25.749 -0.044 52.360 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("s... | gpl-3.0 |
obsy/luci | applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua | 60 | 5493 | -- Copyright 2012 Gabor Juhos <juhosg@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local m, s, o
m = Map("minidlna", translate("miniDLNA"),
translate("MiniDLNA is server software with the aim of being fully compliant with DLNA/UPnP-AV clients."))
m:section(SimpleSection).template = "minidln... | apache-2.0 |
AleksCore/Mr.Green-MTA-Resources | resources/[gameplay]/messages/test_decompiled.lua | 3 | 6192 | --to call the function from serverside: exports.messages:outputGameMessage(text, visibleTo, size, r, g, b, priorityFromGettingQueued)
--to call it from clientside: exports.messages:outputGameMessage(text, size, r, g, b, priorityFromGettingQueued)
--size, r, g, b, priorityFromGettingQueued are optional parameters
-----... | mit |
psychon/awesome | tests/test-struts.lua | 10 | 14419 | local placement = require("awful.placement")
local wibox = require("wibox")
local wibar = require("awful.wibar")
local test_client = require("_client")
local steps = {}
local parent, small
local twibar, bwibar, lwibar, rwibar = screen.primary.mywibox
-- Pretty print issues
local function print_expecte... | gpl-2.0 |
medoo313m/bmo-bot2 | plugins/infopro.lua | 1 | 9234 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ info user : معلوماتي ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
shingenko/darkstar | scripts/zones/Dynamis-Buburimu/mobs/Goblin_Replica.lua | 12 | 2447 | -----------------------------------
-- Area: Dynamis Buburimu
-- NPC: Goblin Replica
-----------------------------------
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Buburimu/TextIDs");
... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Nashmau/npcs/Kyokyoroon.lua | 17 | 1764 | -----------------------------------
-- Area: Nashmau
-- NPC: Kyokyoroon
-- Standard Info NPC
-- @pos 18.020 -6.000 10.467 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globa... | gpl-3.0 |
imzyxwvu/objective-and-sync | deps/haml/precompiler.lua | 1 | 4760 | local code = require "haml.code"
local comment = require "haml.comment"
local end_stack = require "haml.end_stack"
local ext = require "haml.ext"
local filter = require "haml.filter"
local header = require "haml.header"
local string_bu... | mit |
Illarion-eV/Illarion-Content | monster/race_30_golem/id_304_lava_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 |
fingon/hnet-core | spec/hp_ospf_spec.lua | 1 | 8179 | #!/usr/bin/env lua
-- -*-lua-*-
--
-- $Id: hp_ospf_spec.lua $
--
-- Author: Markus Stenberg <markus stenberg@iki.fi>
--
-- Copyright (c) 2013 cisco Systems, Inc.
--
-- Created: Thu May 23 17:40:20 2013 mstenber
-- Last modified: Wed Nov 6 16:07:44 2013 mstenber
-- Edit time: 86 min
--
require 'busted'
requi... | gpl-2.0 |
kveratis/GameCode4 | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/tests/test-config.lua | 1 | 1169 | --~ local stringio = require 'pl.stringio'
--~ require 'pl.config'
require 'pl'
asserteq = require 'pl.test'.asserteq
function testconfig(test,tbl)
local f = stringio.open(test)
local c = config.read(f)
f:close()
if not tbl then
print(pretty.write(c))
else
asserteq(c,tbl... | lgpl-3.0 |
Illarion-eV/Illarion-Content | item/drinks.lua | 1 | 6319 | --[[
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 |
centreon/centreon-broker | lua/test/test3.lua | 1 | 1075 | --
-- Copyright 2018-2020 Centreon
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed t... | apache-2.0 |
wagonrepairer/Zero-K | lups/ParticleClasses/AirJet.lua | 7 | 11583 | -- $Id: AirJet.lua 3171 2008-11-06 09:06:29Z det $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local AirJet = {}
AirJet.__index = AirJe... | gpl-2.0 |
openwayne/chaos_theory | mods/areas/api.lua | 4 | 4242 | local hudHandlers = {}
--- Adds a function as a HUD handler, it will be able to add items to the Areas HUD element.
function areas:registerHudHandler(handler)
table.insert(hudHandlers, handler)
end
function areas:getExternalHudEntries(pos)
local areas = {}
for _, func in pairs(hudHandlers) do
func(pos, areas)
... | lgpl-2.1 |
hfjgjfg/mehdi5 | plugins/ingroup.lua | 87 | 48801 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
AleksCore/Mr.Green-MTA-Resources | resources/[web]/irc/scripts/irccommands.lua | 2 | 47283 | --------------------------------------------------------
-- Name: irc --
-- Author: MCvarial <MCvarial@gmail.com> --
-- Date: 02-05-2010 --
--------------------------------------------------------
----------------------------------... | mit |
openwayne/chaos_theory | mods/minetest_hbhunger/hunger.lua | 3 | 18030 | -- Keep these for backwards compatibility
function hbhunger.save_hunger(player)
hbhunger.set_hunger_raw(player)
end
function hbhunger.load_hunger(player)
hbhunger.get_hunger_raw(player)
end
-- wrapper for minetest.item_eat (this way we make sure other mods can't break this one)
local org_eat = core.do_item_eat
core.... | lgpl-2.1 |
ArcherSys/ArcherSys | Lua/lua/oil/kernel/typed/Client.lua | 1 | 2762 | --------------------------------------------------------------------------------
------------------------------ ##### ## ------------------------------
------------------------------ ## ## # ## ------------------------------
------------------------------ ## ## ## ## ---------------------------... | mit |
Illarion-eV/Illarion-Content | quest/phillibald_221_runewick.lua | 1 | 3099 | --[[
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/copper_frog.lua | 18 | 1405 | -----------------------------------------
-- ID: 4515
-- Item: copper_frog
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
Illarion-eV/Illarion-Content | base/messages.lua | 4 | 4129 | --[[
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/Temenos/mobs/Enhanced_Mandragora.lua | 16 | 1050 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Mandragora
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cs.lua | 17 | 2441 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cs (Magical Gizmo) #4
-- Involved In Mission: The Horutoto Ruins Experiment
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
jsat97/sysdig | userspace/sysdig/chisels/dkjson.lua | 19 | 26592 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global valu... | gpl-2.0 |
shingenko/darkstar | scripts/globals/weaponskills/heavy_shot.lua | 30 | 1328 | -----------------------------------
-- Heavy Shot
-- Marksmanship weapon skill
-- Skill Level: 225
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifiers: AGI:30%
-- 1... | gpl-3.0 |
Illarion-eV/Illarion-Content | item/id_97_leatherbag.lua | 1 | 4596 | --[[
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 |
simon-wh/PAYDAY-2-BeardLib | Modules/Addons/MenuModule.lua | 2 | 2832 | MenuModule = MenuModule or BeardLib:ModuleClass("Menu", ModuleBase)
function MenuModule:init(...)
self.required_params = table.add(clone(self.required_params), {"menu"})
return MenuModule.super.init(self, ...)
end
function MenuModule:Load()
Hooks:Add("MenuManagerSetupCustomMenus", self._mod.Name .. "Build... | mit |
aTastyCookie/telegram-bot | plugins/rae.lua | 5 | 1311 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connexion"
end
dulcinea = json:decode(b)
i... | gpl-2.0 |
ArcherSys/ArcherSys | Lua/lua/getopt.lua | 2 | 8775 | --- Simplified getopt, based on Svenne Panne's Haskell GetOpt.<br>
-- Usage:
-- <ul>
-- <li><code>options = Options {Option {...} ...}</br>
-- getopt.processArgs ()</code></li>
-- <li>Assumes <code>prog = {name[, banner] [, purpose] [, notes] [, usage]}</code></li>
-- <li>Options take a single dash, but may have a doub... | mit |
Kefta/GSWeapons | gs_weapons_hl2beta/lua/code_gs/weapons_hl2beta/weapons/weapon_hlbase_machinegun.lua | 1 | 2285 | SWEP.Base = "basehlcombatweapon"
SWEP.PrintName = "HL2BetaBase_MachineGun"
SWEP.Primary.Spread = VECTOR_CONE_3DEGREES
SWEP.PunchAngle = {
Min = Vector(0.2, 0.2, 0.1), // Degrees
Clip = Angle(24, 3, 1), -- Angle punch clipping
Dampening = 0.5, // NOTE: 0.5 is just tuned to match the old effect before the punch bec... | mit |
wagonrepairer/Zero-K | scripts/RockPiece.lua | 14 | 4536 | --File: rockz.h.lua
--Description: Unit rocking script z-axis (roll) only.
--Author: Evil4Zerggin, rewritten in Lua by KingRaptor
--Date: 5 February 2008
--[[How to Use:
1. Copy the following to the top of your unit script, below the piecenum declarations. MAKE SURE YOU REPLACE VALUES WHEN APPROPRIATE.
DECLARE AS GLOB... | gpl-2.0 |
shingenko/darkstar | scripts/zones/Port_Bastok/npcs/Panana.lua | 17 | 1119 | -----------------------------------
-- Area: Port Bastok
-- NPC: Panana
-- Involved in Quest: Out of One's Shell
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tr... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Bearclaw_Pinnacle/npcs/Wind_Pillar.lua | 17 | 1432 | -----------------------------------
-- Area: Bearclaw Pinnacle
-- NPC: Wind Pillar
-----------------------------------
package.loaded["scripts/zones/Bearclaw_Pinnacle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/glob... | gpl-3.0 |
obsy/luci | applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua | 45 | 3678 | -- Copyright 2015 Jonathan Bennett <jbennett@incomsystems.biz>
-- Licensed to the public under the GNU General Public License v2.
m = Map("fwknopd", translate("Firewall Knock Operator"))
s = m:section(TypedSection, "global", translate("Enable Uci/Luci control")) -- Set uci control on or off
s.anonymous=true
s:option(... | apache-2.0 |
blobCopter/love-animation | animation.lua | 1 | 12698 | --[[
The MIT License (MIT)
Copyright (c) 2013 Patrick Rabier
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, me... | mit |
shingenko/darkstar | scripts/zones/Chateau_dOraguille/npcs/Nachou.lua | 38 | 1046 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Nachou
-- Type: Standard NPC
-- @zone: 233
-- @pos -39.965 -3.999 34.292
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
---... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Konschtat_Highlands/npcs/Signpost2.lua | 34 | 1033 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Signpost
-- @pos 387 32 386 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Konschtat_Highlands/TextIDs");
---------... | gpl-3.0 |
Illarion-eV/Illarion-Content | npc/base/consequence/skill.lua | 1 | 1899 | --[[
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/Halvung/npcs/qm3.lua | 16 | 1151 | -----------------------------------
-- Area: Halvung
-- NPC: ??? (Spawn Reacton(ZNM T2))
-- @pos 18 -9 213 62
-----------------------------------
package.loaded["scripts/zones/Halvung/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Halvung/TextIDs");
-----------------------------------
--... | gpl-3.0 |
HajiMokh/hmhaji | plugins/plugins.lua | 2 | 6592 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | agpl-3.0 |
wagonrepairer/Zero-K | units/armraz.lua | 3 | 8166 | unitDef = {
unitname = [[armraz]],
name = [[Razorback]],
description = [[Assault/Riot Strider]],
acceleration = 0.156,
brakeRate = 0.262,
buildCostEnergy = 4000,
buildCostMetal = 4000,
builder = false,
buil... | gpl-2.0 |
shingenko/darkstar | scripts/zones/Selbina/npcs/Bretta.lua | 34 | 1105 | -----------------------------------
-- Area: Selbina
-- NPC: Bretta
-- @zone
-- @pos
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------------------
-- onTrade Actio... | gpl-3.0 |
yogome/HeroesSaludables | data/levels/world2.lua | 1 | 33735 | local numberOfBacks = 4
local scale = (display.viewableContentHeight / 768) * 1024 * numberOfBacks
local worldData = {
path = {easingX = easing.linear, easingY = easing.inOutCubic},
icon = "images/worlds/mundos02.png",
--World = 2, Level = 1
[1] = {
x = scale * .067,
y = 100,
background = "images/backgrounds... | agpl-3.0 |
xswm1123/vlc | share/lua/playlist/youtube_homepage.lua | 113 | 1897 | --[[
Parse YouTube homepage and browse pages. Next step is to recode firefox
in VLC ... using Lua of course ;)
$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 F... | gpl-2.0 |
truefitness/vlc | share/lua/playlist/youtube_homepage.lua | 113 | 1897 | --[[
Parse YouTube homepage and browse pages. Next step is to recode firefox
in VLC ... using Lua of course ;)
$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 F... | gpl-2.0 |
Illarion-eV/Illarion-Content | npc/base/repeatable_quests.lua | 1 | 1611 | --[[
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 |
AleksCore/Mr.Green-MTA-Resources | resources/[gameplay]/mrgreen-sidebar/sb_c.lua | 2 | 12609 | -- Config
screenW,screenH = guiGetScreenSize()
scaleW = screenW/1920
scaleH = screenH/1080
sidebarLeft = screenW * 0
_sidebarLeft = sidebarLeft
sidebarTop = screenH * 0
sidebarWidth = screenW * 0.2--380
sidebarHeight = screenH * 1
BGAlpha = 235
sidebarColor = tocolor(47, 76, 49, BGAlpha)
sidebarEaseDuration = 80 -... | mit |
shingenko/darkstar | scripts/zones/Newton_Movalpolos/npcs/Treasure_Coffer.lua | 17 | 3324 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Treasure Coffer
-- @zone 12
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");... | gpl-3.0 |
wagonrepairer/Zero-K | LuaRules/Gadgets/unit_repair_speed.lua | 7 | 3793 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Repair Speed Changer",
desc = "Changes the repair speed for units that are in combat",
... | gpl-2.0 |
shingenko/darkstar | scripts/zones/Kazham/npcs/Tielleque.lua | 28 | 1798 | -----------------------------------
-- Area: Kazham
-- NPC: Tielleque
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
nicholas-leonard/dpnn | SpatialFeatNormalization.lua | 4 | 2447 | --[[
Color normalization (mean zeroing and dividing by standard deviation).
Basic preprocessing step widely used in training classifier with images.
--]]
local SpatialFeatNormalization, Parent = torch.class('nn.SpatialFeatNormalization', 'nn.Module')
function SpatialFeatNormalization:__init(mean, std)
Parent... | bsd-3-clause |
shingenko/darkstar | scripts/globals/abilities/curing_waltz.lua | 18 | 2328 | -----------------------------------
-- Ability: Curing Waltz
-- Heals HP to target player.
-- Obtained: Dancer Level 15
-- TP Required: 20%
-- Recast Time: 00:06
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
--... | gpl-3.0 |
fingon/hnet-core | pm_netifd_push.lua | 1 | 10561 | #!/usr/bin/env lua
-- -*-lua-*-
--
-- $Id: pm_netifd_push.lua $
--
-- Author: Markus Stenberg <markus stenberg@iki.fi>
--
-- Copyright (c) 2013 cisco Systems, Inc.
--
-- Created: Wed Oct 2 12:54:49 2013 mstenber
-- Last modified: Fri Dec 6 16:27:51 2013 mstenber
-- Edit time: 154 min
--
-- This is unidirec... | gpl-2.0 |
wagonrepairer/Zero-K | effects/gundam_comm_explosiona.lua | 26 | 4807 | -- comm_explosiona
return {
["comm_explosiona"] = {
dirt = {
count = 4,
ground = true,
properties = {
alphafalloff = 2,
alwaysvisible = true,
color = [[0.2, 0.1, 0.05]],
pos = [[r-10 r10, 0, r-10 r10... | gpl-2.0 |
fir3element/downgrade | data/talkactions/scripts/ban.lua | 39 | 1131 | local banDays = 7
function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
local name = param
local reason = ''
local separatorPos = param:find(',')
if separatorPos ~= nil then
name = param:sub(0, separatorPos - 1)
reason = string.trim(param:sub(separatorPos + 1))
e... | gpl-2.0 |
wagonrepairer/Zero-K | LuaRules/Utilities/weapon_index_compat_91.lua | 10 | 1029 | if (Game.version:find('91.0') == 1) then
local SetUnitWeaponState = Spring.SetUnitWeaponState
local GetUnitWeaponState = Spring.GetUnitWeaponState
local GetUnitWeaponVectors = Spring.GetUnitWeaponVectors
local SetUnitShieldState = Spring.SetUnitShieldState
local GetUnitShieldState = Spring.GetUnitShieldState
... | gpl-2.0 |
jyggen/lua-parser | tests/Fixtures/c4/35/29/885bcd1bb6e2e9d062a12860fc90e984c63b5b69b7a1cf4cfd323db215.lua | 1 | 35167 |
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:0,105680:0,122392:0,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 |
openwayne/chaos_theory | mods/mobf_core/mobf/factions.lua | 2 | 10037 | -------------------------------------------------------------------------------
-- Mob Framework Mod by Sapier
--
-- You may copy, use, modify or do nearly anything except removing this
-- copyright notice.
-- And of course you are NOT allow to pretend you have written it.
--
--! @file factions.lua
--! @brief contains ... | lgpl-2.1 |
AleksCore/Mr.Green-MTA-Resources | resources/[gameplay]/gcshop/gcshop_c.lua | 2 | 6056 | -----------------------
-- Shop by SDK --
-- gcshop_c.lua --
-----------------------
shop_GUI = nil
amount_GCS = 0
forumID = nil
------------------------------------
-- Building and toggling the shop --
------------------------------------
addEvent('onShopInit')
function startUp()
if not shop_GUI then
sh... | mit |
lixiantai/barrier_breaker | feeds/luci/applications/luci-commands/luasrc/model/cbi/commands.lua | 77 | 1141 | --[[
LuCI - Lua Configuration Interface
Copyright 2012 Jo-Philipp Wich <jow@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.0
]]--
local m,... | gpl-2.0 |
fzimmermann89/texlive.js | texlive/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/jedi/algorithms/SocialGravityCloseness.lua | 1 | 4611 | -- 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 SocialClass = {}
--Imports
local declare = require "pgf.gd.interfa... | gpl-2.0 |
ld-test/dromozoa-commons | test/test_uri.lua | 3 | 1702 | -- 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 |
Illarion-eV/Illarion-Content | triggerfield/altars_temple_of_five.lua | 1 | 3687 | --[[
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/bibiki_slug.lua | 18 | 1416 | -----------------------------------------
-- ID: 5122
-- Item: Bibiki Slug
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- defense % 16
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
jakezhaojb/NAMAS | summary/data.lua | 9 | 4950 | --
-- Copyright (c) 2015, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
--
-- Author: Alex... | bsd-3-clause |
shingenko/darkstar | scripts/globals/items/plate_of_vegan_sautee.lua | 35 | 1401 | -----------------------------------------
-- ID: 5184
-- Item: plate_of_vegan_sautee
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-- Ranged ACC % 7
-- Ranged ACC Cap 20
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
PhilMo6/Lua_pi_pan | obj/MotionSensor.lua | 1 | 10266 | local Cloneable = require("obj.Common")
local Sensor = Cloneable:clone()
local Button = require("obj.Button")
--[[
Object module for PIR motion sensors such as https://www.adafruit.com/product/189
The pin provided is hooked up to the PIR sensor and used to generate a button object that changes the motions sensors... | mit |
mohammadclashclash/mohammadc | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
padrinoo1/fick | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
redstormbot/zrdb | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
shingenko/darkstar | scripts/zones/Kazham/npcs/Haih_Ahmpagako.lua | 15 | 1101 | -----------------------------------
-- Area: Kazham
-- NPC: Haih Ahmpagako
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
--------------------------... | gpl-3.0 |
shingenko/darkstar | scripts/zones/PsoXja/Zone.lua | 12 | 4129 | -----------------------------------
--
-- Zone: PsoXja (9)
--
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/zones/PsoXja/TextIDs");
require... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Upper_Jeuno/npcs/Mailloquetat.lua | 17 | 1422 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Mailloquetat
-- Involved in Quests: Save my Sister
-- @zone 244
-- @pos -31 -1 8
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Arrapago_Reef/npcs/_jic.lua | 30 | 3664 | -----------------------------------
-- Area: Arrapago Reef
-- Door: Runic Seal
-- @pos 36 -10 620 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Mhaura/npcs/Hagain.lua | 17 | 2194 | -----------------------------------
-- Area: Mhaura
-- NPC: Hagain
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Upper_Jeuno/npcs/Glyke.lua | 37 | 1491 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Glyke
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
-... | gpl-3.0 |
fzimmermann89/texlive.js | texlive/texmf-dist/tex/luatex/luaotfload/fontloader-font-cid.lua | 2 | 5502 | if not modules then modules = { } end modules ['font-cid'] = {
version = 1.001,
comment = "companion to font-ini.mkiv",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}
local format, match, lo... | gpl-2.0 |
shingenko/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm1_3.lua | 19 | 2362 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: Shimmering Circle (BCNM Entrances)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/glob... | gpl-3.0 |
shingenko/darkstar | scripts/zones/Empyreal_Paradox/bcnms/dawn.lua | 7 | 3105 | -----------------------------------
-- Area: Empyreal_Paradox
-- Name: dawn
--instance 1
--16924673', 'Promathia V1', '936', '-520', '-119', '524
--16924674', 'Promathia V2', '11135', '-520', '-119', '524
--instance 2
--16924675', 'Promathia V1', '936', '521', '-0.500', '517
--16924676', 'Promathia V2', '11135'... | gpl-3.0 |
wagonrepairer/Zero-K | LuaRules/Gadgets/CAI/xponenUnitCluster.lua | 8 | 4361 |
local UnitListHandler = VFS.Include("LuaRules/Gadgets/CAI/UnitListHandler.lua")
local xponenUnitCluster = {}
function xponenUnitCluster.CreateUnitCluster(static)
local unitList = UnitListHandler.CreateUnitList(static)
local clusterInitialized, clusterExtracted = false,false
local clusterFeed_UnitPos = {}
loc... | gpl-2.0 |
shingenko/darkstar | scripts/zones/Metalworks/npcs/Elayne.lua | 34 | 1429 | -----------------------------------
-- Area: Metalworks
-- NPC: Elayne
-- Involved in Quest: Stamp Hunt
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Metalworks/TextID... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.