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 |
|---|---|---|---|---|---|
AresTao/darkstar | scripts/zones/Pashhow_Marshlands_[S]/npcs/Telepoint.lua | 19 | 1210 | -----------------------------------
-- Area: Pashhow Marshlands [S]
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Pashhow_Marshlands_[S]/TextIDs... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_4fz.lua | 17 | 1497 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Granite Door
-- Leads to painbrush room @ F-7
-- @pos 60 0.1 8 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyit... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Waughroon_Shrine/bcnms/prehistoric_pigeons.lua | 17 | 1788 | -----------------------------------
-- Area: Waughroon_Shrine
-- Name: Prehistoric Pigeons
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Port_Bastok/npcs/Ravorara.lua | 38 | 1028 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ravorara
-- Type: Quest Giver
-- @zone: 236
-- @pos -151.062 -7 -7.243
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
---------------------... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Porter_Moogle.lua | 41 | 1560 | -----------------------------------
-- Area: Southern San d'Oria [S]
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 80
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/So... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Monarch_Linn/npcs/Spatial_Displacement.lua | 19 | 2455 | -----------------------------------
-- Area: Monarch_Linn
-- NPC: Spatial Displacement
-- @pos -35 -1 -539 31
-----------------------------------
package.loaded["scripts/zones/Monarch_LinnTextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("... | gpl-3.0 |
DeinFreund/Zero-K | scripts/gunshipheavytrans.lua | 5 | 15406 | local body = piece 'body'
local LUpperClaw1 = piece 'LUpperClaw1'
local LMidClaw1 = piece 'LMidClaw1'
local LLowClaw1 = piece 'LLowClaw1'
local LUpperClaw2 = piece 'LUpperClaw2'
local LMidClaw2 = piece 'LMidClaw2'
local LLowClaw2 = piece 'LLowClaw2'
local LUpperClaw3 = piece 'LUpperClaw3'
local LMidClaw3 = pi... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Sauromugue_Champaign/npcs/qm6.lua | 19 | 2295 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm6 (???) (Tower 6)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- @pos 363.481 23.600 6.335 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
AresTao/darkstar | scripts/globals/mobskills/Tidal_Slash.lua | 25 | 1336 | ---------------------------------------------
-- Tidal Slash
--
-- Description: Deals Water<a href="http://images.wikia.com/ffxi/images/b/b7/Exclamation.gif" class="image" title="Verification Needed" data-image-name="Exclamation.gif" id="Exclamation-gif"><img alt="Verification Needed" src="http://images1.wikia.noc... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Riverne-Site_A01/npcs/HomePoint#1.lua | 19 | 1189 | -----------------------------------
-- Area: Riverne-Site A01
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
mikymod/crown | scripts/toolchain.lua | 3 | 11073 | --
-- Copyright (c) 2012-2021 Daniele Bartolini et al.
-- License: https://github.com/dbartolini/crown/blob/master/LICENSE
--
function toolchain(build_dir, lib_dir)
newoption
{
trigger = "compiler",
value = "COMPILER",
description = "Choose compiler",
allowed =
{
{ "android-arm", "Android - ARM" ... | mit |
AresTao/darkstar | scripts/globals/abilities/pets/burning_strike.lua | 25 | 1274 | ---------------------------------------------------
-- Burning Strike M = 6?
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/summon");
require("scripts/globals/magic");
require("scripts/globals/monstertpmoves")... | gpl-3.0 |
jsoberg/ESU_OpenRA | mods/ra/maps/soviet-06a/soviet06a.lua | 7 | 5974 | ArmorAttack = { }
AttackPaths = { { AttackWaypoint1 }, { AttackWaypoint2 } }
BaseAttackers = { BaseAttacker1, BaseAttacker2 }
InfAttack = { }
IntroAttackers = { IntroEnemy1, IntroEnemy2, IntroEnemy3 }
Trucks = { Truck1, Truck2 }
AlliedInfantryTypes = { "e1", "e1", "e3" }
AlliedArmorTypes = { "jeep", "jeep", "1tnk", "1... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Cape_Teriggan/npcs/Sarmistha_IM.lua | 28 | 3126 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Sarmistha, I.M.
-- Type: Outpost Conquest Guards
-- @pos -185 7 -63 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Northern_San_dOria/npcs/Pinok-Morok.lua | 53 | 1880 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pinok-Morok
-- Type: Smithing Synthesis Image Support
-- @pos -186.650 10.25 148.380 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Foret_de_Hennetiel/Zone.lua | 34 | 1255 | -----------------------------------
--
-- Zone: Foret de Hennetiel
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Foret_de_Hennetiel/TextIDs"] = nil;
require("scripts/zones/Foret_de_Hennetiel/TextIDs");
-----------------------------------
-- onI... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Mount_Zhayolm/TextIDs.lua | 7 | 1063 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6383; -- Obtained: <item>
GIL_OBTAINED = 6384; -- Obtained <number> gil
KEYITEM_OBTAINED = 6386; -- Obtain... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Dynamis-Buburimu/mobs/Serjeant_Tombstone.lua | 12 | 2484 | -----------------------------------
-- Area: Dynamis Buburimu
-- NPC: Serjeant_Tombstone
-----------------------------------
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Buburimu/TextIDs... | gpl-3.0 |
DeinFreund/Zero-K | LuaRules/Configs/StartBoxes/Lonely Oasis v1.lua | 19 | 5097 | local boxes = {
[0] = {
boxes = {
{
{5486, 2151},
{5537, 2426},
{5583, 2551},
{5648, 2630},
{5748, 2676},
{5924, 2680},
{6078, 2669},
{6165, 2687},
{6272, 2746},
{6420, 2777},
{6541, 2769},
{6668, 2694},
{6734, 2594},
{6765, 2447},
{6757, 2289},
{671... | gpl-2.0 |
AresTao/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#5.lua | 17 | 1250 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#5
-- @pos 305 -42 -427 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/glob... | gpl-3.0 |
AresTao/darkstar | scripts/globals/items/pot_of_honey.lua | 35 | 1143 | -----------------------------------------
-- ID: 4370
-- Item: pot_of_honey
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
AresTao/darkstar | scripts/globals/weaponskills/pyrrhic_kleos.lua | 18 | 4883 | -----------------------------------
-- Pyrrhic Kleos
-- Dagger weapon skill
-- Skill level: N/A
-- Description: Delivers a fourfold attack that lowers target's evasion. Duration of effect varies with TP. Terpsichore: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Dancer) ... | gpl-3.0 |
DeinFreund/Zero-K | LuaUI/Configs/sounds_noises.lua | 5 | 21940 | -- needs select[1] and ok[1] (and build for cons)
local sounds = {
-- Misc
default = {
ok = {
[1] = "light_bot_move",
},
select = {
[1] = "light_bot_select",
},
},
staticrearm = {
select = {
[1] = "building_select1",
},
},
athena = {
build = "builder_start",
ok = {
[1] = "gunship_move... | gpl-2.0 |
doubleorseven/google-cloud-datastore-lua | google/datastore/transaction.lua | 1 | 1508 | local Entity = require "google.datastore.entity"
local _M = {}
function _M:NewMutation()
local index = #self.mutations+1
self.mutations[index] = {}
return index
end
function _M:CreateEntity(namespace_id)
return Entity(self.project_id,namespace_id or nil)
end
function _M:Insert(index,entity)
self.add_opera... | mit |
AresTao/darkstar | scripts/globals/items/plate_of_boiled_barnacles.lua | 36 | 1279 | -----------------------------------------
-- ID: 5980
-- Item: Plate of Boiled Barnacles
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- Charisma -3
-- Defense % 25 Cap 130
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
dreamsxin/manaserv | scripts/lua/libmana.lua | 3 | 12713 | -------------------------------------------------------------
-- Mana Support Library --
-- --
-- Functions which are called by the game engine and --
-- helper functions useful for writing other scripts. --
-- ... | gpl-2.0 |
DeinFreund/Zero-K | LuaUI/Widgets/chili_new/handlers/skinhandler.lua | 9 | 4798 | --//=============================================================================
--// Theme
SkinHandler = {}
--//=============================================================================
--// load shared skin utils
local SkinUtilsEnv = {}
setmetatable(SkinUtilsEnv,{__index = getfenv()})
VFS.Include(CHILI_DIRNAM... | gpl-2.0 |
AresTao/darkstar | scripts/zones/RuLude_Gardens/npcs/Dugga.lua | 34 | 1074 | ----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Dugga
-- Type: Item Deliverer
-- @zone: 243
-- @pos -55.429 5.999 1.27
--
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
require("scripts/zones/RuLude_Gardens/TextIDs");
------------... | gpl-3.0 |
lukaspj/Torque6 | plugins/PolyVox/genie.lua | 4 | 2170 | function pluginBuildScript(_name)
project (_name)
location (path.join(BUILD_DIR, "plugins"))
targetdir (path.join(PLUGIN_BUILD_DIR, _name) .. "/1/")
targetname (_name)
language "C++"
kind "SharedLib"
flags {
"No64BitChecks",
"ExtraWarnings",
... | mit |
resetnow/premake-core | src/base/os.lua | 5 | 13481 | --
-- os.lua
-- Additions to the OS namespace.
-- Copyright (c) 2002-2014 Jason Perkins and the Premake project
--
---
-- Extend Lua's built-in os.execute() with token expansion and
-- path normalization.
--
premake.override(os, "execute", function(base, cmd)
cmd = os.translateCommands(cmd)
return... | bsd-3-clause |
DIVIY/TG-Bot | plugins/stats.lua | 22 | 4011 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
nucular/sfxrlua | demo/main.lua | 1 | 17082 | #/usr/bin/env love
-- love .
local sfxr = require("sfxr")
-- Global stuff
local source
local sound
local sounddata
local seed
local playbutton
local playing = false
local wavecanvas
local statistics = {
generation = 0,
transfer = 0,
waveview = 0,
duration = 0
}
-- This will hold all sliders and the... | mit |
bbalu/kong | kong/plugins/ratelimiting/access.lua | 12 | 2222 | local constants = require "kong.constants"
local timestamp = require "kong.tools.timestamp"
local responses = require "kong.tools.responses"
local _M = {}
function _M.execute(conf)
local current_timestamp = timestamp.get_utc()
-- Consumer is identified by ip address or authenticated_entity id
local identifier
... | mit |
mehulsbhatt/ntopng | scripts/lua/flow_details.lua | 2 | 21372 | --
-- (C) 2013-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
require "flow_utils"
require "voip_utils"
local json = require ("dkjson")
sendHTTPHeader('text/html; charset=iso-8859-1')
ntop.dumpFile(dirs.installdir .. "/http... | gpl-3.0 |
AresTao/darkstar | scripts/globals/mobskills/Nullifying_Dropkick.lua | 58 | 1046 | ---------------------------------------------
-- Nullifying Dropkick
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-----------------------------------... | gpl-3.0 |
openium/overthebox-feeds | luci-base/luasrc/model/uci.lua | 49 | 4995 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local os = require "os"
local uci = require "uci"
local util = require "luci.util"
local table = require "table"
local setmetatable, rawget, rawset = setmetatable, rawget, rawset
local require, getmetata... | gpl-3.0 |
roboxt/fik | bot/seedbot.lua | 8 | 10263 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Port_Jeuno/npcs/Zona_Shodhun.lua | 34 | 3745 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Zona Shodhun
-- Starts and Finishes Quest: Pretty Little Things
-- @zone 246
-- @pos -175 -5 -4
-----------------------------------
package.loaded["scripts/globals/settings"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Mesachedeau_RK.lua | 30 | 3070 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Mesachedeau, R.K.
-- Type: Outpost Conquest Guards
-- @pos 470.843 23.465 415.520 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Port_Bastok/npcs/Bagnobrok.lua | 36 | 1585 | -----------------------------------
-- Area: Port Bastok
-- NPC: Bagnobrok
-- Only sells when Bastok controls Movalpolos
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok/Tex... | gpl-3.0 |
yinjun322/skynet | lualib/sharemap.lua | 78 | 1496 | local stm = require "stm"
local sprotoloader = require "sprotoloader"
local sproto = require "sproto"
local setmetatable = setmetatable
local sharemap = {}
function sharemap.register(protofile)
-- use global slot 0 for type define
sprotoloader.register(protofile, 0)
end
local sprotoobj
local function loadsp()
if ... | mit |
resetnow/premake-core | tests/actions/vstudio/vc200x/test_configuration.lua | 6 | 2302 | --
-- tests/actions/vstudio/vc200x/test_configuration.lua
-- Test the Visual Studio 2002-2008 project's Configuration block
-- Copyright (c) 2009-2013 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_vc200x_configuration")
local vstudio = premake.vstudio
local vc200x = premake.vs... | bsd-3-clause |
AresTao/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Crochepallade.lua | 36 | 1043 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Crochepallade -- Name is Moogle for some reason
-- @zone 80
-- @pos -46 2 -8
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextI... | gpl-3.0 |
Milkyway-at-home/milkywayathome_client | mwtao/tests/stripe22.lua | 4 | 3586 |
wedge = 22
start = {
background = {
q = 0.31434394882494787193,
r0 = 2.87911089665332431409
},
streams = {
{
epsilon = -1.65881577218413367447,
mu = 135.91388126472116937293,
r = 18.13833616641942469982,
theta = 0.71972082401347736713,
... | gpl-3.0 |
DeinFreund/Zero-K | units/corcom1.lua | 5 | 5619 | unitDef = {
unitname = [[corcom1]],
name = [[Battle Commander]],
description = [[Heavy Combat Commander, Builds at 10 m/s]],
acceleration = 0.18,
activateWhenBuilt = true,
autoHeal = 5,
brakeRate = 0.375,
buildCostMetal = 1200,
build... | gpl-2.0 |
NeoRaider/luci | modules/luci-base/luasrc/sys/iptparser.lua | 47 | 9515 | --[[
Iptables parser and query library
(c) 2008-2009 Jo-Philipp Wich <jow@openwrt.org>
(c) 2008-2009 Steven Barth <steven@midlink.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:... | apache-2.0 |
DeinFreund/Zero-K | LuaRules/Gadgets/CAI/HeatmapHandler.lua | 9 | 8181 | --[[ Handles Heatmaps
* Use this file to create a heatmap object with a square size.
* Can add circles of heat or points.
* Is able to track units by unitID and update the heatmap based
on their position.
--]]
local ceil = math.ceil
local floor = math.floor
local max = math.max
local min = math.min
local abs = mat... | gpl-2.0 |
mehulsbhatt/ntopng | scripts/lua/network_load.lua | 2 | 4194 | --
-- (C) 2013-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
sendHTTPHeader('text/html; charset=iso-8859-1')
--sendHTTPHeader('application/json')
function dumpInterfaceStats(interface_name)
interface.select(interface_na... | gpl-3.0 |
ArduPilot/ardupilot | libraries/AP_Scripting/examples/set-target-location.lua | 18 | 2005 | -- performs the equivalent of a simple RTL in Guided mode using set_target_location
--
-- CAUTION: This script only works for Copter
-- this script checks for RC input > 1800 and then:
-- a) switches to Guided mode
-- b) sets the target location to be 10m above home
-- c) switches the vehicle to land once it i... | gpl-3.0 |
MarsTechHAN/Weasor | update2.lua | 1 | 1674 | require("FontBase")
dht = require("dht_lib")
local mq2 = require("AirQuality_Sensor")
mq2.init()
local function update_dht11(pin)
dht.read(pin)
disp:firstPage()
repeat
draw_dht11()
until disp:nextPage() == false
end
function draw_dht11()
disp:drawBitmap( 10, 0, 2, 16, bitmap_l... | mit |
AresTao/darkstar | scripts/globals/items/serving_of_mont_blanc.lua | 36 | 1423 | -----------------------------------------
-- ID: 5557
-- Item: Serving of Mont Blanc
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +10
-- Intelligence +1
-- HP Recoverd while healing 1
-- MP Recovered while healing 1
-------------------------------------... | gpl-3.0 |
DeinFreund/Zero-K | LuaRules/Gadgets/unit_puppy_handler.lua | 1 | 8114 |
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Puppy Handler",
desc = "Handlers the puppy weapon",
author = "quantum",
date ... | gpl-2.0 |
NeoRaider/luci | applications/luci-app-pbx/luasrc/model/cbi/pbx-advanced.lua | 18 | 14476 | --[[
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
... | apache-2.0 |
AresTao/darkstar | scripts/zones/Caedarva_Mire/npcs/Jazaraat_s_Headstone.lua | 21 | 1901 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Jazaraat's Headstone
-- Involved in mission: The Lost Kingdom (TOAUM 13)
-- @pos -389 6 -570 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
require("scripts/zones/Caedarva_Mire/TextIDs");
--------... | gpl-3.0 |
prosody-modules/import | mod_sift/mod_sift.lua | 32 | 6448 |
local st = require "util.stanza";
local jid_bare = require "util.jid".bare;
-- advertise disco features
module:add_feature("urn:xmpp:sift:1");
-- supported features
module:add_feature("urn:xmpp:sift:stanzas:iq");
module:add_feature("urn:xmpp:sift:stanzas:message");
module:add_feature("urn:xmpp:sift:stanzas:presence"... | mit |
chanko08/Ludum-Dare-33 | systems/player.lua | 2 | 4418 | local player = {}
player.assets = {
walk = {
path="assets/gfx/player_walk.png",
frame_width=36,
frames='1-6'
},
default = {
path="assets/gfx/player_stand.png",
frame_width=32,
frames=1
},
shoot = {
path="assets/gfx/player_fire.png",
frame_width=38,
frames=1
},
}
player... | mit |
AresTao/darkstar | scripts/zones/Port_San_dOria/npcs/Apstaule.lua | 36 | 1764 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Apstaule
-- Not used cutscenes: 541
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/quests");
r... | gpl-3.0 |
bbalu/kong | spec/unit/tools/responses_spec.lua | 20 | 4199 | local responses = require "kong.tools.responses"
local constants = require "kong.constants"
require "kong.tools.ngx_stub"
describe("Responses", function()
before_each(function()
mock(ngx, true) -- mock table with stubs.
end)
after_each(function()
ngx.ctx = {}
ngx.header = {}
-- Revert mocked f... | mit |
AresTao/darkstar | scripts/globals/items/serving_of_karni_yarik.lua | 35 | 1391 | -----------------------------------------
-- ID: 5588
-- Item: serving_of_karni_yarik
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- Attack % 20
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
AresTao/darkstar | scripts/zones/North_Gustaberg/npcs/Heavy_Fog_IM.lua | 30 | 3055 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Heavy Fog, I.M.
-- Type: Border Conquest Guards
-- @pos -520.704 38.75 560.258 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conque... | gpl-3.0 |
AresTao/darkstar | scripts/globals/spells/bluemagic/filamented_hold.lua | 18 | 1471 | -----------------------------------------
-- Spell: Filamented Hold
-- Reduces the attack speed of enemies within a fan-shaped area originating from the caster
-- Spell cost: 38 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1
-- Level: 52
-- Casting Time: ... | gpl-3.0 |
AresTao/darkstar | scripts/globals/items/bowl_of_loach_soup.lua | 36 | 1539 | -----------------------------------------
-- ID: 5671
-- Item: Bowl of Loach Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy 7% Cap 50
-- HP 7% Cap 50
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
DeinFreund/Zero-K | effects/gate.lua | 18 | 7475 | -- gate_teleport_smoke
-- gate_teleport
-- gate_teleport_circle_lightning
-- gate_teleport_glow
-- gate_teleport_rgroundflash
-- gate_teleport_circle_lightning_single
-- gate
-- gate_teleport_ygroundflash
return {
["gate_teleport_smoke"] = {
wezels = {
air = true,
class = ... | gpl-2.0 |
ArduPilot/ardupilot | libraries/AP_Scripting/examples/rover-set-turn-rate.lua | 17 | 1753 | -- This scirpt uses Rover's turn rate controller to make the vehicle move in circles of fixed radius
-- Edit these variables
local rad_xy_m = 0.5 -- circle radius in xy plane in m
local target_speed_xy_mps = 0.5 -- target speed in m/s
local rc_channel_switch = 7 -- switch this channel to "hi... | gpl-3.0 |
DeinFreund/Zero-K | LuaUI/Widgets/dbg_img_preload.lua | 7 | 1886 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Image Preloader",
desc = "Preloads images; fixes buildpic issues",
author = "jK",
d... | gpl-2.0 |
sipefree/guildpanel | Libs/AceGUI-3.0/widgets/AceGUIWidget-ScrollFrame.lua | 1 | 6573 | local AceGUI = LibStub("AceGUI-3.0")
-------------
-- Widgets --
-------------
--[[
Widgets must provide the following functions
Acquire() - Called when the object is aquired, should set everything to a default hidden state
Release() - Called when the object is Released, should remove any anchors and hide... | gpl-3.0 |
DeinFreund/Zero-K | LuaRules/Gadgets/mex_placement.lua | 2 | 6483 |
function gadget:GetInfo()
return {
name = "Mex Placement",
desc = "Controls mex placement and income",
author = "Google Frog", --
date = "21 April 2012",
license = "GNU GPL, v2 or later",
layer = -10,
enabled = true -- loaded by default?
}
end
-------------... | gpl-2.0 |
AresTao/darkstar | scripts/globals/items/crepe_caprice.lua | 36 | 1318 | -----------------------------------------
-- ID: 5776
-- Item: Crepe Caprice
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP +20
-- MP Healing 3
-- Magic Accuracy +5
-- Magic Defense +2
-----------------------------------------
require("scripts/globals/status");
---------------------... | gpl-3.0 |
tysonliddell/OpenRA | mods/d2k/maps/harkonnen-01b/harkonnen01b.lua | 8 | 5015 | --[[
Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
AresTao/darkstar | scripts/globals/items/handful_of_roasted_almonds.lua | 36 | 1079 | -----------------------------------------
-- ID: 5649
-- Item: Handful of Roasted Almonds
-- Food Effect: 5Min, All Races
-----------------------------------------
-- HP 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
resetnow/premake-core | tests/actions/make/cs/test_links.lua | 16 | 1181 | --
-- tests/actions/make/cs/test_links.lua
-- Tests linking for C# Makefiles.
-- Copyright (c) 2013 Jason Perkins and the Premake project
--
local suite = test.declare("make_cs_links")
local make = premake.make
local cs = premake.make.cs
local project = premake.project
--
-- Setup
--
local wks, p... | bsd-3-clause |
DeinFreund/Zero-K | units/tankarty.lua | 1 | 3329 | unitDef = {
unitname = [[tankarty]],
name = [[Emissary]],
description = [[General-Purpose Artillery]],
acceleration = 0.0282,
brakeRate = 0.136,
buildCostMetal = 700,
builder = false,
buildPic = [[tankarty.png]],
canGuard ... | gpl-2.0 |
renstrom/dotfiles | .config/nvim/lua/init.lua | 1 | 1446 | local luasnip = require("luasnip")
local o = vim.o
-- norcalli/nvim-colorizer.lua
require("colorizer").setup({
"colortemplate",
"conf",
css = { css = true },
"javascript",
"less",
"scss",
"typescript",
})
require("zen-mode").setup({
plugins = {
gitsigns = true,
tmux = true,
kitty = {
... | mit |
AresTao/darkstar | scripts/globals/items/anglers_cassoulet.lua | 18 | 1199 | -----------------------------------------
-- ID: 5704
-- Item: Anglers Cassoulet
-- Item Effect: Restores 60 HP over 1 hour, / 3600 seconds.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------------------------------... | gpl-3.0 |
komiga/site-core | Section.lua | 1 | 1347 |
local U = require "togo.utility"
local P = require "Pickle"
local Core = require "core/Core"
local Page = require "core/Page"
local NavItem = require "core/NavItem"
local M = U.module("Section")
M.tpl_url = [[<a target="_blank" href="%s">%s</a>]]
M.tpl_ref = [[<span class="para-ref" id="%s"><a href="#%s"></a></span>]... | mit |
AresTao/darkstar | scripts/zones/Windurst_Waters/npcs/Kopopo.lua | 33 | 1196 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Kopopo
-- Guild Merchant NPC: Cooking Guild
-- @pos -103.935 -2.875 74.304 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
AresTao/darkstar | scripts/globals/spells/luminohelix.lua | 22 | 1719 | --------------------------------------
-- Spell: Luminohelix
-- Deals light damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/global... | gpl-3.0 |
Randshot/ProjectPorcupine | Assets/StreamingAssets/LUA/RoomBehavior.lua | 36 | 3668 | -------------------------------------------------------
-- Project Porcupine Copyright(C) 2016 Team Porcupine
-- This program comes with ABSOLUTELY NO WARRANTY; This is free software,
-- and you are welcome to redistribute it under certain conditions; See
-- file LICENSE, which is part of this source code package, for ... | gpl-3.0 |
bluebarnacles/vlc-2.1 | share/lua/playlist/anevia_streams.lua | 112 | 3664 | --[[
$Id$
Parse list of available streams on Anevia Toucan servers.
The URI http://ipaddress:554/list_streams.idp describes a list of
available streams on the server.
Copyright © 2009 M2X BV
Authors: Jean-Paul Saman <jpsaman@videolan.org>
This program is free software; you can redistribute it and/or modify
... | gpl-2.0 |
AresTao/darkstar | scripts/globals/items/slab_of_ruszor_meat.lua | 18 | 1289 | -----------------------------------------
-- ID: 5755
-- Item: Slab of Ruszor Meat
-- Food Effect: 30Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
wizardbottttt/X | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
yinjun322/skynet | service/clusterd.lua | 6 | 3093 | local skynet = require "skynet"
local sc = require "socketchannel"
local socket = require "socket"
local cluster = require "cluster.core"
local config_name = skynet.getenv "cluster"
local node_address = {}
local node_session = {}
local command = {}
local function read_response(sock)
local sz = socket.header(sock:rea... | mit |
DeinFreund/Zero-K | LuaUI/Widgets/cmd_attack_command_helper.lua | 1 | 5032 | function widget:GetInfo()
return {
name = "Attack Command Helper",
desc = "Makes it easier to issue attack commands on moving units. Removes right click area attack.",
author = "GoogleFrog",
date = "24 January 2018",
license = "GNU GPL, v2 or later",
layer = -52,
enabled = true,... | gpl-2.0 |
AresTao/darkstar | scripts/globals/mobskills/Core_Meltdown.lua | 18 | 1084 | ---------------------------------------------------
-- Core Meltdown (Ghrah)
-- Reactor core fails and self-destructs, damaging any nearby targets.
-- Note: Very rare, estimated 5% chance
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Bastok_Mines/npcs/Eulaphe.lua | 28 | 2055 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Eulaphe
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Port_Jeuno/npcs/_6u4.lua | 17 | 1390 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Door: Departures Exit (for San D'Oria)
-- @zone 246
-- @pos -76 8 54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Windurst_Walls/npcs/Burute-Sorute.lua | 19 | 4642 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Burute-Sorute
-- Type: Title Change NPC
-- @zone: 239
-- @pos 0.080 -10.765 5.394 239
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
require("scripts/globals/titles");
local title2 = { NEW_ADVEN... | gpl-3.0 |
Jmainguy/docker_images | prosody/prosody/lib/prosody/util/json.lua | 5 | 10182 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local type = type;
local t_insert, t_concat, t_remove, t_sort = table.insert, table.concat, table.remove, ... | gpl-2.0 |
soroushwilson/soroush | plugins/helpfa.lua | 3 | 4201 | do
function run(msg, matches)
return [[ ⭕️دستورات فارسی ربات:
___________________
#info
🔰اطلاعات سوپر گروه🔰
#infull
🔰اطلاعات کامل خود🔰
#admins
🔰لیست ادمین های سوپر گروه🔰
#setadmin
🔰تنظیم ادمین سوپر گروه🔰
#owner
🔰مالک سوپر گروه🔰
#setowner
🔰تنظیم مالک سوپر گروه🔰
#modlist
🔰لیست مدیران🔰
#bots
🔰لیست... | gpl-2.0 |
mikymod/crown | 3rdparty/luajit/src/jit/dis_ppc.lua | 6 | 20301 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2021 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | mit |
mehulsbhatt/ntopng | scripts/lua/index.lua | 2 | 7653 | --
-- (C) 2013-15 - ntop.org
--
if(ntop.isPro()) then
print(ntop.httpRedirect(ntop.getHttpPrefix().."/lua/pro/dashboard.lua"))
return
end
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
-- io.write ("Session:".._SESSION["session"].."\n")
require "lua_utils"... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Northern_San_dOria/npcs/Matildie.lua | 34 | 1696 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Matildie
-- Adventurer's Assistant
-------------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
euromasochismo/facciamocome-mobile-corona | scenes/generate.lua | 1 | 5967 | -----------------------------------------------------------------------------------------
--
-- generate.lua
--
-----------------------------------------------------------------------------------------
local globals = require( "scripts.globals" )
local composer = require("composer")
local widget = require("widget")
l... | apache-2.0 |
AresTao/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f4.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 180 -34 -15 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
NREL/api-umbrella | src/api-umbrella/proxy/middleware/rate_limit.lua | 1 | 9359 | local config = require "api-umbrella.proxy.models.file_config"
local distributed_rate_limit_queue = require "api-umbrella.proxy.distributed_rate_limit_queue"
local function bucket_keys(settings, user, limit, current_time)
local bucket_time = math.floor(current_time / limit["accuracy"]) * limit["accuracy"]
local k... | mit |
AresTao/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mazween.lua | 34 | 1639 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mazween
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require(... | gpl-3.0 |
DeinFreund/Zero-K | scripts/staticmissilesilo.lua | 1 | 4038 | --------------------------------------------------------------------------------
-- refer to LuaRules\Gadgets\unit_missilesilo.lua for documentation
--------------------------------------------------------------------------------
include "constants.lua"
----------------------------------------------------------------... | gpl-2.0 |
AresTao/darkstar | scripts/zones/The_Boyahda_Tree/npcs/Mandragora_Warden.lua | 19 | 1951 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: Mandragora Warden
-- Type: Mission NPC
-- @pos 81.981 7.593 139.556 153
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
-----------------------------------
-----------------------------------
... | gpl-3.0 |
Gedo789/TrackAssemblyTool | lua/trackassembly/trackasmlib.lua | 1 | 240878 | local cvX, cvY, cvZ -- Vector Component indexes
local caP, caY, caR -- Angle Component indexes
local wvX, wvY, wvZ -- Wire vector Component indexes
local waP, waY, waR -- Wire angle Component indexes
---------------- Localizing instances ------------------
local SERVER = SERVER
local CLIENT = CLIENT
----------------... | agpl-3.0 |
uwinart/docker-stats | stats.lua | 1 | 2628 | #!/usr/bin/env tarantool
box.cfg {
listen = 3311,
logger = '/data/tarantool/stats.tarantool.log',
snap_dir = '/data/tarantool',
sophia_dir = '/data/tarantool',
wal_dir = '/data/tarantool'
}
require('console').listen('127.0.0.1:3312')
-- Создаем дополнительные функции
dofile('/data/tarantool/assets/next_id.... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.