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 |
|---|---|---|---|---|---|
rns/libmarpa-bindings | lua/location.lua | 2 | 1670 | --[[
location object prototype for the Kollos project
according to
https://github.com/rns/kollos-luif-doc/blob/master/etc/internals.md
--]]
--[[
-- the blob name. Required. Archetypally a file name, but not all locations will be in files.
Blob name must be suitable for appearing in messages.
start() and end() ... | gpl-3.0 |
BillardDRP/nathaniel-rp-addons | addons/billard_ents/lua/entities/billard_wrap/init.lua | 1 | 1389 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
function ENT:Initialize()
self:SetModel("models/props/cs_office/Paper_towels.mdl")
self:SetMaterial("models/debug/debugwhite")
self:SetColor(Color(120, 255, 0, 255))
self:PhysicsInit(SOLID_VPHYSICS)
self:SetMoveType(MOVETYPE_V... | gpl-3.0 |
guiquanz/Dato-Core | src/unity/python/graphlab/lua/pl/lapp.lua | 20 | 13955 | --- Simple command-line parsing using human-readable specification.
-- Supports GNU-style parameters.
--
-- lapp = require 'pl.lapp'
-- local args = lapp [[
-- Does some calculations
-- -o,--offset (default 0.0) Offset to add to scaled number
-- -s,--scale (number) Scaling factor
-- ... | agpl-3.0 |
gedads/Neodynamis | scripts/zones/Southern_San_dOria_[S]/npcs/Wyatt.lua | 3 | 2081 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Wyatt
-- @zone 80
-- !pos 124 0 84
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("s... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/mobskills/hydro_canon.lua | 11 | 1388 | ---------------------------------------------------
-- Hydro_Canon
-- Description:
-- Type: Magical
-- additional effect : 40hp/tick Poison
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
-----------... | gpl-3.0 |
tommy3/Urho3D | Source/ThirdParty/toluapp/src/bin/lua/custom.lua | 25 | 1388 |
function extract_code(fn,s)
local code = ""
if fn then
code = '\n$#include "'..fn..'"\n'
end
s= "\n" .. s .. "\n" -- add blank lines as sentinels
local _,e,c,t = strfind(s, "\n([^\n]-)SCRIPT_([%w_]*)[^\n]*\n")
while e do
t = strlower(t)
if t == "bind_begin" then
_,e,c = strfind(s,"(.-)\n[^\n]... | mit |
hades2013/openwrt-mtk | package/ralink/ui/luci-mtk/src/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua | 141 | 1038 | --[[
smap_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
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$
]]--
require("luci.i18n")
re... | gpl-2.0 |
gedads/Neodynamis | scripts/zones/Apollyon/mobs/Fir_Bholg.lua | 17 | 1394 | -----------------------------------
-- Area: Apollyon SW
-- NPC: Fir Bholg
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/bowl_of_yayla_corbasi_+1.lua | 12 | 1481 | -----------------------------------------
-- ID: 5580
-- Item: bowl_of_yayla_corbasi_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 25
-- Dexterity -1
-- Vitality 3
-- HP Recovered While Healing 5
-- MP Recovered While Healing 2
-----------------------------------------
require("scr... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Lower_Jeuno/npcs/_l03.lua | 3 | 2851 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- !pos -87 0 -124 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
pedro-andrade-inpe/terrame | test/packages/twoerrors/tests/Tube2.lua | 3 | 1618 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2014 INPE and TerraLAB/UFOP.
--
-- This code is part of the TerraME framework.
-- This framework is free software; yo... | lgpl-3.0 |
gedads/Neodynamis | scripts/zones/Caedarva_Mire/npcs/_273.lua | 2 | 5138 | -----------------------------------
-- Area: Caedarva Mire
-- Door: Runic Seal
-- !pos -353 -3 -20 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/abilities/pets/flame_breath.lua | 11 | 1410 | ---------------------------------------------------
-- Flame Breath
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/ability")
---------------------------------------------------
... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/settings.lua | 9 | 12127 | -----------------------------------------------
------------- GLOBAL SETTINGS -------------
-----------------------------------------------
-- This is to allow server operators to further customize their servers. As more features are added to pXI, the list will surely expand.
-- Anything scripted can be customize... | gpl-3.0 |
pedro-andrade-inpe/terrame | packages/gis/data/emas.lua | 1 | 2738 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
starlightknight/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm19.lua | 11 | 1753 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm19 (??? - Bomb Coal Fragments)
-- Involved in Quest: In Defiant Challenge
-- !pos -50.175 6.264 251.669 200
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/settin... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/weaponskills.lua | 2 | 42744 | -- Contains all common weaponskill calculations including but not limited to:
-- fSTR
-- Alpha
-- Ratio -> cRatio
-- min/max cRatio
-- applications of fTP
-- applications of critical hits ('Critical hit rate varies with TP.')
-- applications of accuracy mods ('Accuracy varies with TP.')
-- applications of damage mods (... | gpl-3.0 |
mrdiegoa/ramcloud | ft/wireshark_rpc.lua | 20 | 5693 | -- (c) 2010 Stanford University
-- Wireshark is under the GPL, so I think this script has to be as well.
print("hello world!")
require "luabit/bit"
----------------
-- from http://ricilake.blogspot.com/2007/10/iterating-bits-in-lua.html:
function getbit(p)
return 2 ^ (p - 1) -- 1-based indexing
end
-- Typical call... | isc |
Maxsteam/4568584657657 | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
boliu/synchronicity | share/lua/playlist/canalplus.lua | 113 | 3501 | --[[
$Id: $
Copyright (c) 2007 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distr... | gpl-2.0 |
gedads/Neodynamis | scripts/zones/Abyssea-Uleguerand/npcs/qm8.lua | 3 | 1353 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm8 (???)
-- Spawns Anemic Aloysius
-- !pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tr... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/roast_pipira.lua | 11 | 1285 | -----------------------------------------
-- ID: 4538
-- Item: roast_pipira
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Mind -3
-- Attack % 14
-- Attack Cap 75
-- Ranged ATT % 14
-- Ranged ATT Cap 75
-----------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
LuaDist2/lua-fann | test/module.lua | 2 | 1669 | -- This Lua script demonstrates how to use the LuaFann module
-- through the require("fann") statement.
-- It is based on the xor_train.c and xor_test.c example
-- programs distributed with FANN
require("fann")
-- Create a neural network, with 2 inputs, two hidden layer neurons,
-- and one output neuron
ann = fann.c... | lgpl-2.1 |
starlightknight/darkstar | scripts/zones/King_Ranperres_Tomb/mobs/Cemetery_Cherry.lua | 10 | 1368 | -----------------------------------
-- Area: King Ranperres Tomb
-- NM: Cemetery Cherry
-- !pos 33.000 0.500 -287.000 190
-----------------------------------
local ID = require("scripts/zones/King_Ranperres_Tomb/IDs")
require("scripts/globals/titles")
-----------------------------------
function spawnSaplings()
... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Nashmau/npcs/Kyokyoroon.lua | 9 | 1194 | -----------------------------------
-- Area: Nashmau
-- NPC: Kyokyoroon
-- Standard Info NPC
-- !pos 18.020 -6.000 10.467 53
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
-----------------------------------
function onTrade(player,npc,trade)
if (playe... | gpl-3.0 |
laino/luakit | tests/test_clib_soup.lua | 6 | 2670 | require "lunit"
module("test_clib_soup", lunit.testcase, package.seeall)
function test_module()
assert_table(soup)
end
function test_properties()
-- accept_language accept_language_auto
soup.accept_language_auto = true
assert_equal(true, soup.accept_language_auto)
assert_string(soup.accept_languag... | gpl-3.0 |
pedro-andrade-inpe/terrame | packages/base/tests/internal/basic/utils.lua | 3 | 2604 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
groupforspeed/telespeed | plugins/location.lua | 93 | 1704 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
BeamNG/luawebserver | webserver.lua | 1 | 3601 | -- warning: this project was not completed, however the basefile serving over ltn12 should work
local M = {}
local bindhost = 'localhost'
local bindport = 23512
local tcp_socket = nil
local socket = require("socket.socket")
local url = require("socket.url")
local ltn12 = require("socket.ltn12")
ltn12.BLOCKSIZE... | isc |
starlightknight/darkstar | scripts/zones/Grauberg_[S]/IDs.lua | 9 | 1897 | -----------------------------------
-- Area: Grauberg_[S]
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.GRAUBERG_S] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back a... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/hellsteak_+1.lua | 12 | 1923 | -----------------------------------------
-- ID: 5610
-- Item: hellsteak_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 22
-- Strength 7
-- Intelligence -3
-- Health Regen While Healing 2
-- hMP +1
-- Attack % 20 (cap 150)
-- Ranged ATT % 20 (cap 150)
-- Dragon Killer 5
-------... | gpl-3.0 |
APItools/autoswagger.lua | spec/host_spec.lua | 1 | 17948 | local Host = require('autoswagger.host')
local EOL = require('autoswagger.lib.straux').EOL
local function create_host()
local h = Host:new('google.com', nil, nil, nil, 'guid')
h:learn("GET","/users/foo/activate.xml")
h:learn("GET","/applications/foo/activate.xml")
h:learn("GET","/applications/foo2/activate... | mit |
starlightknight/darkstar | scripts/globals/spells/absorb-chr.lua | 12 | 1564 | --------------------------------------
-- Spell: Absorb-CHR
-- Steals an enemy's Charism.
--------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMag... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Oldton_Movalpolos/Zone.lua | 13 | 2534 | -----------------------------------
--
-- Zone: Oldton_Movalpolos (11)
--
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/conquest");
require("scripts/zones/Oldton_Mova... | gpl-3.0 |
pichina/skynet | lualib/snax/hotfix.lua | 39 | 2268 | local si = require "snax.interface"
local io = io
local hotfix = {}
local function envid(f)
local i = 1
while true do
local name, value = debug.getupvalue(f, i)
if name == nil then
return
end
if name == "_ENV" then
return debug.upvalueid(f, i)
end
i = i + 1
end
end
local function collect_uv(f , ... | mit |
starlightknight/darkstar | scripts/globals/mobskills/chemical_bomb.lua | 12 | 1125 | ---------------------------------------------
-- Chemical_Bomb
--
-- Description: slow + elegy
---------------------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/settings")
require("scripts/globals/status")
---------------------------------------------
function onMobSkillC... | gpl-3.0 |
yaukeywang/2DPlatformer-SLua | Assets/StreamingAssets/Lua/Logic/LgBackgroundParallax.lua | 3 | 3371 | --
-- Back ground parallax class.
--
-- @filename LgBackgroundParallax.lua
-- @copyright Copyright (c) 2015 Yaukey/yaukeywang/WangYaoqi (yaukeywang@gmail.com) all rights reserved.
-- @license The MIT License (MIT)
-- @author Yaukey
-- @date 2015-09-02
--
local DLog = YwDebug.Log
local DLogWarn = YwDebug.Log... | mit |
gedads/Neodynamis | scripts/zones/Mount_Zhayolm/npcs/qm5.lua | 3 | 1335 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: ??? (Spawn Sarameya(ZNM T4))
-- !pos 322 -14 -581 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
require("scripts/g... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/dish_of_spaghetti_pescatora.lua | 11 | 1378 | -----------------------------------------
-- ID: 5191
-- Item: dish_of_spaghetti_pescatora
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 15
-- Health Cap 150
-- Vitality 3
-- Mind -1
-- Defense % 22
-- Defense Cap 65
-- Store TP 6
-----------------------------------------
requir... | gpl-3.0 |
sebastianlis/OOP-Samples-for-Corona-SDK | classes/samples/GettingStarted/TimeAnimation.lua | 1 | 4451 | require "classes.constants.screen"
TimeAnimation={}
function TimeAnimation:new()
local this = display.newGroup()
local public = this
local private = {}
local background = display.newImageRect("img/backgroundTimeAnimation.png", 360, 570)
local labelInfo = display.newText("Drag or fling ball to boun... | mit |
gedads/Neodynamis | scripts/commands/completequest.lua | 7 | 1554 | ---------------------------------------------------------------------------------------------------
-- func: completequest <logID> <questID> <player>
-- desc: Completes the given quest for the GM or target player.
---------------------------------------------------------------------------------------------------
requi... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Garlaige_Citadel/mobs/Fallen_Major.lua | 3 | 1055 | -- Area: Garlaige Citadel
-- MOB: Fallen Major
-- Note: Place holder Hovering Hotpot
-----------------------------------
require("scripts/zones/Garlaige_Citadel/MobIDs");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDea... | gpl-3.0 |
ykwd/thrift | lib/lua/TBinaryProtocol.lua | 90 | 6141 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
yaukeywang/2DPlatformer-SLua | Assets/StreamingAssets/Lua/sproto/testrpc.lua | 5 | 2610 | local sproto = require "sproto"
local print_r = require "print_r"
local server_proto = sproto.parse [[
.package {
type 0 : integer
session 1 : integer
}
foobar 1 {
request {
what 0 : string
}
response {
ok 0 : boolean
}
}
foo 2 {
response {
ok 0 : boolean
}
}
bar 3 {}
blackhole 4 {
}
]]
local client... | mit |
starlightknight/darkstar | scripts/globals/mobskills/crosswind.lua | 11 | 1102 | ---------------------------------------------
-- Crosswind
--
-- Description: Deals Wind damage to enemies within a fan-shaped area. Additional effect: Knockback
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes:
---------------------------------------------
require("script... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/stick_of_cotton_candy.lua | 12 | 1231 | -----------------------------------------
-- ID: 5709
-- Item: Cotton Candy
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- MP % 10 Cap 200
-- MP Healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Upper_Jeuno/npcs/Brutus.lua | 3 | 8199 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Brutus
-- Starts Quest: Chocobo's Wounds, Save My Son, Path of the Beastmaster, Wings of gold, Scattered into Shadow, Chocobo on the Loose!
-- !pos -55 8 95 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;... | gpl-3.0 |
etienne-gauvin/invaders | gui/main-menu-gui.lua | 1 | 1433 | local GUI = require 'gui'
local Button = require "uiobjects/button"
local gamestate = require "libs/hump/gamestate"
local MainMenuGUI = GUI:subclass('MainMenuGUI')
-- Création de l'interface
function MainMenuGUI:initialize(x, y, width, height)
GUI.initialize(self, x, y, width, height)
-- Liste des boutons
loc... | mit |
gedads/Neodynamis | scripts/globals/items/flame_claymore.lua | 7 | 1037 | -----------------------------------------
-- ID: 16588
-- Item: Flame Claymore
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------
function onAdditionalEffect... | gpl-3.0 |
DEVSTAEM/TAEMNEW | plugins/me.lua | 2 | 2580 |
do
local function run(msg,matches)
if is_sudo(msg) then
local sudo = "عزيز موقعك ومعلوماتك هنا 👇❤🍃"..msg.from.first_name.."\n"
.."🆔ايديك :("..msg.from.id..")\n"
.."🆔👥ايدي الكروب :("..msg.to.id..")\n"
.."💎معرفك :(@"..(msg.from.username or "لا يوجد")..")\n"
.."☎رقمك :("..(msg.from.phone or "... | gpl-2.0 |
gedads/Neodynamis | scripts/zones/Southern_San_dOria_[S]/npcs/Sabiliont.lua | 3 | 1706 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Sabiliont
-- @zone 80
-- !pos 9 2 -87
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
---------... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Rabao/npcs/Pakhi_Churhebi.lua | 3 | 1034 | ----------------------------------
-- Area: Rabao
-- NPC: Pakhi Churhebi
-- Type: Item Deliverer
-- @zone 247
-- !pos 158.428 7.999 78.009
--
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
-... | gpl-3.0 |
BillardDRP/nathaniel-rp-addons | addons/bperks/lua/autorun/sv_perks.lua | 1 | 1128 | --[[
List of Perks:
diehard - Explode on death
groundpound - Deal splash damage when hitting the group
feather - Take no fall damage
arson - Ignite targets
]]--
BPerks = {}
BPerks.PerkList = {
["diehard"] = true,
["groundpound"] = true,
["feather"] = true,
["arson"] = true,
}
local PlyMeta = FindMetaTable("Pla... | gpl-3.0 |
Amorph/premake-stable | tests/actions/vstudio/test_vs2010_flags.lua | 7 | 11973 |
T.vs2010_flags = { }
local vs10_flags = T.vs2010_flags
local sln, prj
function vs10_flags.setup()
_ACTION = "vs2010"
sln = solution "MySolution"
configurations { "Debug" }
platforms {}
prj = project "MyProject"
language "C++"
kind "ConsoleApp"
uuid "AE61726D-187C-E440-BD07-2556188A6565"
inc... | bsd-3-clause |
nathanaeljones/weaver-nodelua | lua/lib.lua | 1 | 7559 |
display={out=""}
this = {}
shared = {}
function roundtrip(type,name)
return state_update(coroutine.yield(outdata(type,name)))
end
function state_update(indata)
-- Display value is only passed in on occasion - if it's missing, we just use the copy we have.
if indata.display ~= nil then _G.display = indata.display e... | apache-2.0 |
gedads/Neodynamis | scripts/globals/items/pot_of_honey.lua | 12 | 1127 | -----------------------------------------
-- ID: 4370
-- Item: pot_of_honey
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/roast_carp.lua | 11 | 1069 | -----------------------------------------
-- ID: 4537
-- Item: roast_carp
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -1
-- Ranged ATT % 14 (cap 40)
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
----------... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/effects/int_boost.lua | 34 | 1027 | -----------------------------------
--
-- EFFECT_INT_BOOST
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:addMod(MOD_INT,effect:getPower());
end;
... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/dish_of_spaghetti_carbonara.lua | 11 | 1545 | -----------------------------------------
-- ID: 5190
-- Item: dish_of_spaghetti_carbonara
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 175
-- Magic 10
-- Strength 4
-- Vitality 2
-- Intelligence -3
-- Attack % 17
-- Attack Cap 65
-- Store TP 6
----------------... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/abilities/pets/attachments/heat_seeker.lua | 4 | 2220 | -----------------------------------
-- Attachment: Heat Seeker
-----------------------------------
require("scripts/globals/status")
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
pet:addListener("ENGAGE", "AUTO_HEAT_SEEKER_ENGAGE", function(pet, tar... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/abilities/pets/attachments/mana_channeler_ii.lua | 11 | 1251 | -----------------------------------
-- Attachment: Mana Channeler II
-----------------------------------
require("scripts/globals/status")
-----------------------------------
function onEquip(pet)
pet:addMod(dsp.mod.MATT, 20) -- Values unknown, best guess based on other attachment methods
pet:addMod(dsp.mod.A... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Sealions_Den/npcs/Airship_Door.lua | 8 | 1246 | -----------------------------------
-- Area: Sealion's Den
-- NPC: Airship_Door
-----------------------------------
local ID = require("scripts/zones/Sealions_Den/IDs")
-----------------------------------
function onTrade(player, npc, trade)
end
function onTrigger(player, npc)
local offset = npc:getID() - ID.npc... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Aydeewa_Subterrane/Zone.lua | 9 | 2145 | -----------------------------------
--
-- Zone: Aydeewa_Subterrane (68)
--
-----------------------------------
local ID = require("scripts/zones/Aydeewa_Subterrane/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
require(... | gpl-3.0 |
ironjade/DevStack | LanCom/DesignPattern/LUA/String.lua | 1 | 3449 | #!/usr/local/bin/lua
--[[
Copyright (c) 2004 by Bruno R. Preiss, P.Eng.
$Author: brpreiss $
$Date: 2004/12/05 14:47:20 $
$RCSfile: String.lua,v $
$Revision: 1.12 $
$Id: String.lua,v 1.12 2004/12/05 14:47:20 brpreiss Exp $
--]]
require "Class"
require "Integer"
-- Wrapper class for strings.... | apache-2.0 |
starlightknight/darkstar | scripts/zones/Norg/npcs/Ryoma.lua | 9 | 4100 | -----------------------------------
-- Area: Norg
-- NPC: Ryoma
-- Start and Finish Quest: 20 in Pirate Years, I'll Take the Big Box, True Will, Bugi Soden
-- Involved in Quest: Ayame and Kaede
-- !pos -23 0 -9 252
-----------------------------------
local ID = require("scripts/zones/Norg/IDs")
require("scripts/global... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Tavnazian_Safehold/Zone.lua | 9 | 2660 | -----------------------------------
--
-- Zone: Tavnazian_Safehold (26)
--
-----------------------------------
local ID = require("scripts/zones/Tavnazian_Safehold/IDs");
require("scripts/globals/conquest");
require("scripts/globals/settings");
require("scripts/globals/missions");
-----------------------------------
f... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Port_Windurst/npcs/Posso_Ruhbini.lua | 17 | 1550 | -----------------------------------
-- Area: Port Windurst
-- NPC: Posso Ruhbini
-- Regional Marchant NPC
-- Only sells when Windurst controlls Norvallen
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scrip... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/RuLude_Gardens/npcs/Radeivepart.lua | 9 | 2635 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Radeivepart
-- Starts and Finishes Quest: Northward
-- Involved in Quests: Save the Clock Tower
-- !pos 5 9 -39 243
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/s... | gpl-3.0 |
soulgame/slua | jit/jit/dis_arm64.lua | 59 | 30904 | ----------------------------------------------------------------------------
-- LuaJIT ARM64 disassembler module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--
-- Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
-- S... | mit |
starlightknight/darkstar | scripts/globals/spells/hojo_ni.lua | 12 | 1459 | -----------------------------------------
-- Spell: Hojo:Ni
-- Description: Inflicts Slow on target.
-- Edited from slow.lua
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onM... | gpl-3.0 |
Craige/prosody-modules | mod_statistics/stats.lib.lua | 32 | 4506 | local it = require "util.iterators";
local log = require "util.logger".init("stats");
local has_pposix, pposix = pcall(require, "util.pposix");
local human;
do
local tostring = tostring;
local s_format = string.format;
local m_floor = math.floor;
local m_max = math.max;
local prefixes = "kMGTPEZY";
local multipli... | mit |
gedads/Neodynamis | scripts/globals/items/truelove_chocolate.lua | 12 | 1219 | -----------------------------------------
-- ID: 5231
-- Item: truelove_chocolate
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP 10
-- MP Recovered While Healing 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
--... | gpl-3.0 |
O-P-E-N/CC-ROUTER | feeds/luci/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua | 68 | 2351 | -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require("luci.asterisk")
--
-- SIP trunk info
--
if arg[2] == "info" then
form = SimpleForm("asterisk", "SIP Trunk Information")
form.reset = false
form.submit = "Back to overview"
local info,... | gpl-2.0 |
starlightknight/darkstar | scripts/globals/mobskills/earth_pounder.lua | 11 | 1039 | ---------------------------------------------
-- Earth Pounder
--
-- Description: Deals Earth damage to enemies within area of effect. Additional effect: Dexterity Down
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 15' radial
-- Notes:
---------------------------------------------
require("sc... | gpl-3.0 |
Craige/prosody-modules | mod_register_web/mod_register_web.lua | 27 | 5718 | local captcha_options = module:get_option("captcha_options", {});
local nodeprep = require "util.encodings".stringprep.nodeprep;
local usermanager = require "core.usermanager";
local http = require "net.http";
local path_sep = package.config:sub(1,1);
module:depends"http";
local extra_fields = {
nick = true; name = ... | mit |
gedads/Neodynamis | scripts/globals/abilities/earth_maneuver.lua | 4 | 1867 | -----------------------------------
-- Ability: Earth Maneuver
-- Enhances the effect of earth attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
Microeinstein/ComputerCraftExe | craft.lua | 1 | 19162 | --AutoCraft for Turtles by Microeinstein
loadfile("stdturtle")()
local help = {
"Usage:",
" [-s] Scan bottom chest without move",
" [-t] Print only required items",
" recipeDir Recipe folder",
" objective Final recipe",
" [count] Amount of items"
}
args = {...}
argOnlyScan = false
argOnlyReq = false
argFo... | mit |
starlightknight/darkstar | scripts/zones/East_Ronfaure/Zone.lua | 9 | 1700 | -----------------------------------
--
-- Zone: East_Ronfaure (101)
--
-----------------------------------
local ID = require("scripts/zones/East_Ronfaure/IDs")
require("scripts/globals/icanheararainbow");
require("scripts/globals/chocobo_digging");
require("scripts/globals/conquest");
require("scripts/globals/quests")... | gpl-3.0 |
O-P-E-N/CC-ROUTER | feeds/luci/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua | 48 | 2480 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
m = Map("network", translate("Interfaces"))
m.pageaction = false
m:section(SimpleSection).template = "admin_network/iface_overvi... | gpl-2.0 |
gedads/Neodynamis | scripts/zones/Dangruf_Wadi/npcs/_5b1.lua | 3 | 2950 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: Strange Apparatus
-- !pos -494 -4 -100 191
-----------------------------------
package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil;
require("scripts/zones/Dangruf_Wadi/TextIDs");
require("scripts/globals/strangeapparatus");
--------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Tavnazian_Safehold/Zone.lua | 12 | 3369 | -----------------------------------
--
-- Zone: Tavnazian_Safehold (26)
--
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/zones/Tavnazian... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Windurst_Waters/npcs/Fuepepe.lua | 3 | 3822 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Fuepepe
-- Starts and Finishes Quest: Teacher's Pet
-- Involved in Quest: Making the grade, Class Reunion
-- !pos 161 -2 161 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
----------------------... | gpl-3.0 |
Craige/prosody-modules | mod_client_certs/mod_client_certs.lua | 27 | 13872 | -- XEP-0257: Client Certificates Management implementation for Prosody
-- Copyright (C) 2012 Thijs Alkemade
--
-- This file is MIT/X11 licensed.
local st = require "util.stanza";
local jid_bare = require "util.jid".bare;
local jid_split = require "util.jid".split;
local xmlns_saslcert = "urn:xmpp:saslcert:1";
local dm... | mit |
fz72/fancy_elevator | init.lua | 3 | 23605 | dofile(minetest.get_modpath("fancy_elevator").."/functions.lua")
dofile(minetest.get_modpath("fancy_elevator").."/doors.lua")
minetest.register_node("fancy_elevator:truss", {
description = "Truss Shaft",
tile_images = {"elevator_truss.png"},
drawtype = "nodebox",
paramtype = "light",
groups = {snappy=1, choppy=2,... | lgpl-2.1 |
starlightknight/darkstar | scripts/globals/spells/aquaveil.lua | 12 | 1319 | -----------------------------------------
-- Spell: Aquaveil
-- Reduces chance of having a spell interrupted.
-----------------------------------------
require("scripts/globals/magic")
require("scripts/globals/msg")
require("scripts/globals/settings")
require("scripts/globals/status")
----------------------------------... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/abilities/pets/attachments/tension_spring_iii.lua | 11 | 1329 | -----------------------------------
-- Attachment: Tension Spring III
-----------------------------------
require("scripts/globals/automaton")
require("scripts/globals/status")
-----------------------------------
function onEquip(pet)
onUpdate(pet, 0)
end
function onUnequip(pet)
updateModPerformance(pet, dsp.... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Windurst_Waters_[S]/npcs/Ponono.lua | 3 | 1059 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ponono
-- Type: Standard NPC
-- @zone 94
-- !pos 156.069 -0.001 -15.667
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Metalworks/npcs/Malduc.lua | 3 | 3690 | -----------------------------------
-- Area: Metalworks
-- NPC: Malduc
-- Type: Mission Giver
-- !pos 66.200 -14.999 4.426 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/RuLude_Gardens/npcs/_6r2.lua | 9 | 1933 | -----------------------------------
-- Area: Ru'Lude Gardens
-- Door: Bastokan Emb.
-- Bastok Missions 3.3 "Jeuno" and 4.1 "Magicite"
-----------------------------------
local ID = require("scripts/zones/RuLude_Gardens/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
-----------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Arrapago_Reef/npcs/Meyaada.lua | 3 | 2736 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: Meyaada
-- Type: Assault
-- !pos 22.446 -7.920 573.390 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Jugner_Forest/npcs/Signpost.lua | 17 | 2835 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Signpost
-- Involved in Quest: Grimy Signposts
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sajaaya.lua | 59 | 1060 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sajaaya
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Jugner_Forest/mobs/Sappy_Sycamore.lua | 3 | 1415 | ----------------------------------
-- Area: Jugner_Forest
-- NM: Sappy Sycamore
-----------------------------------
require("scripts/globals/msg");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
mob:setMobMod(MOBMOD_ADD_EFFECT,mob:getShor... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/flame_sword.lua | 7 | 1035 | -----------------------------------------
-- ID: 16621
-- Item: Flame Sword
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------
function onAdditionalEffect(pl... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/fulm-long_salmon_sub.lua | 11 | 1197 | -----------------------------------------
-- ID: 4266
-- Item: fulm-long_salmon_sub
-- Food Effect: 60Min, All Races
-----------------------------------------
-- DEX +2
-- VIT +1
-- AGI +1
-- INT +2
-- MND -2
-- Ranged Accuracy +3
-----------------------------------------
require("scripts/globals/status")
require("scri... | gpl-3.0 |
bradparks/hammerspoon-config | _scratch/eventtest.lua | 2 | 10839 | --
-- Eventtap testing
--
-- This is a sample file for testing out eventtap modules.
-- Currently it only tests receiving events and displaying the details in the hs console.
--
-- Place this file in your ~/.hammerspoon directory. Then you can play with it from the hs
-- console as follows:
--
-- dofile("eventtest.lu... | mit |
starlightknight/darkstar | scripts/zones/Kazham-Jeuno_Airship/npcs/Oslam.lua | 12 | 1848 | -----------------------------------
-- Area: Kazham-Jeuno Airship
-- NPC: Oslam
-- Standard Info NPC
-----------------------------------
local ID = require("scripts/zones/Kazham-Jeuno_Airship/IDs");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local ... | gpl-3.0 |
hades2013/openwrt-mtk | package/ralink/ui/luci-mtk/src/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/disk.lua | 86 | 1449 | --[[
Luci statistics - df plugin diagram definition
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
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.... | gpl-2.0 |
telergybot/zspam | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
Maxsteam/4568584657657 | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.