repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
Fatalerror66/ffxi-a | scripts/zones/Lufaise_Meadows/npcs/Teldo-Moroldo_WW.lua | 4 | 2908 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Teldo-Moroldo, W.W.
-- Outpost Conquest Guards
-- @pos -542.418 -7.124 -53.521 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conques... | gpl-3.0 |
flyzjhz/openwrt-bb | feeds/luci/modules/base/luasrc/http/protocol.lua | 55 | 18445 | --[[
HTTP protocol implementation for LuCI
(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.org/licen... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Upper_Jeuno/npcs/Couvoullie.lua | 2 | 1578 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Couvoullie
-- Chocobo Vendor
-- @zone 244
-- @pos 460.533, 8.972, -157.557
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm3.lua | 15 | 1199 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Armed Gears(ZNM T3))
-- @pos -42 -4 -169 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ru... | gpl-3.0 |
actionless/awesome | tests/examples/wibox/widget/graph/negative_gallery.lua | 2 | 4848 | --DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
local gears = { --DOC_HIDE
matrix = require("gears.matrix"), --DOC_HIDE
shape = require("gears.shape"), --DOC_HIDE
} --DOC_HIDE
local data = { --DOC_HIDE
-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, --DOC_HIDE
} -... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/globals/items/opo-opo_tart.lua | 1 | 1317 | -----------------------------------------
-- ID: 4287
-- Item: opo-opo_tart
-- Food Effect: 1hour, All Races
-----------------------------------------
-- HP 12
-- MP 12
-- Intelligence 4
-- MP Recovered While Healing 3
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/The_Shrouded_Maw/mobs/Diabolos.lua | 2 | 2665 | -----------------------------------
-- Area:
-- MOB: Diabolos
-----------------------------------
function OnMobEngaged(mob)
--print("mobengage");
end;
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer)
end;
------------... | gpl-3.0 |
Wedge009/wesnoth | data/campaigns/World_Conquest/lua/map/generator/coral.lua | 7 | 3612 |
local function generate(length, villages, castle, iterations, size, players, island)
local width = length
if width % 2 == 1 then
width = width + 1
end
local res = {}
res.border_size=0
res.map_width=width
res.map_height=length
res.iterations=iterations
res.hill_size=size
res.villages=villages
res.nplayers... | gpl-2.0 |
BTAxis/naev | dat/events/dvaered/warlords_battle.lua | 4 | 8711 | -- A battle between two dvaered warlords. The player can join one of them and get a reward
include "fleethelper.lua"
include "fleet_form.lua"
include "proximity.lua"
include "numstring.lua"
lang = naev.lang()
if lang == "es" then
else -- default english
title = {}
text = {}
title[1] = _("A battle is ab... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/crepe_caprice.lua | 3 | 1257 | -----------------------------------------
-- ID: 5776
-- Item: Crepe Caprice
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP +20
-- MP Healing 3
-- Magic Accuracy +5
-- Magic Defense +2
-----------------------------------------
require("scripts/globals/status");
---------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Mhaura/npcs/Nomad_Moogle.lua | 3 | 1096 | -----------------------------------
-- Area: Mhaura
-- NPC: Nomad Moogle
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
require("scripts/zones/Mhaura/TextIDs");
-----------------------------------
-- onTrade Ac... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Mine_Shaft_2716/npcs/_0d0.lua | 4 | 1908 | -----------------------------------
-- Area: Mine_Shaft_2716
-- NPC: Shaft entrance
-----------------------------------
package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/missio... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Lower_Jeuno/npcs/Gurdern.lua | 4 | 1323 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Gurdern
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/quests");
------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/bowl_of_shimmy_soup.lua | 3 | 1262 | -----------------------------------------
-- ID: 5931
-- Item: Bowl of Shimmy Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- MP 32
-- Mind 5
-- HP Recovered While Healing 5
-- Enmity -5
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
murdemon/domoticz_codesys | scripts/lua/dzVents/tests/testTimedCommand.lua | 4 | 2612 | local _ = require 'lodash'
package.path = package.path .. ";../?.lua"
describe('timed commands', function()
local TimeCommand
local commandArray = {}
local cmd
local domoticz = {
sendCommand = function(command, value)
table.insert(commandArray, {[command] = value})
return commandArray[#commandArray], com... | gpl-3.0 |
tboox/xmake-repo | packages/g/glib/xmake.lua | 1 | 1934 | package("glib")
set_homepage("https://developer.gnome.org/glib/")
set_description("Core application library for C.")
set_urls("https://download.gnome.org/sources/glib/$(version).tar.xz",
{version = function (version) return table.concat(table.slice((version):split('%.'), 1, 2), '.') .. "/glib... | apache-2.0 |
uniquegamer522/LuaBot | userscripts/ashtoin/JumpSigns.lua | 1 | 9972 | -- JumpSigns, by ashtoin aka uniquegamer522
--
-- Syntax:
-- Start a jumpsign with the text [JumpSign] (case-sensitive)
-- After this, you may combine assertives and directives however you wish.
--
-- Directives: (Wrapped in [])
-- Directives are commands which basically tell your sign on what triggers to execute.
-- ... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Port_Jeuno/npcs/HomePoint#1.lua | 1 | 1643 | -----------------------------------
-- Area: Port Jeuno
-- NPC: HomePoint#1
-- @pos 37.076 0.001 8.831 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Jeuno/TextIDs");... | gpl-3.0 |
mohammadjkh/PowerTeam | plugins/links.lua | 1 | 1677 | local action = function(msg, blocks, ln)
if msg.chat.type == 'private' then return end
if not is_mod(msg) then return end
local hash = 'chat:'..msg.chat.id..'links'
local text
if blocks[1] == 'link' then
local key = 'link'
local link = db:hget(hash, key)
--check if link is nil or nul
if link =... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/globals/spells/holy.lua | 2 | 1110 | -----------------------------------------
-- Spell: Holy
-- Deals light damage to an enemy.
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
fun... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/The_Shrine_of_RuAvitau/mobs/Seiryu.lua | 2 | 1058 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Seiryu (Pet version)
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function OnMobSpawn(mob)
end;
--------------------------------... | gpl-3.0 |
njligames/Engine | cmake.in/ldoc.in/DropdownHUDBuilder.lua | 4 | 2071 |
----
-- @file DropdownHUDBuilder
---- Brief description.
-- <#Description#>
-- @return <#return value description#>
function DropdownHUDBuilder:calculateSerializeBufferSize()
end
---- Brief description.
-- @author James Folk, 16-02-11 15:02:36
-- <#Description#>
-- @param dataBuffer <#dataBuffer description#>
-- @p... | mit |
Fatalerror66/ffxi-a | scripts/globals/items/plate_of_ratatouille.lua | 2 | 1347 | -----------------------------------------
-- ID: 5731
-- Item: plate_of_ratatouille
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Agility 5
-- Evasion 5
-- HP recovered while healing 2
-- Undead Killer 5
-----------------------------------------
require("scripts/globals/status... | gpl-3.0 |
LipkeGu/OpenRA | mods/d2k/maps/ordos-01b/ordos01b.lua | 2 | 5019 | --[[
Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
spacexkid/TimesTables1-5 | TimesTables1-5/lua/autorun/server/2tables.lua | 1 | 1499 | //Copyright (C) 2016 spacexkid
// This file is part of TimesTables1-5.
// TimesTables1-5 is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) ... | gpl-3.0 |
actionless/awesome | lib/awful/mouse/client.lua | 3 | 4430 | --- Client related mouse operations.
--
-- @author Emmanuel Lepage Vallee <elv1313@gmail.com>
-- @copyright 2016 Emmanuel Lepage Vallee
-- @submodule mouse
local aplace = require("awful.placement")
local capi = { mouse = mouse, client = client }
local mresize = require("awful.mouse.resize")
local gdebug = requir... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/globals/items/vongola_clam.lua | 18 | 1594 | -----------------------------------------
-- ID: 5131
-- Item: Vongola Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- Defense +17% - 50 Cap
-- HP 5% - 50 Cap
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Valkurm_Dunes/Zone.lua | 2 | 1941 | -----------------------------------
--
-- Zone: Valkurm_Dunes (103)
--
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
require("scripts/zones/Valkurm_Dunes/TextIDs");
require("scripts/globals/icanheararainbow");
require("scripts/globals/status");
require("sc... | gpl-3.0 |
Clavus/LD32 | engine/lib/loveframes/objects/form.lua | 14 | 7892 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- get the current require path
local path = string.sub(..., 1, string.len(...) - string.len(".objects.form"))
local lovefra... | mit |
Fatalerror66/ffxi-a | scripts/globals/items/slice_of_giant_sheep_meat.lua | 2 | 1291 | -----------------------------------------
-- ID: 4372
-- Item: slice_of_giant_sheep_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 2
-- Intelligence -4
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/RuLude_Gardens/npcs/Pursuivant.lua | 38 | 1034 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Pursuivant
-- Type: Pursuivant
-- @zone: 243
-- @pos 52.020 -1 -17.813
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
---------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Lower_Jeuno/npcs/Adelflete.lua | 6 | 1317 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Adelflete
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTra... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/weaponskills/blade_retsu.lua | 4 | 1796 | -----------------------------------
-- Blade Retsu
-- Katana weapon skill
-- Skill Level: 30
-- Delivers a two-hit attack. Paralyzes enemy. Duration of paralysis varies with TP.
-- Proc rate of Paralyze seems to be based on your level in comparison to the targets level. The higher level you are compared to your target,... | gpl-3.0 |
dxider/CharacterMigratorAddon | sha1.lua | 1 | 4668 | -------------------------------------------------
--- *** BitLibEmu for Lua *** ---
-------------------------------------------------
--- Author: Martin Huesser ---
--- Date: 2008-06-16 ---
--- License: You may use this code in your ---
--- project... | lgpl-2.1 |
kidaa/FFXIOrgins | scripts/globals/mobskills/Bilgestorm.lua | 4 | 1220 | ---------------------------------------------
-- Bilgestorm
--
-- Description: Deals damage in an area of effect. Additional effect: Lowers attack, accuracy, and defense
-- Type: Physical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown
-- Notes: Only used at low health.*Experienced the use at 75%*
-----... | gpl-3.0 |
teddemunnik/tundra | scripts/tundra/tools/msvc-winsdk.lua | 28 | 4318 | -- msvc-winsdk.lua - Use Microsoft Windows SDK 7.1 or later to build.
module(..., package.seeall)
local native = require "tundra.native"
local os = require "os"
if native.host_platform ~= "windows" then
error("the msvc toolset only works on windows hosts")
end
local function get_host_arch()
local snative = nati... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/effects/fan_dance.lua | 1 | 1158 | -----------------------------------
--
-- EFFECT_FAN_DANCE
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local fanDan... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/items/sis_kebabi_+1.lua | 1 | 1596 | -----------------------------------------
-- ID: 5599
-- Item: sis_kebabi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 6
-- Vitality -1
-- Intelligence -1
-- Attack % 20
-- Attack Cap 75
-- Ranged ATT % 20
-- Ranged ATT Cap 75
-----------------------------------------
requi... | gpl-3.0 |
rns/MarpaX-Languages-Lua-AST | t/lua5.1-tests/nextvar.lua | 20 | 8553 | print('testing tables, next, and for')
local a = {}
-- make sure table has lots of space in hash part
for i=1,100 do a[i.."+"] = true end
for i=1,100 do a[i.."+"] = nil end
-- fill hash part with numeric indices testing size operator
for i=1,100 do
a[i] = true
assert(#a == i)
end
if T then
-- testing table size... | artistic-2.0 |
Wedge009/wesnoth | data/campaigns/Under_the_Burning_Suns/lua/theme.lua | 11 | 1143 | -- #textdomain wesnoth-utbs
local _ = wesnoth.textdomain "wesnoth-utbs"
local old_unit_status = wesnoth.interface.game_display.unit_status
function wesnoth.interface.game_display.unit_status()
local u = wesnoth.interface.get_displayed_unit()
if not u then return {} end
local s = old_unit_status()
if u.status.deh... | gpl-2.0 |
meshr-net/meshr_win32 | usr/lib/lua/luci/model/cbi/luci_statistics/iwinfo.lua | 8 | 1132 | --[[
Luci configuration model for statistics - collectd interface plugin configuration
(c) 2011 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://ww... | apache-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Northern_San_dOria/npcs/Vichuel.lua | 2 | 1948 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Vichuel
-- Only sells when San d'Oria
-- controlls Fauregandi Region.
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
Adirelle/LibPlayerSpells-1.0 | LibPlayerSpells-1.0.lua | 1 | 18506 | --[[
LibPlayerSpells-1.0 - Additional information about player spells.
(c) 2013-2014 Adirelle (adirelle@gmail.com)
This file is part of LibPlayerSpells-1.0.
LibPlayerSpells-1.0 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 Softwar... | gpl-3.0 |
flyzjhz/openwrt-bb | feeds/luci/applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua | 78 | 1325 | --[[
Luci configuration model for statistics - collectd interface plugin configuration
(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 Lic... | gpl-2.0 |
gunzino/forgottenserver | data/spells/scripts/party/heal.lua | 13 | 1841 | local combat = createCombatObject()
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_REGENERATION)
setConditionParam(condition, C... | gpl-2.0 |
meshr-net/meshr_win32 | usr/lib/lua/luci/model/cbi/luci_statistics/email.lua | 7 | 1976 | --[[
Luci configuration model for statistics - collectd email plugin configuration
(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... | apache-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Jugner_Forest/npcs/CavernousMaw.lua | 2 | 1426 | -----------------------------------
-- Cavernous Maw
-- Teleports Players to Jugner Forest [S]
-- @pos -118 -8 -518 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Kazham/npcs/Gatih_Mijurabi.lua | 21 | 1030 | -----------------------------------
-- Area: Kazham
-- NPC: Gatih Mijurabi
-- Type: Standard NPC
-- @zone: 250
-- @pos 58.249 -13.086 -49.084
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-------------------... | gpl-3.0 |
raziel-carvajal/splay-daemon | src/lua/modules/json.lua | 2 | 18881 |
--------------- LEO modified !!!
-----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.20
-- This module is released ... | gpl-3.0 |
actionless/awesome | tests/examples/text/awful/keygrabber/vimode.lua | 4 | 1872 | --DOC_HEADER --DOC_NO_USAGE
local gears = {table = require("gears.table")} --DOC_HIDE
local awful = { keygrabber = require("awful.keygrabber"), --DOC_HIDE
key = require("awful.key") } --DOC_HIDE
local map, actions = {
verbs = {
m = "move" , f = "focus" , d = "delete" , a = "append",
... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Ilrusi_Atoll/mobs/Cursed_Chest.lua | 2 | 1380 | -----------------------------------
-- Area: Illrusi atoll
-- NPC: Cursed Chest
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- OnMobInitialise Action
-----------------------------------
function onMobInit... | gpl-3.0 |
zhangshiqian1214/skynet | lualib/csv.lua | 2 | 1647 | local lpeg = require "lpeg"
local C, Cs, Ct, P, S = lpeg.C, lpeg.Cs, lpeg.Ct, lpeg.P, lpeg.S
local eol = P'\r\n' + P'\n'
local quoted_field = '"' * Cs(((P(1) - '"') + P'""' / '"')^0) * '"'
local unquoted_field = C((1 - S',\r\n"')^0)
local field = quoted_field + unquoted_field
local record = Ct(field * (',' * field)^0)... | mit |
simon-wh/PAYDAY-2-BeardLib-Editor | mods/BeardLib-Editor/Classes/Map/Elements/pushinstigatorelement.lua | 1 | 1154 | EditorPushInstigator = EditorPushInstigator or class(MissionScriptEditor)
function EditorPushInstigator:create_element()
self.super.create_element(self)
self._element.class = "ElementPushInstigator"
self._element.values.mass = 100
self._element.values.multiply = 1
self._element.values.velocity = Vec... | mit |
njligames/Engine | src/njli/platform/cmake.in/ldoc.in/PhysicsBodyRigid.lua | 4 | 6257 |
----
-- @file PhysicsBodyRigid
---- Brief description.
-- <#Description#>
-- @return <#return value description#>
function PhysicsBodyRigid:calculateSerializeBufferSize()
end
---- Brief description.
-- @author James Folk, 16-02-11 15:02:12
-- <#Description#>
-- @param dataBuffer <#dataBuffer description#>
-- @param... | mit |
kidaa/FFXIOrgins | scripts/zones/Port_Jeuno/npcs/Kochahy-Muwachahy.lua | 4 | 3114 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Kochahy-Muwachahy
-- @pos 40 0 6 246
-------------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scri... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/chunk_of_hydra_meat.lua | 3 | 1454 | -----------------------------------------
-- ID: 5564
-- Item: Chunk of Hydra Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- HP 10
-- MP -10
-- Strength +6
-- Intelligence -8
-- Demon Killer 10
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Eastern_Adoulin/npcs/Waypointarc.lua | 2 | 1030 | -----------------------------------
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Eastern_Adoulin/TextIDs");
-------------------------... | gpl-3.0 |
xXDarkBoyXx/Cloud | plugins/all.lua | 264 | 4202 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
nenau/naev | dat/missions/neutral/teenager.lua | 2 | 5719 | --[[
--
-- MISSION: The macho teenager
-- DESCRIPTION: A man tells you that his son has taken one of his yachts without permission and
-- is joyriding it with his girlfriend to impress her. Disable the yacht and board it, then take
-- the couple back to the planet (destroying the yacht incurs a penalty)
--
--]]
-- Loc... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Dynamis-Beaucedine/mobs/Vanguard_Eye.lua | 2 | 2511 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Vznguard_Eye
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
-----------... | gpl-3.0 |
actionless/awesome | tests/examples/wibox/nwidget/actionlist/style.lua | 5 | 2469 | --DOC_GEN_IMAGE
local parent = ... --DOC_HIDE --DOC_NO_USAGE
local naughty = { --DOC_HIDE
list = {actions = require("naughty.list.actions")}, --DOC_HIDE
notification = require("naughty.notification"), --DOC_HIDE
action = require("naughty.action") --DOC_HIDE
} --DOC_HIDE
local gears = {shape =... | gpl-2.0 |
njligames/Engine | cmake.in/ldoc.in/StopWatchBuilder.lua | 4 | 1972 |
----
-- @file StopWatchBuilder
---- Brief description.
-- <#Description#>
-- @return <#return value description#>
function StopWatchBuilder:calculateSerializeBufferSize()
end
---- Brief description.
-- <#Description#>
-- @param btSerializer <#btSerializer description#>
-- @return <#return value description#>
functi... | mit |
kidaa/FFXIOrgins | scripts/zones/Selbina/npcs/HomePoint#1.lua | 1 | 1639 | -----------------------------------
-- Area: Selbina
-- NPC: HomePoint#1
-- @pos 36.117 -10.729 34.635 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Selbina/TextIDs");
requi... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/blackened_toad.lua | 2 | 1312 | -----------------------------------------
-- ID: 4599
-- Item: Blackened Toad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -1
-- Poison Resist 5
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/AlTaieu/npcs/qm3.lua | 2 | 1154 | -----------------------------------
-- Author: ReaperX
-- ??? Jailer of Prudence
-----------------------------------
require("scripts/globals/settings");
FifthVirtue = 0x737
FourthVirtue = 0x738;
SixthVirtue = 0x739;
FirstVirtue = 0x73A
DeedOfPlacidity = 0x73B;
HQPhuaboOrgan = 0x73C;
SecondVirtue = 0x73D;... | gpl-3.0 |
Yhgenomics/premake-core | tests/actions/vstudio/vc200x/test_project_refs.lua | 9 | 1837 | --
-- tests/actions/vstudio/vc200x/test_project_refs.lua
-- Validate project references in Visual Studio 200x C/C++ projects.
-- Copyright (c) 2011-2012 Jason Perkins and the Premake project
--
T.vstudio_vs200x_project_refs = { }
local suite = T.vstudio_vs200x_project_refs
local vc200x = premake.vstudio.vc200x
--... | bsd-3-clause |
mys007/nn | PairwiseDistance.lua | 40 | 2674 | local PairwiseDistance, parent = torch.class('nn.PairwiseDistance', 'nn.Module')
function PairwiseDistance:__init(p)
parent.__init(self)
-- state
self.gradInput = {torch.Tensor(), torch.Tensor()}
self.output = torch.Tensor(1)
self.diff = torch.Tensor()
self.norm=p
end
function PairwiseDistance:u... | bsd-3-clause |
kidaa/FFXIOrgins | scripts/zones/Cloister_of_Flames/bcnms/trial_by_fire.lua | 6 | 1769 | -----------------------------------
-- Area: Cloister of Flames
-- BCNM: Trial by Fire
-- @pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/quests... | gpl-3.0 |
Godfather021/teleseed | plugins/inpm.lua | 1114 | 3008 | do
local 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 |
sodism/discoverbot | plugins/inpm.lua | 1114 | 3008 | do
local 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 |
aqasaeed/hesamshar | plugins/inpm.lua | 1114 | 3008 | do
local 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 |
adminomega/omega | plugins/inpm.lua | 1114 | 3008 | do
local 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 |
mys007/nn | Linear.lua | 11 | 2622 | local Linear, parent = torch.class('nn.Linear', 'nn.Module')
function Linear:__init(inputSize, outputSize)
parent.__init(self)
self.weight = torch.Tensor(outputSize, inputSize)
self.bias = torch.Tensor(outputSize)
self.gradWeight = torch.Tensor(outputSize, inputSize)
self.gradBias = torch.Tensor(output... | bsd-3-clause |
Fatalerror66/ffxi-a | scripts/globals/items/anchovy.lua | 2 | 1136 | -----------------------------------------
-- ID: 5652
-- Item: Anchovy
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Dexterity +1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Silver_Knife/Zone.lua | 19 | 1059 | -----------------------------------
--
-- Zone: Silver Knife
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Silver_Knife/TextIDs"] = nil;
require("scripts/zones/Silver_Knife/TextIDs");
-----------------------------------
-- onInitialize
-------------------... | gpl-3.0 |
BTAxis/naev | dat/missions/empire/collective/ec03.lua | 2 | 5021 | --[[
Collective Distraction
Author: bobbens
minor edits by Infiltrator
Fourth mission in the collective mini campaign.
You must distract the collective forces by breaching into their systems
while a commando lands to monitor wireless.
]]--
include "numstring.lua"
bar_desc = _("You see Lt. C... | gpl-3.0 |
jiang42/Algorithm-Implementations | Ranrot-B-Pseudo_Random_Number_Generator/Lua/Yonaba/numberlua.lua | 115 | 13399 | --[[
LUA MODULE
bit.numberlua - Bitwise operations implemented in pure Lua as numbers,
with Lua 5.2 'bit32' and (LuaJIT) LuaBitOp 'bit' compatibility interfaces.
SYNOPSIS
local bit = require 'bit.numberlua'
print(bit.band(0xff00ff00, 0x00ff00ff)) --> 0xffffffff
-- Interface providing strong Lua 5.2 '... | mit |
capr/fbclient-alien | lua/fbclient/dpb.lua | 2 | 10968 | --[[
DPB (Database Parameter Block) structure: encode the options for connecting to a database
encode(dpb_options_t) -> DPB encoded string.
USAGE: pass the encoded DPB to isc_attach_database() to connect to a database.
NOTE: options that take no arguments themselves must be encoded with encode_zero() instead of ... | mit |
diezombies/MCGC | MCGC/c84130824.lua | 3 | 4061 | -- MC群的先驱 TF
-- e1, e2参考[11502550]元素英雄 天空新宇侠, [17412721]旧神 诺登
-- e4参考[58481572]假面英雄 暗爪
function c84130824.initial_effect(c)
-- 苏生限制
c:EnableReviveLimit()
-- 融合素材
aux.AddFusionProcFun2(c, c84130824.spsummonFilter, c84130824.spsummonFilter, true)
-- 特招限制
local e1 = Effect.CreateEffect(c)
e1... | mit |
Fatalerror66/ffxi-a | scripts/globals/common.lua | 2 | 2624 | -----------------------------------
-- Author:
--
--
-----------------------------------
-----------------------------------
-- switch
-----------------------------------
function switch(c)
local swtbl = {
casevar = c,
caseof = function (self,code)
local f
if (self.ca... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Phomiuna_Aqueducts/npcs/_0rr.lua | 2 | 1388 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna... | gpl-3.0 |
diezombies/MCGC | MCGC/c84130846.lua | 3 | 3689 | -- MC群的技术宅 饭2
function c84130846.initial_effect(c)
-- 超量
-- 7星【MC群】*2或【MC群】二星以下或三阶以上
aux.AddXyzProcedure(c, c84130846.filter, 7, 2, c84130846.ovfilter, aux.Stringid(84130846, 0))
c:EnableReviveLimit()
-- 战破免疫
local e1 = Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(E... | mit |
kidaa/FFXIOrgins | scripts/zones/Western_Altepa_Desert/npcs/_3h8.lua | 2 | 1832 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h8 (Sapphire Column)
-- Notes: Mechanism for Altepa Gate
-- @pos -499 10 224 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
meshr-net/meshr_win32 | usr/lib/lua/luci/controller/freifunk/freifunk.lua | 2 | 5958 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 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: freifunk.... | apache-2.0 |
ArchiveTeam/jux-grab | table_show.lua | 58 | 3226 | --[[
Author: Julio Manuel Fernandez-Diaz
Date: January 12, 2007
(For Lua 5.1)
Modified slightly by RiciLake to avoid the unnecessary table traversal in tablecount()
Formats tables with cycles recursively to any depth.
The output is returned as a string.
References to other tables are shown as values.... | unlicense |
mt-sane/lib | lib_random.lua | 1 | 1054 | --[[
Lib - A collection of useful stuff.
Copyright © 2015 Sane (https://forum.minetest.net/memberlist.php?mode=viewprofile&u=10658)
License: GNU Affero General Public License version 3 (AGPLv3) (http://www.gnu.org/licenses/agpl-3.0.html)
See also: COPYING.txt
--]]
-- Random number generator
Lib.Random = ... | agpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/East_Ronfaure/Zone.lua | 2 | 2137 | -----------------------------------
--
-- Zone: East_Ronfaure (101)
--
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/East_Ronfaure/TextIDs");
-------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Waughroon_Shrine/bcnms/rank_2_mission.lua | 4 | 1685 | -----------------------------------
-- Area: Waughroon Shrine
-- Name: Mission Rank 2
-- @pos -345 104 -260 144
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function OnBcnmRegister(player,instance)
end;
-- Physically entering the BCNM via bcnmEnter(bcnmid)
function OnBcnm... | gpl-3.0 |
e1d1s1/OpenRA | mods/ra/maps/soviet-04b/soviet04b-reinforcements_teams.lua | 6 | 2753 | Civs = { civ1, civ2, civ3, civ4 }
Village = { civ1, civ3, civ4, village1, village3 }
Guards = { Guard1, Guard2, Guard3 }
SovietMCV = { "mcv" }
InfantryReinfGreece = { "e1", "e1", "e1", "e1", "e1" }
Avengers = { "jeep", "1tnk", "2tnk", "2tnk", "1tnk" }
Patrol1Group = { "jeep", "jeep", "2tnk", "2tnk" }
Patrol2Group = { "... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Northern_San_dOria/TextIDs.lua | 2 | 7620 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6564; --Come back after sorting your inventory.
ITEM_OBTAINED = 6567; --Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>>
GIL_OBTAINED = 6568; --O... | gpl-3.0 |
mosy210/G-H-O-S-T-BOT | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Apollyon/mobs/Cornu.lua | 2 | 1092 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Sirins
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
--... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/spells/bluemagic/screwdriver.lua | 6 | 1080 | 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,sp... | gpl-3.0 |
wes-BAN/crux-animation | animation.lua | 1 | 27975 | local Module = {}
local Stepped = Game:GetService("RunService").Stepped
local ANIMATION_FPS = 60
local floor = math.floor
local modf = math.modf
local abs = math.abs
local sin = math.sin
local asin = math.asin
local cos = math.cos
local acos = math.acos
local pow = math.pow
local sqrt = math.sqrt
local pi = math.pi
... | mit |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Waters/npcs/Olaky-Yayulaky.lua | 5 | 1047 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Olaky-Yayulaky
-- Type: Item Depository
-- @zone: 238
-- @pos: -61.247 -4.5 72.551
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/bowl_of_zoni_broth.lua | 2 | 1628 | -----------------------------------------
-- ID: 5618
-- Item: bowl_of_zoni_broth
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 10
-- MP 10
-- Strength 1
-- Dexterity 1
-- Vitality 1
-- Agility 1
-- HP Recovered While Healing 1
-- MP Recovered While Healing 1
-------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Qufim_Island/npcs/Jiwon.lua | 2 | 1782 | -----------------------------------
-- Area: Qufim Island
-- NPC: Jiwon
-- Type: Outpost Vendor
-- @pos -249 -19 300 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conques... | gpl-3.0 |
MarcoQin/AyrLand | scripts/gamestates/testState.lua | 1 | 4780 | local AnimationDrawSystem = require("systems/graphic/AnimationDrawSystem")
local AnimatorSystem = require("systems/animator/AnimatorSystem")
local NormalDrawSystem = require("systems/graphic/NormalDrawSystem")
local PositionDrawSystem = require("systems/debug/PositionDrawSystem")
local ViewportDrawSystem = require("sys... | mit |
kidaa/FFXIOrgins | scripts/zones/Windurst_Waters_[S]/npcs/Parukoko.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Parukoko
-- Type: Standard NPC
-- @zone: 94
-- @pos -32.400 -3.5 -103.666
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/bowl_of_pebble_soup.lua | 3 | 1042 | -----------------------------------------
-- ID: 4455
-- Item: Bowl of Pebble Soup
-- Food Effect: 3 Hr, All Races
-----------------------------------------
-- MP Recovered while healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.