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 |
|---|---|---|---|---|---|
czanyou/node.lua | core/lua/tls/init.lua | 1 | 2722 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
Copyright 2016-2020 The Node.lua Authors. All Rights Reserved.
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.apach... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/items/winterflower.lua | 3 | 1258 | -----------------------------------------
-- ID: 5907
-- Item: Winterflower
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility +3
-- Intelligence +5
-- Charisma -5
-- Resist Virus +20
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/guillotine.lua | 6 | 1689 | -----------------------------------
-- Guillotine
-- Scythe weapon skill
-- Skill level: 200
-- Delivers a four-hit attack. Duration varies with TP.
-- Modifiers: STR:25% ; MND:25%
-- 100%TP 200%TP 300%TP
-- 0.875 0.875 0.875
-----------------------------------
require("/scripts/globals/settings");
req... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/rarab_meatball.lua | 3 | 1604 | -----------------------------------------
-- ID: 4507
-- Item: rarab_meatball
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 10
-- Strength 2
-- Vitality 2
-- Intelligence -1
-- Attack % 30
-- Attack Cap 20
-- Ranged ATT % 30
-- Ranged ATT Cap 20
----------------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/abilities/pets/flaming_crush.lua | 2 | 1313 | ---------------------------------------------------
-- Flaming Crush M=10, 2, 2? (STILL don't know)
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/summon");
require("/scripts/globals/magic");
require("/scripts/glob... | gpl-3.0 |
UPenn-RoboCup/UPennalizers | Player/Config/World/Config_NaoV4_World_SPL16Grasp.lua | 1 | 7941 | module(..., package.seeall);
require('vector')
local unix = require('unix');
local robotName = unix.gethostname();
--Localization parameters for testing in Grasp
--The field is 85% of its real size
--But the size of the boxes and the distance between the goal posts are unchanged
world={};
world.n = 200;
world.xLineBo... | gpl-3.0 |
CCAAHH/best | plugins/plugins.lua | 37 | 4733 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Toraimarai_Canal/npcs/Transporter.lua | 19 | 1262 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: Transporter
-- Involved In Windurst Mission 7-1
-- @zone 169
-- @pos 182 11 -60 169
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
require("scripts/zones/Toraimarai_Canal/TextIDs");
--------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/RuLude_Gardens/npcs/Muhoho.lua | 4 | 1332 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Muhoho
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/globals/quests");
---... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Bastok_Markets/npcs/HomePoint#1.lua | 1 | 1259 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#1
-- @pos -293.048 -10.000 -102.558 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Bastok... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/chocolate_rarab_tail.lua | 3 | 1105 | -----------------------------------------
-- ID: 5921
-- Item: Chocolate Rarab Tail
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Dexterity 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Al_Zahbi/npcs/Dabigo.lua | 38 | 1030 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Dabigo
-- Type: Delivery Box Manager
-- @zone: 48
-- @pos -34.289 -1 -129.141
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/West_Ronfaure/Zone.lua | 6 | 4007 | -----------------------------------
--
-- Zone: West_Ronfaure (100)
--
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/zone");
require("script... | gpl-3.0 |
evanphx/gopher-lua | _lua5.1-tests/all.lua | 18 | 2711 | #!../lua
math.randomseed(0)
collectgarbage("setstepmul", 180)
collectgarbage("setpause", 190)
--[=[
example of a long [comment],
[[spanning several [lines]]]
]=]
print("current path:\n " .. string.gsub(package.path, ";", "\n "))
local msgs = {}
function Message (m)
print(m)
msgs[#msgs+1] = string.sub(... | mit |
Gwynthell/FFDB | scripts/zones/Southern_San_dOria/npcs/Pourette.lua | 2 | 2129 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Pourette
-- Only sells when San d'Oria controlls Derfland Region
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/har... | gpl-3.0 |
norefle/arenero | src/scenes/map/asset/level/level_1.lua | 1 | 2488 | return {
version = "1.1",
width = 25,
height = 25,
tilewidth = 64,
tileheight = 32,
tileset = {
image = "tileset_64x48_2.png",
imagewidth = 128,
imageheight = 48,
tilewidth = 64,
tileheight = 48,
tilecount = 2,
tileoffset = { x = 0, y = 0 },
spacing = 0,
... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/anchovy_pizza_+1.lua | 35 | 1287 | -----------------------------------------
-- 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... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f1.lua | 34 | 1105 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 215 -34 20 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Spire_of_Holla/bcnms/ancient_flames_beckon.lua | 7 | 3827 | -----------------------------------
-- Area: Spire_of_Holla
-- Name: ancient_flames_backon
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scrip... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/dragon_steak.lua | 35 | 1866 | -----------------------------------------
-- ID: 4350
-- Item: dragon_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 25
-- Strength 7
-- Intelligence -3
-- Health Regen While Healing 2
-- Attack % 20
-- Attack Cap 150
-- Ranged ATT % 20
-- Ranged ATT Cap 150
-- ... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Bastok_Mines/npcs/HomePoint#1.lua | 3 | 1713 | -----------------------------------
-- Area: Bastok Mines
-- NPC: HomePoint#1
-- @pos 39.189 0.001 -42.618 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Bastok... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Woods/npcs/Roberta.lua | 4 | 2043 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Roberta
-- Working 100%
-- @zone 241
-- @pos 21 -4 -157
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/red_lotus_blade.lua | 6 | 1237 | -----------------------------------
-- Red Lotus Blade
-- Sword weapon skill
-- Skill Level: 50
-- Deals fire elemental damage to enemy. Damage varies with TP.
-- Aligned with the Flame Gorget & Breeze Gorget.
-- Aligned with the Flame Belt & Breeze Belt.
-- Element: Fire
-- Modifiers: STR:30% ; INT:20%... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Bastok_Mines/npcs/HomePoint#1.lua | 1 | 1248 | -----------------------------------
-- Area: Bastok Mines
-- NPC: HomePoint#1
-- @pos 39.189 0.001 -42.618 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Bastok_Mines/Te... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/weaponskills/blast_arrow.lua | 30 | 1352 | -----------------------------------
-- Blast Arrow
-- Archery weapon skill
-- Skill level: 200
-- Delivers a melee-distance ranged attack. params.accuracy varies with TP.
-- Aligned with the Snow Gorget & Light Gorget.
-- Aligned with the Snow Belt & Light Belt.
-- Element: None
-- Modifiers: STR:16% ; AGI:25%
... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/abilities/chaos_roll.lua | 11 | 2156 | -----------------------------------
-- Ability: Chaos Roll
-- Enhances attack for party members within area of effect
-- Optimal Job: Dark Knight
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 14
--
-- Die Roll |No DRK |With DRK
-- -------- -------- -----------
-- 1 |6% |16%
-- 2 ... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_mf8.lua | 17 | 1401 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: _mf8 (Granite Door)
-- Notes: Opens with Prelate Key
-- @pos -11 -8 -99 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zo... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/abilities/pets/thunderspark.lua | 6 | 1492 | ---------------------------------------------------
-- Thunderspark M=whatever
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/summon");
require("/scripts/globals/magic");
require("/scripts/globals/monstertp... | gpl-3.0 |
BurmistrovJ/prosody-modules | mod_auth_ha1/mod_auth_ha1.lua | 32 | 3019 | -- Prosody IM
-- Copyright (C) 2014 Matthew Wild
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local usermanager = require "core.usermanager";
local new_sasl = require "util.sasl".new;
local nodeprep = require "util.encodings".stringprep.nodeprep... | mit |
Gwynthell/FFDB | scripts/zones/Apollyon/mobs/Metalloid_Amoeba.lua | 2 | 1226 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Metalloid_Amoeba
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------... | gpl-3.0 |
czanyou/node.lua | core/tests/fs/test-fs-write.lua | 1 | 2154 | --[[
Copyright 2015 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Mount_Zhayolm/mobs/Magmatic_Eruca.lua | 10 | 1351 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Magmatic Eruca
-- Note: Place Holder Energetic Eruca
-----------------------------------
require("/scripts/zones/Mount_Zhayolm/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function o... | gpl-3.0 |
alagoutte/ntopng | scripts/lua/examples/ntop.lua | 12 | 7874 | --
-- (C) 2013 - ntop.org
--
-- Ntop lua class example
function printTable(table,key)
if (key ~= nil) then print(""..key..":<ul>") end
for k, v in pairs(table) do
if (type(v) == "table") then
printTable(table[k],k)
else
if (type(v) == "boolean") then
if (v) then v = "true" else v = "f... | gpl-3.0 |
starius/luahs | spec/database_spec.lua | 1 | 2926 | -- luahs, Lua bindings to hyperscan
-- Copyright (C) 2016 Boris Nagaev
-- See the LICENSE file for terms of use.
local luahs = require 'luahs'
describe("database", function()
it("get description of the database as string", function()
local db = luahs.compile {
expression = 'aaa',
... | bsd-3-clause |
Gwynthell/FFDB | scripts/globals/spells/bluemagic/jet_stream.lua | 4 | 1026 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,spell)
... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Woods/npcs/Mourices.lua | 23 | 3282 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mourices
-- Involved In Mission: Journey Abroad
-- @zone 241
-- @pos -50.646 -0.501 -27.642
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Port_Bastok/npcs/Ominous_Cloud.lua | 19 | 5262 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ominous Cloud
-- Type: Traveling Merchant NPC
-- @zone: 236
-- @pos 146.962 7.499 -63.316
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
--... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Heavens_Tower/npcs/_6q2.lua | 11 | 3262 | -----------------------------------
-- Area: Heaven's Tower
-- NPC: Vestal Chamber (chamber of the Star Sibyl)
-- @pos 0.1 -49 37 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Northern_San_dOria/npcs/Synergy_Engineer.lua | 38 | 1056 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Synergy Engineer
-- Type: Standard NPC
-- @zone: 231
-- @pos -123.000 10.5 244.000
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] ... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Giddeus/npcs/Laa_Mozi.lua | 19 | 1976 | -----------------------------------
-- Area: Giddeus
-- NPC: Laa Mozi
-- Involved in Mission 1-3
-- @pos -22 0 148 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/... | gpl-3.0 |
szorfein/dotfiles | themes/lines/.config/awesome/bars/lines.lua | 1 | 2561 | local awful = require("awful")
local wibox = require("wibox")
local helper = require("utils.helper")
local mybar = class()
function mybar:init(s)
-- Create an imagebox widget which will contain an icon indicating which layout we're using.
-- We need one layoutbox per screen.
s.mylayoutbox = require("widgets.la... | mit |
Gwynthell/FFDB | scripts/zones/Attohwa_Chasm/npcs/Cradle_of_Rebirth.lua | 2 | 1494 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Cradle_of_Rebirth
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Attohwa_Chasm/TextIDs");
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Apollyon/npcs/Sentinel_Column.lua | 18 | 1157 | -----------------------------------
-- Area: Appolyon
-- NPC: Sentinel_Column
-- @pos
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
----------------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Apollyon/npcs/Sentinel_Column.lua | 18 | 1157 | -----------------------------------
-- Area: Appolyon
-- NPC: Sentinel_Column
-- @pos
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
----------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Temenos/mobs/Enhanced_Dragon.lua | 1 | 1243 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Enhanced_Dragon
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
---------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/spells/absorb-int.lua | 2 | 1229 | --------------------------------------
-- Spell: Absorb-INT
-- Steals an enemy's intelligence.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/bluemagic/screwdriver.lua | 28 | 1906 | -----------------------------------------
-- Spell: Screwdriver
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 21 MP
-- Monster Type: Aquans
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1, CHR+1, HP+10
-- Level: 26
-- Casting Time: 0.5 seconds
-... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Davoi/npcs/Village_Well.lua | 27 | 1849 | -----------------------------------
-- Area: Davoi
-- NPC: Village Well
-- Involved in Quest: Under Oath
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/plate_of_sole_sushi.lua | 20 | 1454 | -----------------------------------------
-- ID: 5149
-- Item: plate_of_sole_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Dexterity 6
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Mamook/npcs/qm1.lua | 8 | 1150 | -----------------------------------
-- Area: Mamook
-- NPC: ??? (Spawn Chamrosh(ZNM T1))
-- @pos 206 14 -285 65
-----------------------------------
package.loaded["scripts/zones/Mamook/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mamook/TextIDs");
-----------------------------------
--... | gpl-3.0 |
quyse/inanity | deps/bullet/repo/build/premake4.lua | 5 | 5102 | --add the 0 so the solution comes first in the directory (when sorted on name)
--print "uncomment this hello premake4 world for debugging the script"
solution "0BulletSolution"
newoption {
trigger = "ios",
description = "Enable iOS target (requires xcode4)"
}
newoption {
trigger = "without-demos... | mit |
Vivitarut/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0ru.lua | 17 | 1609 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -63.699 -26.227 43.009 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zo... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pelsey-Holsey.lua | 38 | 1052 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pelsey-Holsey
-- Type: Standard NPC
-- @zone: 94
-- @pos 119.755 -4.5 209.754
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni... | gpl-3.0 |
msafin/luci | modules/niu/luasrc/model/cbi/niu/network/wlanwan.lua | 50 | 9208 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 Steven Barth <steven@midlink.org>
Copyright 2009 Jo-Philipp Wich <xm@subsignal.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://w... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Woods/npcs/Valeriano.lua | 36 | 1752 | -----------------------------------
-- Area: Windurst_Woods
-- NPC: Valeriano
-- Standard Merchant NPC
-- Working 100%
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Port_San_dOria/npcs/Crilde.lua | 36 | 1372 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Crilde
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextID... | gpl-3.0 |
farid79n/AdvanSource | system/libs/url.lua | 567 | 9183 | --[[
Copyright 2004-2007 Diego Nehab.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute,... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/abilities/pets/heavenly_strike.lua | 25 | 1296 | ---------------------------------------------------
-- Geocrush
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
--------------------------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Southern_San_dOria/npcs/Ophelia.lua | 36 | 1433 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ophelia
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
jdhk94/DarkRP | entities/entities/darkrp_laws/shared.lua | 11 | 3345 | ENT.Type = "anim"
ENT.Base = "base_gmodentity"
ENT.PrintName = "DarkRP Laws"
ENT.Instructions = "Use /addlaws to add a custom law, /removelaw <num> to remove a law."
ENT.Author = "Drakehawke"
ENT.Spawnable = false
local plyMeta = FindMetaTable("Player")
DarkRP.declareChatCommand{
command = "addlaw",
descripti... | mit |
Gwynthell/FFDB | scripts/zones/Tavnazian_Safehold/npcs/Komalata.lua | 6 | 1437 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Komalata
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/West_Sarutabaruta/npcs/Darumomo_WW.lua | 30 | 3068 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Darumomo, W.W.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
shkan/DB | plugins/id.lua | 31 | 6231 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Waters/npcs/Jatan-Paratan.lua | 36 | 3239 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jatan-Paratan
-- Starts and Finished Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -59 -4 22
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/external/lua/luasocket/mbox.lua | 89 | 2648 | local _M = {}
if module then
mbox = _M
end
function _M.split_message(message_s)
local message = {}
message_s = string.gsub(message_s, "\r\n", "\n")
string.gsub(message_s, "^(.-\n)\n", function (h) message.headers = h end)
string.gsub(message_s, "^.-\n\n(.*)", function (b) message.body = b end)
... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/Excavation_Point.lua | 4 | 1623 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Excavation Point
-- Used in Quest: The Holy Crest
-- @pos 234 0.1 -110 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/e... | gpl-3.0 |
szorfein/dotfiles | awesomewm/.config/awesome/utils/modal.lua | 1 | 1804 | local wibox = require("wibox")
local screen = require("awful.screen")
local helper = require("utils.helper")
local button = require("awful.button")
local table = require("gears.table")
local widget = require("utils.widget")
local modal = {}
function modal:init(s)
self.screen = s or screen.focused()
self.height = ... | mit |
Gwynthell/FFDB | scripts/zones/Windurst_Woods/npcs/Perih_Vashai.lua | 4 | 6798 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Parih Vashai
-- Starts and Finishes Quest: The Fanged One
-- @zone 241
-- @pos 117 -3 92
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
crazyhamedboy/crazyboyboy | plugins/tweet.lua | 634 | 7120 | local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
local client = OAuth.new(consumer_key,
consumer_secret,
... | gpl-2.0 |
jeiboor/nfrat | plugins/tweet.lua | 634 | 7120 | local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
local client = OAuth.new(consumer_key,
consumer_secret,
... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Walls/npcs/Raamimi.lua | 19 | 2999 | -----------------------------------
-- Area: Windurst Walls
-- Location: X:-81 Y:-9 Z:103
-- NPC: Raamimi
-- Working 100%
-- Involved in Quest: To Bee or Not to Bee?
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
----------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/abilities/pets/frost_breath.lua | 4 | 1218 | ---------------------------------------------------
-- Frost Breath
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
---------------------------------------------------
function OnAbilityCheck(pla... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/spells/horde_lullaby_ii.lua | 6 | 1298 | -----------------------------------------
-- Spell: Horde Lullaby
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,... | gpl-3.0 |
olax/prosody-modules | mod_pubsub_mqtt/mod_pubsub_mqtt.lua | 32 | 4465 | module:set_global();
local mqtt = module:require "mqtt";
local st = require "util.stanza";
local pubsub_services = {};
local pubsub_subscribers = {};
local packet_handlers = {};
function handle_packet(session, packet)
module:log("warn", "MQTT packet received! Length: %d", packet.length);
for k,v in pairs(packet) d... | mit |
Vivitarut/darkstar | scripts/zones/Ghelsba_Outpost/Zone.lua | 4 | 1608 | -----------------------------------
--
-- Zone: Ghelsba_Outpost (140)
--
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Ghelsba_Outpost/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/serving_of_frog_flambe.lua | 35 | 1741 | -----------------------------------------
-- ID: 4326
-- Item: serving_of_frog_flambe
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 3
-- Agility 2
-- Mind -2
-- Attack % 14
-- Attack Cap 65
-- Evasion 5
-- Ranged ATT % 14
-- Ranged ATT Cap 65
----------------------... | gpl-3.0 |
alagoutte/ntopng | scripts/lua/flow_stats.lua | 8 | 4680 | --
-- (C) 2013-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
require "flow_utils"
flow_key = _GET["flow_key"]
if(flow_key == nil) then
flow = nil
else
interface.select(ifname)
flow = interface.findFlowByKey(tonumber(flow_... | gpl-3.0 |
szorfein/dotfiles | awesomewm/.config/awesome/widgets/mpc.lua | 1 | 1874 | local wibox = require("wibox")
local spawn = require("awful.spawn")
local button = require("utils.button")
local font = require("utils.font")
local icons = require("config.icons")
local mpc_root = class()
function mpc_root:init(args)
self.mode = args.mode or 'text' -- text or titlebar
self.w = self:make_widget()
... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Attohwa_Chasm/mobs/Tiamat.lua | 11 | 3103 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Tiamat
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(m... | gpl-3.0 |
Telewild/telewild2 | plugins/anti_spam.lua | 28 | 4161 |
do
local NUM_MSG_MAX = 8
local TIME_CHECK = 2 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end... | gpl-2.0 |
Vivitarut/darkstar | scripts/zones/Abyssea-Vunkerl/Zone.lua | 32 | 1552 | -----------------------------------
--
-- Zone: Abyssea - Vunkerl
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Vunkerl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Woods/npcs/HomePoint#3.lua | 12 | 1249 | -----------------------------------
-- Area: Windurst Woods
-- NPC: HomePoint#3
-- @pos -92 -5 62 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/TextIDs");
require("scripts/glob... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/auto/api/DisplayManager.lua | 6 | 3537 |
--------------------------------
-- @module DisplayManager
-- @extend Ref
-- @parent_module ccs
--------------------------------
-- @function [parent=#DisplayManager] getDisplayRenderNode
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
-- @function [parent=#D... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/foe_requiem_vii.lua | 11 | 1624 | -----------------------------------------
-- Spell: Foe Requiem VII
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Caedarva_Mire/npcs/qm12.lua | 6 | 1935 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: ???
-- @pos 456.993 -7.000 -270.815 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require... | gpl-3.0 |
alagoutte/ntopng | scripts/lua/inc/delete_user_dialog.lua | 13 | 2377 | print [[
<div id="delete_user_dialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="delete_user_dialog_label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/trueflight.lua | 4 | 4648 | -----------------------------------
-- Skill Level: N/A
-- Description: Deals light elemental damage. Damage varies with TP. Gastraphetes: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Ranger) quest.
-- Does not work with Flashy Shot.
-- Does not work with Stealth Sho... | gpl-3.0 |
BurmistrovJ/prosody-modules | mod_pubsub_pivotaltracker/mod_pubsub_pivotaltracker.lua | 32 | 2298 | module:depends("http");
local lom = require "lxp.lom";
local st = require "util.stanza";
local json = require "util.json";
local datetime = require "util.datetime".datetime;
local pubsub_service = module:depends("pubsub").service;
local node = module:get_option("pivotaltracker_node", "tracker");
local stanza_mt = r... | mit |
cryptotoad/prosody-modules | mod_pubsub_pivotaltracker/mod_pubsub_pivotaltracker.lua | 32 | 2298 | module:depends("http");
local lom = require "lxp.lom";
local st = require "util.stanza";
local json = require "util.json";
local datetime = require "util.datetime".datetime;
local pubsub_service = module:depends("pubsub").service;
local node = module:get_option("pivotaltracker_node", "tracker");
local stanza_mt = r... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/globals/mobskills/Arcane_Stomp.lua | 5 | 1196 | ---------------------------------------------
-- Arcane Stomp
--
-- Description: Stomps the ground to apply elemental absorption.
-- Type: Enhancing
-- Utsusemi/Blink absorb: N/A
-- Range: AoE surrounding Gurfurlur, affects all mobs.
-- Notes: Only used by Gurfurlur the Menacing. This results in all elemen... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/bowl_of_shark_fin_soup.lua | 35 | 1841 | -----------------------------------------
-- ID: 4452
-- Item: bowl_of_shark_fin_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 5
-- MP 5
-- Dexterity 4
-- Mind -4
-- HP Recovered While Healing 9
-- Attack % 14 (cap 60)
-- Ranged Attack % 14 (cap 60)
-----------------... | gpl-3.0 |
xpol/luavm | luarocks/src/luarocks/fetch.lua | 6 | 15275 |
--- Functions related to fetching and loading local and remote files.
local fetch = {}
package.loaded["luarocks.fetch"] = fetch
local fs = require("luarocks.fs")
local dir = require("luarocks.dir")
local type_check = require("luarocks.type_check")
local path = require("luarocks.path")
local deps = require("luarocks.d... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Northern_San_dOria/npcs/Dauperiat.lua | 19 | 3319 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Dauperiat
-- Starts and Finishes Quest: Blackmail (R)
-- @zone 231
-- @pos
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Port_Jeuno/npcs/Caffie.lua | 28 | 1796 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Caffie
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
------------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ef.lua | 19 | 3309 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #2 (F out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Norg/npcs/Jaucribaix.lua | 17 | 9727 | -----------------------------------
-- Area: Norg
-- NPC: Jaucribaix
-- Starts and Finishes Quest: Forge Your Destiny, The Sacred Katana, Yomi Okuri, A Thief in Norg!?
-- @pos 91 -7 -8 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Norg/npcs/Jaucribaix.lua | 17 | 9727 | -----------------------------------
-- Area: Norg
-- NPC: Jaucribaix
-- Starts and Finishes Quest: Forge Your Destiny, The Sacred Katana, Yomi Okuri, A Thief in Norg!?
-- @pos 91 -7 -8 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
Mia2b/Code-N-Slash | Code&Slash/luaj-3.0.1/test/lua/upvalues.lua | 7 | 1591 |
print( '-------- simple upvalues tests --------' )
local function simpleupvalues()
function test()
local x = 5
function f()
x = x + 1
return x
end
function g()
x = x - 1
return x
end
print(f())
print(g())
return f, g
end
f1, g1 = test()
print("f1()=", f1())
print("g1()=", g1())
f2... | apache-2.0 |
Gwynthell/FFDB | scripts/zones/Upper_Jeuno/npcs/Couvoullie.lua | 2 | 1491 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Couvoullie
-- Chocobo Vendor
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/East_Ronfaure/npcs/Croteillard.lua | 38 | 1029 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Croteillard
-- Type: Gate Guard
-- @pos 87.426 -62.999 266.709 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Ronfaure/TextIDs");... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.