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 |
|---|---|---|---|---|---|
panovr/neural-style | loadcaffe_wrapper.lua | 23 | 2438 | local ffi = require 'ffi'
require 'loadcaffe'
local C = loadcaffe.C
--[[
Most of this function is copied from
https://github.com/szagoruyko/loadcaffe/blob/master/loadcaffe.lua
with some horrible horrible hacks added by Justin Johnson to
make it possible to load VGG-19 without any CUDA dependency.
--]]
local fu... | mit |
lichtl/darkstar | scripts/zones/Norg/npcs/Washu.lua | 17 | 3758 | -----------------------------------
-- 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/globals/keyi... | gpl-3.0 |
robotii/Wren.NET | test/benchmark/fannkuch.lua | 13 | 1363 | -- The Computer Language Benchmarks Game
-- http://benchmarksgame.alioth.debian.org/
-- contributed by Mike Pall
local function fannkuch(n)
local p, q, s, sign, maxflips, sum = {}, {}, {}, 1, 0, 0
for i=1,n do p[i] = i; q[i] = i; s[i] = i end
repeat
-- Copy and flip.
local q1 = p[1] -- Cache 1st el... | mit |
lichtl/darkstar | scripts/zones/Palborough_Mines/npcs/_3z8.lua | 14 | 1541 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Refiner Lever
-- Involved In Mission: Journey Abroad
-- @zone 143
-- @pos 180 -32 167
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
ShahriyarB/Warcraft-Lua-Engine-2 | luasocket-master/test/testclnt.lua | 20 | 22707 | local socket = require"socket"
host = host or "localhost"
port = port or "8383"
function printf(...)
io.stderr:write(string.format(...))
end
function pass(...)
printf(...)
io.stderr:write("\n")
end
function fail(...)
io.stderr:write("ERROR: ")
printf(...)
io.stderr:write("!\n")
os.exit(... | gpl-2.0 |
taiha/luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua | 17 | 3220 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local wa = require "luci.tools.webadmin"
local fs = require "nixio.fs"
m = Map("network",
translate("Routes"),
translate("Routes specify over which interface and gateway a certain host or network " ..
"can ... | apache-2.0 |
lichtl/darkstar | scripts/zones/Nashmau/npcs/Mamaroon.lua | 17 | 1522 | -----------------------------------
-- Area: Nashmau
-- NPC: Mamaroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Southern_San_dOria/npcs/Lanqueron.lua | 14 | 1610 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Lanqueron
-- Type: Item Deliverer NPC
-- Involved in Quest: Lost Chick
-- @zone 230
-- @pos 0.335 1.199 -28.404
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
YuanPeir-Chen/turbo-support-mipsel | examples/chatapp/chatapp.lua | 12 | 4688 | --- Turbo.lua Chat app using WebSockets.
--
-- Copyright 2013 John Abrahamsen
--
-- 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... | apache-2.0 |
sjznxd/lc-20130222 | libs/rpcc/luasrc/rpcc/ruci.lua | 93 | 1432 | --[[
LuCIRPCc
(c) 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://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
local util = require "luci.ut... | apache-2.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/thunder_thrust.lua | 10 | 1302 | -----------------------------------
-- Thunder Thrust
-- Polearm weapon skill
-- Skill Level: 30
-- 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:40%
-- ... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Staff.lua | 9 | 1173 | -----------------------------------
-- Area: Dynamis - Xarcabard
-- Mob: Animated Staff
-----------------------------------
require("scripts/globals/status");
local ID = require("scripts/zones/Dynamis-Xarcabard/IDs");
-----------------------------------
function onMobEngaged(mob,target)
if (mob:AnimationSub() ==... | gpl-3.0 |
ThemInspectors/DST-Desert-Config | modinfo.lua | 1 | 1790 | name = "Desert Enhancement"
author = "ThemInspectors"
version = "2.3"
description = "Enhance your deserts \nNow compatible with the adventure mode mod!\nV-"..version
forumthread = ""
api_version = 10
priority = 8889 -- Compatibility with adveture mode
icon_atlas = "modicon.xml"
icon = "modicon.tex"
all_clients_requir... | gpl-3.0 |
jbeich/torch7 | random.lua | 72 | 1364 | local wrap = require 'cwrap'
require 'torchcwrap'
local interface = wrap.CInterface.new()
interface:print(
[[
#include "luaT.h"
#include "TH.h"
extern void torch_Generator_init(lua_State *L);
extern void torch_Generator_new(lua_State *L);
]])
for _,name in ipairs({"seed", "initialSeed"}) do
interface:wrap... | bsd-3-clause |
Marilynmontu/final-competiton | Tools/CHDK-Scripts/Cannon S100/3DR_EAI_S100.lua | 96 | 29695 |
--[[
KAP UAV Exposure Control Script v3.2
-- Released under GPL by waterwingz and wayback/peabody
http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script
3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot.
Changelog:
-Modified Tv, Av, and... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/spinning_fin.lua | 11 | 1046 | ---------------------------------------------
-- Spinning Fin
--
-- Description: Damages enemies in an area of effect. Additional effect: Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 10' radial
-- Notes:
---------------------------------------------
require("scripts/globals/settings")
re... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/absorb-int.lua | 12 | 1569 | --------------------------------------
-- Spell: Absorb-INT
-- Steals an enemy's intelligence.
--------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function ... | gpl-3.0 |
gebart/RIOT | examples/lua_REPL/repl.lua | 35 | 2683 | --[[
@file repl.lua
@brief Read-eval-print loop for LUA
@author Juan Carrano <j.carrano@fu-berlin.de>
Copyright (C) 2018 Freie Universität Berlin. Distributed under the GNU Lesser General Public License v2.1.
]]
local _R_EVAL = 0
local _R_CONT = 1
local _R_EXIT = 2
local _R_ERROR = 3
--[[ Read code fro... | lgpl-2.1 |
RunAwayDSP/darkstar | scripts/globals/items/slice_of_anchovy_pizza.lua | 11 | 1262 | -----------------------------------------
-- ID: 6217
-- Item: slice of anchovy_pizza
-- Food Effect: 30 minutes, all Races
-----------------------------------------
-- HP +30
-- DEX +1
-- Accuracy +9% (Cap 15)
-- Attack +10% (Cap 20)
-----------------------------------------
require("scripts/globals/status")
require("... | gpl-3.0 |
OctoEnigma/shiny-octo-system | lua/vgui/dsprite.lua | 1 | 1241 |
local PANEL = {}
AccessorFunc( PANEL, "m_Material", "Material" )
AccessorFunc( PANEL, "m_Color", "Color" )
AccessorFunc( PANEL, "m_Rotation", "Rotation" )
AccessorFunc( PANEL, "m_Handle", "Handle" )
function PANEL:Init()
self:SetColor( Color( 255, 255, 255, 255 ) )
self:SetRotation( 0 )
self:SetHandle( Vector(0.... | mit |
lichtl/darkstar | scripts/globals/items/death_scythe_+1.lua | 41 | 1069 | -----------------------------------------
-- ID: 16791
-- Item: Death Scythe +1
-- Additional Effect: Drains HP
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/commands/capskill.lua | 20 | 1978 | ---------------------------------------------------------------------------------------------------
-- func: capskill
-- desc: Caps a specific skill.
---------------------------------------------------------------------------------------------------
require("scripts/globals/status");
cmdprops =
{
permission = 1,
... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zabahf.lua | 9 | 1061 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zabahf
-- Type: Standard NPC
-- !pos -90.070 -1 10.140 50
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/quests")
-----------------------------------
function onTrade(player,npc,trade)
end
func... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/anchovy_pizza_+1.lua | 18 | 1264 | -----------------------------------------
-- ID: 5700
-- Item: anchovy_pizza_+1
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Dexterity 1
-- Attack 21%
--wiki has no data, so just basing stats off lq version
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/abilities/blade_bash.lua | 11 | 1639 | -----------------------------------
-- Ability: Blade Bash
-- Deliver an attack that can stun the target and occasionally cause Plague.
-- Obtained: Samurai Level 75
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
requir... | gpl-3.0 |
CLiENTProJeCt/FeeDMaN | plugins/owners.lua | 17 | 23756 | 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 'Group name is already locked'
else
data[tostring(target)]['settings'... | agpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/The_Ashu_Talif/mobs/Gessho.lua | 9 | 2086 | -----------------------------------
-- Area: The Ashu Talif (The Black Coffin)
-- Mob: Gessho
-- TOAU-15 Mission Battle
-----------------------------------
local ID = require("scripts/zones/The_Ashu_Talif/IDs")
require("scripts/globals/allyassist");
require("scripts/globals/instance");
require("scripts/globals/statu... | gpl-3.0 |
lichtl/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Grounds_Tome.lua | 26 | 1113 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Abyssea-Misareaux/npcs/qm10.lua | 14 | 1343 | -----------------------------------
-- Zone: Abyssea-Misareaux
-- NPC: qm10 (???)
-- Spawns Nonno
-- @pos ? ? ? 216
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[
... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/AlTaieu/mobs/Ruaern.lua | 9 | 2286 | -----------------------------------
-- Area: Al'Taieu
-- NM: Ru'aern
-- Note: Spawned by Rubious Crystals for PM 8-1
-----------------------------------
mixins = {require("scripts/mixins/job_special")}
local ID = require("scripts/zones/AlTaieu/IDs")
require("scripts/globals/missions")
--------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Norg/npcs/Paleille.lua | 14 | 1029 | ----------------------------------
-- Area: Norg
-- NPC: Paleille
-- Type: Item Deliverer
-- @zone 252
-- @pos -82.667 -5.414 52.421
--
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
require("scripts/zones/Norg/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
lichtl/darkstar | scripts/globals/weaponskills/blade_rin.lua | 26 | 1394 | -----------------------------------
-- Blade Rin
-- Katana weapon skill
-- Skill Level: 5
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Light Gorget.
-- Aligned with the Light Belt.
-- Element: None
-- Modifiers: STR:20% ; DEX:20%
-- 100%... | gpl-3.0 |
jbeich/torch7 | CmdLine.lua | 62 | 7104 | local CmdLine = torch.class('torch.CmdLine')
local function strip(str)
return string.match(str, '%-*(.*)')
end
local function pad(str, sz)
return str .. string.rep(' ', sz-#str)
end
function CmdLine:error(msg)
print('')
io.stderr:write(msg)
print('')
self:help()
os.exit(1)
end
function CmdLine:... | bsd-3-clause |
YuanPeir-Chen/turbo-support-mipsel | spec/mustache_spec.lua | 12 | 3827 | --- Turbo.lua Mustache test
--
-- Copyright 2013 John Abrahamsen
--
-- 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 ... | apache-2.0 |
scscgit/scsc_wildstar_addons | BGChron/BGChronMatch.lua | 1 | 21330 | -----------------------------------------------------------------------------------------------
-- Client Lua Script for BGChron
-- Copyright orbv, Celess. All rights reserved.
-----------------------------------------------------------------------------------------------
local BGChron = Apollo.GetAddon("BGChron")
if ... | mit |
lichtl/darkstar | scripts/globals/items/sausage.lua | 18 | 1644 | -----------------------------------------
-- ID: 4578
-- Item: sausage
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 3
-- Strength 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Ranged ATT % 27
-- Ranged ATT Cap 30
-----------------------------------------
require("scr... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/split_shot.lua | 10 | 1604 | -----------------------------------
-- Split Shot
-- Marksmanship weapon skill
-- Skill Level: 40
-- Ignores enemy's defense. Amount ignored varies with TP.
-- The amount of defense ignored is 0% @ 100TP, 35% @ 200TP and 50% @ 300TP.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light ... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/bluemagic/yawn.lua | 12 | 1688 | -----------------------------------------
-- Spell: Yawn
-- Puts all enemies within range to sleep
-- Spell cost: 55 MP
-- Monster Type: Birds
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+1, HP+5
-- Level: 64
-- Casting Time: 3 seconds
-- Recast Time: 60 seconds
-- Duration: 90 seconds
-- M... | gpl-3.0 |
da03/OpenNMT | tools/utils/alphabets.lua | 8 | 2259 | local alphabet = {}
alphabet.ranges = {
Latin={{0x0020,0x007F},{0x00A0,0x00FF},{0x0100,0x017F},{0x0180,0x024F}},
Braille={{0x2800,0x28FF}},
Greek={{0x0370,0x03FF}},
Cyrillic={{0x0400,0x04FF},{0x0500,0x052F}},
Armenian={{0x0530,0x058F}},
Hebrew={{0x0590,0x05FF}},
Arabic={{0x0600,0x06FF},{0xFB50,0xFDFF},{0... | mit |
NiLuJe/koreader | frontend/device/thirdparty.lua | 4 | 1853 | -- module for integration with thirdparty applications
local logger = require("logger")
local roles = {
"dict",
"translator",
}
local M = {}
function M:new(o)
-- platform specific function to check availability of apps at runtime.
if not o.check or type(o.check) ~= "function" then
o.check = f... | agpl-3.0 |
appwilldev/moochine | luasrc/mch/logger.lua | 2 | 3956 | #!/usr/bin/env lua
-- -*- lua -*-
-- Copyright 2012 Appwill Inc.
-- Author : KDr2
--
--
-- 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
-... | apache-2.0 |
RunAwayDSP/darkstar | scripts/globals/abilities/pets/blizzard_iv.lua | 11 | 1038 | ---------------------------------------------------
-- Aero 2
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/magic")
---------------------------------------------------
functio... | gpl-3.0 |
scscgit/scsc_wildstar_addons | Builder/libs/GeminiLocale-1.0/GeminiLocale.lua | 16 | 7227 | -------------------------------------------------------------------------------
-- GeminiLocale
-- Author: daihenka
-- Localization library based on AceLocale.
-- Parts of this library was inspired and/or contains snippets from
-- AceLocale-3.0.lua by Kaelten
-----------------------------------------------------------... | mit |
scscgit/scsc_wildstar_addons | Prestige/libs/GeminiLocale-1.0/GeminiLocale.lua | 16 | 7227 | -------------------------------------------------------------------------------
-- GeminiLocale
-- Author: daihenka
-- Localization library based on AceLocale.
-- Parts of this library was inspired and/or contains snippets from
-- AceLocale-3.0.lua by Kaelten
-----------------------------------------------------------... | mit |
undarl/Fission-and-Fusion | control.lua | 1 | 2051 | require ('scripts.fast-rtg-scripts')
require ('scripts.fusion-reactor-scripts')
require ('scripts.fusion-generator-scripts')
global = global or {}
global.reactors = global.reactors or {}
---Re-populate fusion generator table and reset recipes after a mod update.
script.on_configuration_changed(function(data)
if data... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/tornado_kick.lua | 10 | 2089 | -------------------------------
-- Skill: Tornado Kick
-- Class: H2H Weapon Skill
-- Level: 225
-- Mods : STR:37.5% VIT:30%
-- 100%TP 200%TP 300%TP
-- 2.0x 2.75x 3.5x
-- Delivers a twofold attack. Damage varies with TP.
-----------------------------------
require("scripts/globals/status")
require("scr... | gpl-3.0 |
zegotinha/LiveShift | vlclib/windows/lua/playlist/youtube.lua | 3 | 9141 | --[[
$Id$
Copyright © 2007-2009 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 dist... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Davoi/Zone.lua | 9 | 2178 | -----------------------------------
--
-- Zone: Davoi (149)
--
-----------------------------------
local ID = require("scripts/zones/Davoi/IDs")
require("scripts/globals/conquest")
require("scripts/globals/missions")
require("scripts/globals/treasure")
require("scripts/globals/quests")
---------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Yorcia_Weald_U/Zone.lua | 17 | 1097 | -----------------------------------
--
-- Zone: Yorcia Weald U
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Yorcia_Weald_U/TextIDs"] = nil;
require("scripts/zones/Yorcia_Weald_U/TextIDs");
-----------------------------------
-- onInitialize
-------------... | gpl-3.0 |
scscgit/scsc_wildstar_addons | RaidCore/Encounters/DS/EpAirLife.lua | 1 | 12586 | ----------------------------------------------------------------------------------------------------
-- Client Lua Script for RaidCore Addon on WildStar Game.
--
-- Copyright (C) 2015 RaidCore
----------------------------------------------------------------------------------------------------
--------------------------... | mit |
sdkbox/sdkbox-facebook-sample-v2 | external/emscripten/tests/lua/binarytrees.lua | 15 | 1346 | -- The Computer Language Benchmarks Game
-- http://benchmarksgame.alioth.debian.org/
-- contributed by Mike Pall
local function BottomUpTree(item, depth)
if depth > 0 then
local i = item + item
depth = depth - 1
local left, right = BottomUpTree(i-1, depth), BottomUpTree(i, depth)
return { item, left,... | mit |
RunAwayDSP/darkstar | scripts/globals/abilities/pets/attachments/heat_seeker.lua | 11 | 2184 | -----------------------------------
-- Attachment: Heat Seeker
-----------------------------------
require("scripts/globals/status")
-----------------------------------
function onEquip(pet)
pet:addListener("ENGAGE", "AUTO_HEAT_SEEKER_ENGAGE", function(pet, target)
pet:setLocalVar("heatseekertick", Vanadie... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/qm2.lua | 14 | 1423 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm2 (???)
-- Spawns Dhorme Khimaira
-- @pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tr... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskillids.lua | 9 | 9540 | ------------------------------------
-- WEAPONSKILL IDs
--
-- Contains readable values for Weaponskill IDs
------------------------------------
dsp = dsp or {}
------------------------------------
-- Weaponskill IDs
------------------------------------
dsp.weaponskill =
{
------------------------------------
... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Light.lua | 14 | 2406 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Light
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles"... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Gusgen_Mines/npcs/_5g1.lua | 14 | 1107 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5g1 (Door B)
-- @pos 20.002 -42.398 -25.499 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
-----------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/effects/sigil.lua | 12 | 2829 | -----------------------------------
--
-- dsp.effect.SIGIL
--
-----------------------------------
require("scripts/globals/status")
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower() -- Tracks which bonus effects are in use.
if (power == 1 or power == 3 or... | gpl-3.0 |
taiha/luci | protocols/luci-proto-relay/luasrc/model/network/proto_relay.lua | 61 | 2908 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local netmod = luci.model.network
local device = luci.util.class(netmod.interface)
netmod:register_pattern_virtual("^relay-%w")
local proto = netmod:register_protocol("relay")
function proto.get_i18n(self)
r... | apache-2.0 |
SendCroissant/ggut | game/dota_addons/barebones/scripts/vscripts/libraries/animations.lua | 6 | 16024 | ANIMATIONS_VERSION = "0.84"
--[[
Lua-controlled Animations Library by BMD
Installation
-"require" this file inside your code in order to gain access to the StartAnmiation and EndAnimation global.
-Additionally, ensure that this file is placed in the vscripts/libraries path and that the vscripts/libraries/modi... | apache-2.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/scorching_lash.lua | 11 | 1224 | ---------------------------------------------
-- Scorching Lash
--
-- Description: Deals heavy damage to targets behind user.
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Back
-- Notes: Used only if a target with hate is behind them. Conal behind Cerberus.
------------------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Metalworks/npcs/Hugues.lua | 6 | 1320 | -----------------------------------
-- Area: Metalworks
-- NPC: Hugues
-- Type: Smithing Synthesis Image Support
-- !pos -106.336 2.000 26.117 237
-----------------------------------
local ID = require("scripts/zones/Metalworks/IDs")
require("scripts/globals/status")
require("scripts/globals/crafting")
---------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/plate_of_bream_risotto.lua | 11 | 1369 | -----------------------------------------
-- ID: 4550
-- Item: plate_of_bream_risotto
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 40
-- Dexterity 6
-- Agility 3
-- Mind -4
-- Health Regen While Healing 1
-- Ranged Accuracy % 6
-- Ranged Accuracy Cap 15
-------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/abilities/water_shot.lua | 11 | 3144 | -----------------------------------
-- Ability: Water Shot
-- Consumes a Water Card to enhance water-based debuffs. Deals water-based magic damage
-- Drown Effect: Enhanced DoT and STR-
-----------------------------------
require("scripts/globals/ability")
require("scripts/globals/magic")
require("scripts/globals/statu... | gpl-3.0 |
punisherbot/he | plugins/Help.lua | 4 | 4984 | do
function pairsByKeys(t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
MightyPirates/OC-LuaJ | luaj-test/src/test/resources/errors/debuglibargs.lua | 1 | 7426 | package.path = "?.lua;test/lua/errors/?.lua"
require 'args'
local alevel = {25,'25'}
local afuncorlevel = {afunction,25,'25'}
local notafuncorlevel = {nil,astring,aboolean,athread}
local notafuncorthread = {nil,astring,aboolean}
-- debug.debug()
banner('debug.debug - no tests')
-- debug.gethook ([thread])
banner('de... | mit |
lichtl/darkstar | scripts/zones/Abyssea-Altepa/npcs/qm3.lua | 14 | 1375 | -----------------------------------
-- Zone: Abyssea-Altepa
-- NPC: qm3 (???)
-- Spawns Shaula
-- @pos ? ? ? 218
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[
... | gpl-3.0 |
scscgit/scsc_wildstar_addons | RaidCore/Encounters/RMT/miniboss/Tiny.lua | 1 | 1729 | ----------------------------------------------------------------------------------------------------
-- Client Lua Script for RaidCore Addon on WildStar Game.
--
-- Copyright (C) 2015 RaidCore
----------------------------------------------------------------------------------------------------
--------------------------... | mit |
RunAwayDSP/darkstar | scripts/globals/abilities/fire_shot.lua | 11 | 2980 | -----------------------------------
-- Ability: Fire Shot
-- Consumes a Fire Card to enhance fire-based debuffs. Deals fire-based magic damage
-- Burn effect: Enhanced DoT and INT-
-----------------------------------
require("scripts/globals/ability")
require("scripts/globals/magic")
require("scripts/globals/status")
-... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/qm1.lua | 12 | 1797 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: ???
-- Note: Spawns Ix'Aern (MNK)
-- !pos 460 0 540
-----------------------------------
local ID = require("scripts/zones/Grand_Palace_of_HuXzoi/IDs");
require("scripts/globals/npc_util");
require("scripts/globals/status");
------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/cone_calamary.lua | 11 | 1052 | -----------------------------------------
-- ID: 5128
-- Item: Cone Calamary
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
----------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Sacrificial_Chamber/mobs/Pevv the Riverleaper.lua | 19 | 1573 | -----------------------------------
-----------------------------------
-- Area: Sacrificial Chamber
-- MOB: Pevv the Riverleaper
-- BCNM: Amphibian Assault
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Sacrificial Chamber/MobIDs");
-----------------------------------
... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Tavnazian_Safehold/npcs/HomePoint#1.lua | 27 | 1289 | -----------------------------------
-- Area: Tavnazian_Safehold
-- NPC: HomePoint#1
-- @pos -1.250 -27.907 107.425 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Tavnazian_Safehold/TextIDs");
require... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Metalworks/npcs/Mythily.lua | 14 | 2218 | -----------------------------------
-- Area: Metalworks
-- NPC: Mythily
-- Type: Immigration NPC
-- @pos 94 -20 -8 237
-----------------------------------
require("scripts/globals/conquest");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)... | gpl-3.0 |
lichtl/darkstar | scripts/zones/RuAun_Gardens/mobs/Genbu.lua | 9 | 1553 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NM: Genbu
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Mhaura/npcs/Vera.lua | 14 | 3064 | -----------------------------------
-- Area: Mhaura
-- NPC: Vera
-- Finishes Quest: The Old Lady
-- @pos -49 -5 20 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
re... | gpl-3.0 |
Wiladams/LJIT2RenderingManager | testy/drm_fb_test.lua | 1 | 4595 |
--[[
Origin
This code was originally inspired by the very simple mode setting example here:
https://gist.github.com/uobikiemukot/c2be4d7515e977fd9e85
It was substantially rewritten and simplified further to match the object model
available in LJIT2RenderingManager.
This test will attempt to draw something on ... | mit |
arpanpal010/awesome | tags.lua | 1 | 2142 | -- ---------------------------------------------
-- LAYOUTS
-- ---------------------------------------------
-- Table of layouts to cover with awful.layout.inc, order matters.
--local greeks = { 'α', 'β', 'γ', 'δ', 'ε', 'ζ', 'η', 'θ', 'ι', 'κ', 'λ', 'μ', 'ν', 'ξ', 'ο', 'π', 'ρ', 'σ', 'τ', 'υ', 'φ', 'χ', 'ψ', 'ω' }
lay... | mit |
lichtl/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/qm5.lua | 9 | 1344 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm5 (???)
-- Spawns Blanga
-- @pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Nyzul_Isle/Zone.lua | 5 | 1117 | -----------------------------------
--
-- Zone: Nyzul_Isle
--
-----------------------------------
package.loaded["scripts/zones/Nyzul_Isle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Nyzul_Isle/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
CZ-NIC/turris-updater | tests/lua/lunit-launch.lua | 1 | 3126 | require 'lunit'
require 'utils'
function launch(test)
local stats = lunit.main({test})
return stats.errors, stats.failed
end
function assert_table_equal(t1, t2, tables, checked)
if t1 == t2 then
-- The exact same instance
return
end
-- Some pretty print of errors
if not tables then
local ok
ok, tables =... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Metalworks/npcs/Naji.lua | 9 | 5005 | -----------------------------------
-- Area: Metalworks
-- NPC: Naji
-- Involved in Quests: The doorman (finish), Riding on the Clouds
-- Involved in Mission: Bastok 6-2
-- !pos 64 -14 -4 237
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Bastok_Mines/npcs/Door_House.lua | 9 | 2394 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Door_House (Corsair's Bottes)
-- !pos 10 0 -16 234
-----------------------------------
local ID = require("scripts/zones/Bastok_Mines/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/npc_util")
-----------------------------------
func... | gpl-3.0 |
bear24rw/gamingcape_fceu | output/luaScripts/vnb.lua | 9 | 17034 |
-- Valkyrie no Bouken stuffs
-- This game sucks, don't play it
-- Lovingly based off of 4matsy's SMB code, and then mutilated and mamed as required
-- Xkeeper 2008, September 12th
require("x_functions");
x_requires(4);
-- *****************************************************************... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Windurst_Waters/npcs/Kyume-Romeh.lua | 14 | 3406 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Kyume-Romeh
-- Involved In Quest: Making Headlines, Hat in Hand
-- @pos -58 -4 23 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/qu... | gpl-3.0 |
taiha/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme.lua | 68 | 1037 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require "luci.asterisk"
cbimap = Map("asterisk", "MeetMe - Rooms")
meetme = cbimap:section(TypedSection, "meetme", "MeetMe Rooms")
meetme.addremove = true
meetme.anonymous = true
meetme.template = ... | apache-2.0 |
RunAwayDSP/darkstar | scripts/zones/RuAun_Gardens/mobs/Suzaku.lua | 11 | 1024 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NM: Suzaku
-----------------------------------
local ID = require("scripts/zones/RuAun_Gardens/IDs")
mixins = {require("scripts/mixins/job_special")}
require("scripts/globals/mobs")
-----------------------------------
function onMobInitialize(mob)
mo... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/dish_of_spaghetti_peperoncino_+1.lua | 17 | 1388 | -----------------------------------------
-- ID: 5197
-- Item: dish_of_spaghetti_peperoncino_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 30
-- Health Cap 75
-- Vitality 2
-- Store TP 6
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Wajaom_Woodlands/npcs/qm3.lua | 30 | 1356 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: ??? (Spawn Gotoh Zha the Redolent(ZNM T3))
-- @pos -337 -31 676 51
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wajaom_Woodlands/TextID... | gpl-3.0 |
bear24rw/gamingcape_fceu | output/luaScripts/Rewinder.lua | 9 | 2482 | -- NES Braidulator VERSION 1
--(C) Antony Lavelle 2009 got_wot@hotmail.com http://www.the-exp.net
-- A Lua script that allows 'Braid' style time reversal for Nes games being run in FCEUX
--'Braid' is copyright Jonathan Blow, who is not affiliated with this script, but you should all buy his game because i... | gpl-2.0 |
sdkbox/sdkbox-facebook-sample-v2 | samples/Lua/TestLua/Resources/luaScript/SpriteTest/SpriteTest.lua | 7 | 56235 | local size = CCDirector:sharedDirector():getWinSize()
local kTagTileMap = 1
local kTagSpriteBatchNode = 1
local kTagNode = 2
local kTagAnimation1 = 1
local kTagSpriteLeft = 2
local kTagSpriteRight = 2
local kTagSprite1 = 0
local kTagSprite2 = 1
local kTagSprite3 = 2
local kTagSprite4 = 3
local kTagSprite5 = 4
local kT... | mit |
lichtl/darkstar | scripts/zones/Aydeewa_Subterrane/npcs/qm3.lua | 29 | 1271 | -----------------------------------
-- Area: Aydeewa Subterrane
-- NPC: ??? (Spawn Chigre(ZNM T1))
-- @pos -217 35 12 68
-----------------------------------
package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aydeewa_Subterrane/TextIDs");
require... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Lufaise_Meadows/npcs/Ghost_Talker_IM.lua | 14 | 3334 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Ghost Talker, I.M.
-- Border Conquest Guards
-- @pos 414.659 0.905 -52.417 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Sacrarium/npcs/qm2.lua | 9 | 1607 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm2 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- !pos 102.669 -3.111 127.279 28
-----------------------------------
local ID = require("scripts/zones/Sacrarium/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
func... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Kazham/npcs/Kukupp.lua | 15 | 5595 | -----------------------------------
-- Area: Kazham
-- NPC: Kukupp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
require("scripts/globals/pathfind");
local path = {
43.067505, -11.000000, -177.214966,
43.583324, ... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Newton_Movalpolos/npcs/Furnace_Hatch.lua | 11 | 1126 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Furnace_Hatch
-----------------------------------
local ID = require("scripts/zones/Newton_Movalpolos/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/status")
-----------------------------------
function onTrade(player, npc, tra... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Castle_Oztroja/npcs/qm2.lua | 14 | 1427 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: qm2 (???)
-- Used In Quest: Whence Blows the Wind
-- @pos -100 -63 58 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Metalworks/npcs/_6ld.lua | 14 | 1334 | -----------------------------------
-- Area: Metalworks
-- Door: _6ld (President's Office)
-- @pos 92 -19 0.1 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Metalworks/Text... | gpl-3.0 |
scscgit/scsc_wildstar_addons | Perspective/Locale.lua | 1 | 51827 |
require "Apollo"
local PerspectiveLocale = Apollo.GetPackage("Gemini:Addon-1.1").tPackage:NewAddon("PerspectiveLocale", false)
function PerspectiveLocale:OnInitialize()
self.locale = self:LoadLocalization()
end
-- function PerspectiveLocale:OnEnable()
-- if Apollo.GetAddon("Rover") then
-- SendVarTo... | mit |
lichtl/darkstar | scripts/zones/VeLugannon_Palace/mobs/Detector.lua | 19 | 2565 | -----------------------------------
-- Area: VeLugannon Palace
-- MOB: Detector
-----------------------------------
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-----------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Abyssea-Konschtat/mobs/Turul.lua | 12 | 1284 | -----------------------------------
-- Area: Abyssea - Konschtat (15)
-- NM: Turul
-----------------------------------
mixins = {require("scripts/mixins/families/amphiptere")}
require("scripts/globals/status")
-----------------------------------
function onMobFight(mob,target)
-- Uncertain of threshold. Going wi... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.