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 |
|---|---|---|---|---|---|
ffxiphoenix/darkstar | scripts/zones/Inner_Horutoto_Ruins/TextIDs.lua | 9 | 1317 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6548; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6553; -- Obtained: <item>.
GIL_OBTAINED = 6554; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6556; -- Obtained... | gpl-3.0 |
kondrak/ProDBG | bin/win32/scripts/tundra/dagsave.lua | 25 | 10957 | module(..., package.seeall)
local depgraph = require "tundra.depgraph"
local util = require "tundra.util"
local scanner = require "tundra.scanner"
local dirwalk = require "tundra.dirwalk"
local platform = require "tundra.platform"
local native = require "tundra.native"
local njson = require "tundra.native.j... | mit |
ffxiphoenix/darkstar | scripts/zones/Mount_Zhayolm/npcs/_1p6.lua | 19 | 1052 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Engraved Tablet
-- @pos 320 -15.35 -379 61
-----------------------------------
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--... | gpl-3.0 |
Chris7/Mudlet2 | src/old_mudlet-lua/lua/geyser/GeyserMapper.lua | 21 | 1556 | --------------------------------------
-- --
-- The Geyser Layout Manager by guy --
-- createMapper support by Vadi --
-- --
--------------------------------------
--- Represents a mapper primitive
-- @class table
-- @name Geyser.Mapper
-- @field wrapAt Where line wrapping occurs. Default is 300 characters.
Geyser.Map... | gpl-2.0 |
rasmusm/dotfiles | notion/cfg_notion.lua | 1 | 5185 | --
-- Notion main configuration file
--
-- This file only includes some settings that are rather frequently altered.
-- The rest of the settings are in cfg_notioncore.lua and individual modules'
-- configuration files (cfg_modulename.lua).
--
-- When any binding and other customisations that you want are minor, it is
-... | unlicense |
ffxiphoenix/darkstar | scripts/zones/Mordion_Gaol/Zone.lua | 32 | 1433 | -----------------------------------
--
-- Zone: Mordion_Gaol
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Mordion_Gaol/TextIDs"] = nil;
require("scripts/zones/Mordion_Gaol/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Nijaom.lua | 33 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Nijaom
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
PotcFdk/pLuadee | lua/pluadee_songs/ziphoid-megamix88.pld.lua | 1 | 59686 | pLuadeeSongs = pLuadeeSongs or {}
pLuadeeSongs.megamix88 = {{{2,226},{0,0},{0,0},{0,0},{2,226},{0,0},{0,0},{0,0},{0,0},{0,0},{2,226},{0,0},{0,0},{0,0},{0,0},{0,0},{2,226},{0,0},{0,0},{0,0},{2,226},{0,0},{0,0},{0,0},{0,0},{0,0},{2,226},{0,0},{0,0},{0,0},{0,0},{0,0},{2,226},{0,0},{0,0},{0,0},{2,226},{0,0},{0,0},{0,0},{0,... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Pashhow_Marshlands_[S]/Zone.lua | 28 | 1346 | -----------------------------------
--
-- Zone: Pashhow_Marshlands_[S] (90)
--
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Pashhow_Marshlands_[S]/TextID... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua | 37 | 1316 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Caiphimonride
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
---------... | gpl-3.0 |
Maxsteam/NovaBB | plugins/spammer.lua | 14 | 75190 | local function run(msg)
if msg.text == "[!/]spam" and is_sudo(msg) then
return "".. [[
... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/globals/spells/bluemagic/enervation.lua | 18 | 2037 | -----------------------------------------
-- Spell: Enervation
-- Lowers the defense and magical defense of enemies within range
-- Spell cost: 48 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 5
-- Stat Bonus: HP-5, MP+5
-- Level: 67
-- Casting Time: 6 seconds
-- Recast Time... | gpl-3.0 |
RodneyMcKay/x_hero_siege | game/scripts/vscripts/components/battlepass/modifiers/modifier_companion.lua | 1 | 6556 | modifier_companion = class({})
function modifier_companion:IsHidden() return true end
function modifier_companion:GetAbsoluteNoDamagePhysical() return 1 end
function modifier_companion:GetAbsoluteNoDamageMagical() return 1 end
function modifier_companion:GetAbsoluteNoDamagePure() return 1 end
function modifier_compan... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Lower_Jeuno/npcs/Vola.lua | 17 | 3176 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Vola
-- Starts and Finishes Quest: Fistful of Fury
-- Involved in Quests: Beat Around the Bushin (before the quest)
-- @zone 245
-- @pos 43 3 -45
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
pack... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/weaponskills/vorpal_thrust.lua | 30 | 1397 | -----------------------------------
-- Vorpal Thrust
-- Polearm weapon skill
-- Skill Level: 175
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light Belt.
-- Element: Non... | gpl-3.0 |
SunRed/ObjHunt | gamemode/client/views.lua | 2 | 4024 | --[[ Do thirdperson, view heights, etc ]]--
hook.Add("CalcView", "ObjHunt CalcView", function( ply, pos, angles, fov )
-- disable custom viewing if we're dead, this fixes spec bug
if( !ply:Alive() ) then return true end
-- this needs to be here otherwise some people get errors for some unknown reason
if( ply.wantT... | apache-2.0 |
vilarion/Illarion-Content | item/food.lua | 3 | 15941 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/effects/yonin.lua | 17 | 1446 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect) --power=30 initially, subpower=20 for enmity
target:addM... | gpl-3.0 |
Ne02ptzero/Grog-Knight | Tools/BuildScripts/lua-lib/penlight-1.0.2/tests/test-stringx.lua | 12 | 10042 | local stringx = require 'pl.stringx'
local asserteq = require 'pl.test' . asserteq
local T = require 'pl.test'.tuple
local function FIX(s)
io.stderr:write('FIX:' .. s .. '\n')
end
-- isalpha
asserteq(T(stringx.isalpha''), T(false))
asserteq(T(stringx.isalpha' '), T(false))
asserteq(T(stringx.isalpha'0'), T(false))... | apache-2.0 |
ffxiphoenix/darkstar | scripts/globals/spells/bluemagic/sound_blast.lua | 18 | 1409 | -----------------------------------------
-- Spell: Sound Blast
-- Lowers Intelligence of enemies within range.
-- Spell cost: 25 MP
-- Monster Type: Birds
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 1
-- Stat Bonus: None
-- Level: 32
-- Casting Time: 4 seconds
-- Recast Time: 30 seconds
-- Magic Bur... | gpl-3.0 |
noooway/love2d_arkanoid_tutorial | 2-01_SplittingCodeIntoSeveralFiles/bricks.lua | 1 | 2010 | local vector = require "vector"
local bricks = {}
bricks.rows = 8
bricks.columns = 11
bricks.top_left_position = vector( 70, 50 )
bricks.brick_width = 50
bricks.brick_height = 30
bricks.horizontal_distance = 10
bricks.vertical_distance = 15
bricks.current_level_bricks = {}
bricks.no_more_bricks = false
function brick... | mit |
saadmzed/kenam | libs/feedparser.lua | 1 | 11968 | local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...")
local XMLElement = (loadfile "./libs/XMLElement.lua")()
local dateparser = (loadfile "./libs/dateparser.lua")()
local URL = (loadfile "./libs/url.lua")()
local tinsert, tremove, tconcat = table.insert... | gpl-3.0 |
Quenty/NevermoreEngine | src/tie/src/Shared/Interface/TieSignalConnection.lua | 1 | 2402 | --[=[
@class TieSignalConnection
]=]
local require = require(script.Parent.loader).load(script)
local Maid = require("Maid")
local TieInterfaceUtils = require("TieInterfaceUtils")
local RxBrioUtils = require("RxBrioUtils")
local RxInstanceUtils = require("RxInstanceUtils")
local TieUtils = require("TieUtils")
local... | mit |
bgarrels/vlc-2.1 | share/lua/playlist/liveleak.lua | 91 | 1883 | --[[
$Id$
Copyright © 2012 VideoLAN and AUTHORS
Authors: Ludovic Fauvet <etix@videolan.org>
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 optio... | gpl-2.0 |
gabrielpedepera/sec-tools | wireshark/init.lua | 3 | 15546 | -- init.lua
--
-- initialize wireshark's lua
--
-- This file is going to be executed before any other lua script.
-- It can be used to load libraries, disable functions and more.
--
-- $Id$
--
-- Wireshark - Network traffic analyzer
-- By Gerald Combs <gerald@wireshark.org>
-- Copyright 1998 Gerald Combs
--
-- This p... | mit |
Shulyaka/packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua | 79 | 1251 | local function scrape()
-- documetation about nf_conntrack:
-- https://www.frozentux.net/iptables-tutorial/chunkyhtml/x1309.html
nat_metric = metric("node_nat_traffic", "gauge" )
for e in io.lines("/proc/net/nf_conntrack") do
-- output(string.format("%s\n",e ))
local fields = space_split(e)
local ... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/globals/mobskills/Randgrith.lua | 19 | 1028 | ---------------------------------------------
-- Randgrith
--
-- Description: Lowers target's evasion.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
----------------... | gpl-3.0 |
cryptdb-org/mysql-proxy-0.8-hacks | lib/xtab.lua | 6 | 13591 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
amiranony/anonybot | plugins/rss.lua | 700 | 5434 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local... | gpl-2.0 |
Quenty/NevermoreEngine | src/basicpane/src/Client/BasicPane.lua | 1 | 3701 | --[=[
Base UI object with visibility and a maid. BasicPane provides three points of utility.
1. BasicPane contain visibility API. It's very standard practice to use the VisibleChanged event and
pass visibility up or down the entire stack.
```lua
-- Standard visibility chaining
self._maid:GiveTask(self.VisibleCh... | mit |
Quenty/NevermoreEngine | src/gameconfig/src/Client/GameConfigServiceClient.lua | 1 | 1253 | --[=[
@class GameConfigServiceClient
]=]
local require = require(script.Parent.loader).load(script)
local Maid = require("Maid")
local GameConfigPicker = require("GameConfigPicker")
local GameConfigServiceClient = {}
GameConfigServiceClient.ServiceName = "GameConfigServiceClient"
function GameConfigServiceClient:I... | mit |
ffxiphoenix/darkstar | scripts/zones/Beadeaux_[S]/Zone.lua | 28 | 1315 | -----------------------------------
--
-- Zone: Beadeaux_[S] (92)
--
-----------------------------------
package.loaded["scripts/zones/Beadeaux_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Beadeaux_[S]/TextIDs");
----------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/South_Gustaberg/Zone.lua | 16 | 4518 | -----------------------------------
--
-- Zone: South_Gustaberg (107)
--
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/zone");
require("sc... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Northern_San_dOria/npcs/Shakir.lua | 38 | 1046 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Shakir
-- Type: Standard NPC
-- @zone: 231
-- @pos 48.952 -2.999 -16.687
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
---... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Upper_Jeuno/npcs/Coumuna.lua | 37 | 1325 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Coumuna
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/plate_of_patlican_salata_+1.lua | 35 | 1224 | -----------------------------------------
-- ID: 5583
-- Item: plate_of_patlican_salata_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Agility 4
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-------------------------------------... | gpl-3.0 |
Quenty/NevermoreEngine | src/playerhumanoidbinder/src/Server/PlayerCharacterBinder.lua | 1 | 2608 | --[=[
Binder that will automatically bind to each player's character
@class PlayerCharacterBinder
]=]
local require = require(script.Parent.loader).load(script)
local Players = game:GetService("Players")
local Binder = require("Binder")
local Maid = require("Maid")
local PlayerCharacterBinder = setmetatable({}, B... | mit |
Quenty/NevermoreEngine | src/terrainutils/src/Shared/TerrainUtils.lua | 1 | 1615 | --[=[
Utility functions for manipulating terrain
@class TerrainUtils
]=]
local require = require(script.Parent.loader).load(script)
local Region3Utils = require("Region3Utils")
local Region3int16Utils = require("Region3int16Utils")
local Vector3int16Utils = require("Vector3int16Utils")
local TerrainUtils = {}
--[... | mit |
PouriaDev/Signal-New | libs/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/weaponskills/cyclone.lua | 30 | 1416 | -----------------------------------
-- Cyclone
-- Dagger weapon skill
-- Skill level: 125
-- Delivers an area attack that deals wind elemental damage. Damage varies with TP.
-- This weapon skill is ranged and can be used from a distance (Up to 15').
-- Directly affected by Magic Attack Bonus.
-- Aligned with the... | gpl-3.0 |
vilarion/Illarion-Content | monster/race_5_lizard/id_53_mage.lua | 3 | 1367 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
cryptdb-org/mysql-proxy-0.8-hacks | lib/histogram.lua | 6 | 5165 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Al_Zahbi/npcs/Shayadar.lua | 38 | 1034 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Shayadar
-- Type: Gadalar's Attendant
-- @zone: 48
-- @pos -107.177 -6.999 33.463
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Temenos/mobs/Goblin_Warlord.lua | 16 | 1189 | -----------------------------------
-- Area: Temenos N T
-- NPC: Goblin_Warlord
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------------... | gpl-3.0 |
usstwxy/luarocks | src/luarocks/fetch.lua | 12 | 15290 |
--- Functions related to fetching and loading local and remote files.
--module("luarocks.fetch", package.seeall)
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("luaro... | mit |
ffxiphoenix/darkstar | scripts/zones/West_Ronfaure/npcs/Vilatroire.lua | 17 | 1586 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Vilatroire
-- Involved in Quests: "Introduction To Teamwork", "Intermediate Teamwork",
-- "Advanced Teamwork"
-- @pos -260.361 -70.999 423.420 100
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/abilities/pets/fire_iv.lua | 20 | 1157 | ---------------------------------------------------
-- Aero 2
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
----------------------------------------------... | gpl-3.0 |
Quenty/NevermoreEngine | src/gameconfig/src/Client/Config/Asset/GameConfigAssetClient.lua | 1 | 3372 | --[=[
@class GameConfigAssetClient
]=]
local require = require(script.Parent.loader).load(script)
local GameConfigAssetBase = require("GameConfigAssetBase")
local GameConfigTranslator = require("GameConfigTranslator")
local Rx = require("Rx")
local PseudoLocalize = require("PseudoLocalize")
local GameConfigAssetCli... | mit |
ffxiphoenix/darkstar | scripts/zones/Western_Adoulin/npcs/HomePoint#1.lua | 17 | 1240 | -----------------------------------
-- Area: Western_Adoulin
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Western_Adoulin/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
federicodotta/proxmark3 | client/lualibs/utils.lua | 7 | 5848 | --[[
This may be moved to a separate library at some point (Holiman)
--]]
local Utils =
{
-- Asks the user for Yes or No
confirm = function(message, ...)
local answer
message = message .. " [y/n] ?"
repeat
io.write(message)
io.flush()
answer=io.read()
if answer == 'Y' or answer == "y"... | gpl-2.0 |
obi-two/Unofficial_Hope | data/script/TutorialPart_2_9.lua | 5 | 1099 | -- TutorialPart_2_9
-- Get access to Tutorial via ScriptEngine
local script = LuaScriptEngine.getScriptObj();
local SE = ScriptEngine:Init();
local tutorial = SE:getTutorial(script);
-- Verify correct state
local state = tutorial:getState();
-- wait for client to become ready.
while tutorial:getReady() == false do
... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Metalworks/npcs/Iron_Eater.lua | 16 | 3890 | -----------------------------------
-- Area: Metalworks
-- NPC: Iron Eater
-- Involved in Missions
-- @pos 92.936 -19.532 1.814 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("... | gpl-3.0 |
kondrak/ProDBG | bin/win32/scripts/tundra/syntax/bison.lua | 20 | 1173 | module(..., package.seeall)
local path = require "tundra.path"
DefRule {
Name = "Bison",
Command = "", -- Replaced on a per-instance basis.
ConfigInvariant = true,
Blueprint = {
Source = { Required = true, Type = "string" },
OutputFile = { Required = false, Type = "string" },
TokenDefine... | mit |
kondrak/ProDBG | bin/macosx/tundra/scripts/tundra/syntax/bison.lua | 20 | 1173 | module(..., package.seeall)
local path = require "tundra.path"
DefRule {
Name = "Bison",
Command = "", -- Replaced on a per-instance basis.
ConfigInvariant = true,
Blueprint = {
Source = { Required = true, Type = "string" },
OutputFile = { Required = false, Type = "string" },
TokenDefine... | mit |
bgarrels/vlc-2.1 | share/lua/intf/modules/host.lua | 48 | 12262 | --[==========================================================================[
host.lua: VLC Lua interface command line host module
--[==========================================================================[
Copyright (C) 2007-2012 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/globals/items/bunch_of_pamamas.lua | 36 | 2212 | -----------------------------------------
-- ID: 4468
-- Item: Bunch of Pamamas
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength -3
-- Intelligence 1
-- Additional Effect with Opo-Opo Crown
-- HP 50
-- MP 50
-- CHR 14
-- Additional Effect with Kinkobo or
-- Primate Staff
-- DELAY ... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Cattah_Pamjah.lua | 38 | 1050 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Cattah Pamjah
-- Type: Title Changer
-- @zone: 94
-- @pos -13.564 -2 10.673
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Abyssea-Attohwa/Zone.lua | 32 | 1548 | -----------------------------------
--
-- Zone: Abyssea - Attohwa
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Attohwa/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Dynamis-Tavnazia/mobs/Nightmare_Hornet.lua | 13 | 1507 | -----------------------------------
-- Area: Dynamis Tavnazia
-- NPC: Nightmare_Hornet
-----------------------------------
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Tavnazia/TextIDs")... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/abilities/hunters_roll.lua | 9 | 2848 | -----------------------------------
-- Ability: Hunter's Roll
-- Enhances accuracy and ranged accuracy for party members within area of effect
-- Optimal Job: Ranger
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 11
--
-- Die Roll |Without RNG |With RNG
-- -------- ------------ -------
-- 1 ... | gpl-3.0 |
TannerRogalsky/leroy | main.lua | 1 | 1102 | do
function string:split(sep)
local sep, fields = sep or ':', {}
local pattern = string.format('([^%s]+)', sep)
self:gsub(pattern, function(c) fields[#fields+1] = c end)
return fields
end
local IRC = require 'irc'
local redis = require 'redis'
http = require 'socket.http'
local socket = re... | mit |
ffxiphoenix/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/qm3.lua | 27 | 1625 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: qm3 "???"
-- Involved in Quests: Steamed Rams
-- @pos 312.821 -30.495 -67.15
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/abilities/pets/aero_iv.lua | 20 | 1157 | ---------------------------------------------------
-- Aero 4
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
----------------------------------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Hieroglyphics.lua | 17 | 2420 | -----------------------------------
-- Area: Buburimu_Peninsula
-- NPC: Hieroglyphics
-- Dynamis Buburimu_Dunes Enter
-- @pos 117 -10 133 172 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
WUTiAM/uLua2 | Assets/LuaScripts/pb/common_base_pb.lua | 1 | 10360 | -- Generated By protoc-gen-lua Do not Edit
local protobuf = require( "depends/protobuf/protobuf" )
local __COMMON_ENUMS_PB = require( "pb/__common_enums_pb" )
--module('common_base_pb')
local common_base_pb = {}
local _POSITION2D = protobuf.Descriptor();
local _POSITION2D_X_FIELD = protobuf.FieldDescriptor();
local _... | mit |
ffxiphoenix/darkstar | scripts/zones/Windurst_Waters/npcs/Dienger.lua | 38 | 1042 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dienger
-- Type: Melody Minstrel
-- @zone: 238
-- @pos -46.448 -6.312 212.384
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-------... | gpl-3.0 |
pirunxi/world | world/Content/Lua/test/test.lua | 1 | 4706 | --
-- Created by HuangQiang on 2017/6/12.
--
--[[
local fieldName2Index = {
id = 1,
name = 2,
dest = 3,
}
local meta = {
}
meta.__index = function (t, key)
local index = fieldName2Index[key]
if index then
return rawget(t, index)
elseif key == "class" then
return "cfg.role.Item"
else
error("unknown type:... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Port_San_dOria/npcs/Leonora.lua | 17 | 1498 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Leonora
-- Involved in Quest:
-- @zone 232
-- @pos -24 -8 15
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Hall_of_the_Gods/npcs/_6z0.lua | 17 | 1721 | -----------------------------------
-- Area: Hall of the Gods
-- NPC: Cermet Gate
-- Gives qualified players access to Ru'Aun Gardens.
-- @pos 0 -12 48 251
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
-----... | gpl-3.0 |
keshwans/vlc | share/lua/modules/sandbox.lua | 96 | 4375 | --[==========================================================================[
sandbox.lua: Lua sandboxing facilities
--[==========================================================================[
Copyright (C) 2007 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This program is f... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Caedarva_Mire/npcs/Nahshib.lua | 19 | 1979 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Nahshib
-- Type: Assault
-- @pos -274.334 -9.287 -64.255 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/... | gpl-3.0 |
hfjgjfg/uzzz | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
vilarion/Illarion-Content | monster/race_51_bear/black.lua | 2 | 1140 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
longhf/loadcaffe | loadcaffe.lua | 2 | 1388 | local ffi = require 'ffi'
local C = loadcaffe.C
loadcaffe.load = function(prototxt_name, binary_name, backend)
local backend = backend or 'nn'
local handle = ffi.new('void*[1]')
-- loads caffe model in memory and keeps handle to it in ffi
local old_val = handle[1]
C.loadBinary(handle, prototxt_name, binary... | bsd-2-clause |
guker/nn | Reshape.lua | 2 | 1675 | local Reshape, parent = torch.class('nn.Reshape', 'nn.Module')
function Reshape:__init(...)
parent.__init(self)
local arg = {...}
self.size = torch.LongStorage()
self.batchsize = torch.LongStorage()
if torch.type(arg[#arg]) == 'boolean' then
self.batchMode = arg[#arg]
table.remove(arg, #arg... | bsd-3-clause |
mahdikord/mahdib0 | plugins/search_youtube.lua | 674 | 1270 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
local function searchYoutubeVideos(text)
local url = 'https://www.googleapis.com/youtube/v3/search?'
u... | gpl-2.0 |
vilarion/Illarion-Content | item/id_3076_coppercoins.lua | 3 | 1881 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Port_Windurst/npcs/_6o7.lua | 37 | 1091 | -----------------------------------
-- Area: Port Windurst
-- NPC: Door: Arrivals Entrance
-- @zone 240
-- @pos 212 -6 96
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("script... | gpl-3.0 |
septag/bgfx | 3rdparty/spirv-tools/external/SPIRV-Headers/include/spirv/1.2/spirv.lua | 59 | 26887 | -- Copyright (c) 2014-2018 The Khronos Group Inc.
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and/or associated documentation files (the "Materials"),
-- to deal in the Materials without restriction, including without limitation
-- the rights to use, copy, mod... | bsd-2-clause |
ffxiphoenix/darkstar | scripts/zones/Labyrinth_of_Onzozo/TextIDs.lua | 9 | 1092 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Ghelsba_Outpost/npcs/Logging_Point.lua | 29 | 1107 | -----------------------------------
-- Area: Ghelsba Outpost
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Ghelsba_Outpost/TextIDs");
... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/serving_of_bison_steak.lua | 35 | 1776 | -----------------------------------------
-- ID: 5142
-- Item: serving_of_bison_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 6
-- Agility 1
-- Intelligence -3
-- Attack % 18
-- Attack Cap 90
-- Ranged ATT % 18
-- Ranged ATT Cap 90
-- Lizard Killer 5
--------... | gpl-3.0 |
RodneyMcKay/x_hero_siege | game/scripts/vscripts/abilities/heroes/hero_mountain_giant.lua | 1 | 7120 | function DwarfToss( keys )
local caster = keys.caster
local ability = keys.ability
local target_pos = keys.target_points[1]
local ability_level = ability:GetLevel() - 1
local root_modifier = keys.root_modifier
local buff_modifier = keys.buff_modifier
local sound_cast = keys.sound_cast
local caster_pos = caster:GetAbsOr... | gpl-2.0 |
farrajota/human_pose_estimation_torch | models/hg-stacked.lua | 1 | 2468 | paths.dofile('layers/Residual.lua')
local function hourglass(n, numIn, numOut, inp)
-- Upper branch
local up1 = Residual(numIn,256)(inp)
local up2 = Residual(256,256)(up1)
local up4 = Residual(256,numOut)(up2)
-- Lower branch
local pool = nn.SpatialMaxPooling(2,2,2,2)(inp)
local low1 = Res... | mit |
usstwxy/luarocks | src/luarocks/fs.lua | 15 | 2134 |
--- Proxy module for filesystem and platform abstractions.
-- All code using "fs" code should require "luarocks.fs",
-- and not the various platform-specific implementations.
-- However, see the documentation of the implementation
-- for the API reference.
local pairs = pairs
--module("luarocks.fs", package.seeall)
... | mit |
ffxiphoenix/darkstar | scripts/globals/items/plate_of_salmon_sushi_+1.lua | 35 | 1480 | -----------------------------------------
-- ID: 5664
-- Item: plate_of_salmon_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 2
-- Accuracy % 15
-- Ranged ACC % 15
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
kondrak/ProDBG | bin/win32/scripts/tundra/test/t_path.lua | 28 | 2760 | module(..., package.seeall)
local path = require "tundra.path"
local native = require "tundra.native"
local function check_path(t, p, expected)
p = p:gsub('\\', '/')
t:check_equal(p, expected)
end
unit_test('path.normalize', function (t)
check_path(t, path.normalize("foo"), "foo")
check_path(t, path.normaliz... | mit |
kondrak/ProDBG | bin/macosx/tundra/scripts/tundra/nodegen.lua | 20 | 26246 | module(..., package.seeall)
local unitgen = require "tundra.unitgen"
local util = require "tundra.util"
local path = require "tundra.path"
local depgraph = require "tundra.depgraph"
local buildfile = require "tundra.buildfile"
local native = require "tundra.native"
local ide_backend = nil
local curre... | mit |
Aminkavari/xXD4RKXx | plugins/invite.lua | 63 | 1107 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) or is_gbanned(result.id) then -- Ignore bans and globall bans
send_large_msg(chat, 'User is banned.')
else
... | gpl-2.0 |
moonlight/blues-brothers-rpg | data/scripts/Pawn.lua | 1 | 4095 | --
-- A base class for anything that walks like a character
-- By Bjorn Lindeijer
import("Actor.lua")
import("BloodSplat.lua")
Pawn = Actor:subclass
{
name = "Pawn";
init = function(self)
self.health = self.maxHealth
-- Create the default controller, if present
if (not self.controller and self.controllerCl... | gpl-2.0 |
VoxelDavid/echo-ridge | src/ReplicatedStorage/Services/Modules/Route.module.lua | 1 | 2192 | local run = game:GetService("RunService")
local storage = require(script.Parent.RoutingStorage)
local function setupMethodRouting(router, methodRemotes)
for _, remote in ipairs(methodRemotes:GetChildren()) do
--[[ All of our Services use colon notation for their methods.
This is to stay consistent with R... | mit |
guker/nn | SpatialUpSamplingNearest.lua | 6 | 1974 | local SpatialUpSamplingNearest, parent = torch.class('nn.SpatialUpSamplingNearest', 'nn.Module')
--[[
Applies a 2D up-sampling over an input image composed of several input planes.
The upsampling is done using the simple nearest neighbor technique.
The Y and X dimensions are assumed to be the last 2 tensor di... | bsd-3-clause |
ffxiphoenix/darkstar | scripts/globals/weaponskills/slice.lua | 30 | 1623 | -----------------------------------
-- Slice
-- Scythe weapon skill
-- Skill level: 5
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:100%
-- 100%TP 200%TP 300%TP
-- 1.50 1.75 2.00
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/sett... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/Treasure_Chest.lua | 19 | 3244 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Treasure Chest
-- Involved In Quest: The Goblin Tailor
-- @zone 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requi... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm3.lua | 17 | 1900 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm3 (???)
-- Involved In Quest: Yomi Okuri
-- @pos -767 -4 192 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/mobskills/Binary_Tap.lua | 13 | 1709 | ---------------------------------------------------
-- Binary Tap
-- Attempts to absorb two buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buf... | gpl-3.0 |
vilarion/Illarion-Content | quest/henry_darter_64_runewick.lua | 3 | 4666 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
Mhdl80/daredevil_mental11 | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Phrohdoh/OpenRA | mods/d2k/maps/atreides-02b/atreides02b.lua | 4 | 2641 | --[[
Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
vilarion/Illarion-Content | monster/race_113_rabbit/id_1133_forest.lua | 3 | 1028 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.