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 |
|---|---|---|---|---|---|
starlightknight/darkstar | scripts/zones/Bearclaw_Pinnacle/bcnms/flames_for_the_dead.lua | 9 | 1404 | -----------------------------------
-- Flames for the Dead
-- Bearclaw Pinnacle mission battlefield
-----------------------------------
require("scripts/globals/battlefield")
require("scripts/globals/missions")
-----------------------------------
function onBattlefieldTick(battlefield, tick)
dsp.battlefield.onBatt... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/coral_fungus.lua | 12 | 1191 | -----------------------------------------
-- ID: 4450
-- Item: coral_fungus
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -4
-- Mind 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/serving_of_bass_meuniere_+1.lua | 11 | 1367 | -----------------------------------------
-- ID: 4346
-- Item: serving_of_bass_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 3 (cap 130)
-- Dexterity 3
-- Agility 3
-- Mind -3
-- Ranged ACC % 6
-- Ranged ACC Cap 20
-----------------------------------------
require("... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_5.lua | 2 | 3405 | -----------------------------------
-- Area: LaLoff Amphitheater
-- Name: Ark Angels 5 (Galka)
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/missio... | gpl-3.0 |
focusworld/ghost-bot | plugins/banhammer.lua | 294 | 10470 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
starlightknight/darkstar | scripts/globals/weaponskills/blade_to.lua | 10 | 1417 | -----------------------------------
-- Blade To
-- Katana weapon skill
-- Skill Level: 100
-- Deals ice elemental damage. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30% INT:30%
-- 100%TP 200%TP 300%TP
-- 0... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Cloister_of_Frost/npcs/Cermet_Headstone.lua | 11 | 2584 | -----------------------------------
-- Area: Cloister of Frost
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Ice Fragment)
-- !pos 566 0 606 203
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/titles");
require("scripts/globals/missions");
... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/serving_of_flounder_meuniere_+1.lua | 12 | 1659 | -----------------------------------------
-- ID: 4345
-- Item: serving_of_flounder_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 6
-- Vitality 1
-- Mind -1
-- Ranged ACC 15
-- Ranged ATT % 14
-- Ranged ATT Cap 30
-- Enmity -4
---------------------------------------... | gpl-3.0 |
Amorph/premake-stable | src/tools/dotnet.lua | 40 | 1857 | --
-- dotnet.lua
-- Interface for the C# compilers, all of which are flag compatible.
-- Copyright (c) 2002-2009 Jason Perkins and the Premake project
--
premake.dotnet = { }
premake.dotnet.namestyle = "windows"
--
-- Translation of Premake flags into CSC flags
--
local flags =
{
FatalWarning = "/warnase... | bsd-3-clause |
gedads/Neodynamis | scripts/zones/Bastok_Mines/npcs/Rodellieux.lua | 17 | 1433 | -----------------------------------
-- Area: Bastok_Mines
-- NPC: Rodellieux
-- Only sells when Bastok controlls Fauregandi Region
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Abyssea-Tahrongi/npcs/qm21.lua | 3 | 1566 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns Lacovie
-- !pos ? ? ? 45
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
function... | gpl-3.0 |
hyee/dbcli | lib/misc.lua | 1 | 17960 | local ffi = require("ffi")
local string,table,math,java,loadstring,tostring,tonumber=string,table,math,java,loadstring,tostring,tonumber
local ipairs,pairs,type=ipairs,pairs,type
function string.initcap(v)
return (' '..v):lower():gsub("([^%w])(%w)",function(a,b) return a..b:upper() end):sub(2)
end
function os.she... | mit |
starlightknight/darkstar | scripts/zones/Lower_Jeuno/npcs/Hasim.lua | 6 | 3566 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Hasim
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Lower_Jeuno/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Port_Bastok/npcs/Numa.lua | 17 | 1786 | -----------------------------------
-- Area: Port Bastok
-- NPC: Numa
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
------------... | gpl-3.0 |
blogic/packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/ltq-dsl.lua | 17 | 4392 | local function scrape()
local fd = io.popen("/etc/init.d/dsl_control lucistat")
local dsl_func = loadstring(fd:read("*a"))
fd:close()
if not dsl_func then
return
end
local dsl_stat = dsl_func()
local dsl_line_attenuation = metric("dsl_line_attenuation_db", "gauge")
local dsl_signal_attenuation = ... | gpl-2.0 |
adbre/google-diff-match-patch | lua/diff_match_patch.lua | 265 | 73869 | --[[
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser.
* Ported to Lua by Duncan Cross.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | apache-2.0 |
starlightknight/darkstar | scripts/globals/mobskills/deadeye.lua | 12 | 1270 | ---------------------------------------------
-- Deadeye
-- Family: Qiqurn
-- Description: Lowers the defense and magical defense of enemies within range.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown
-- Notes: Used only by certain Notorious Monsters. Strong dsp.effect.
------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Windurst_Woods/npcs/Gioh_Ajihri.lua | 28 | 2994 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Gioh Ajihri
-- Starts & Finishes Repeatable Quest: Twinstone Bonding
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
scutwukai/heka_sandbox_lua | ntes_nginx_access_filter.lua | 1 | 2557 | --[[
:Timestamp: 2015-09-08 03:21:09 +0000 UTC
:Type: nginx.access
:Hostname: gsdev
:Pid: 0
:Uuid: 60a57596-fbaf-49e4-af2b-ec53224895cb
:Logger: nginx_access_input
:Payload:
:EnvVersion:
:Severity: 7
:Fields:
| name:"user_agent_browser" type:string value:"Firefox"
| name:"cookie_sid" type:string value:"TqweuNGI... | mit |
gedads/Neodynamis | scripts/globals/items/cheval_salmon.lua | 12 | 1344 | -----------------------------------------
-- ID: 4379
-- Item: cheval_salmon
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Charisma -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Castle_Zvahl_Baileys_[S]/Zone.lua | 32 | 1301 | -----------------------------------
--
-- Zone: Castle_Zvahl_Baileys_[S] (138)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Baileys_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Baileys_[S]/TextIDs"... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Meriphataud_Mountains/npcs/Stone_Monument.lua | 3 | 1312 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- !pos 450.741 2.110 -290.736 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/spells/drown.lua | 5 | 2061 | -----------------------------------------
-- Spell: Drown
-- Deals water damage that lowers an enemy's strength and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg")... | gpl-3.0 |
dimitarcl/premake-dev | tests/actions/vstudio/vc2010/test_build_events.lua | 5 | 2318 | --
-- tests/actions/vstudio/vc2010/test_build_events.lua
-- Check generation of pre- and post-build commands for C++ projects.
-- Copyright (c) 2012-2013 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_vc2010_build_events")
local vc2010 = premake.vstudio.vc2010
--
-- Setup
--
local s... | bsd-3-clause |
gedads/Neodynamis | scripts/zones/Riverne-Site_B01/npcs/Unstable_Displacement.lua | 3 | 2160 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-- ENM Battlefield
-- !pos -612 4 693
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scrip... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/RoMaeve/IDs.lua | 6 | 3051 | -----------------------------------
-- Area: RoMaeve
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.ROMAEVE] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after sorti... | gpl-3.0 |
O-P-E-N/CC-ROUTER | feeds/luci/modules/luci-mod-rpc/luasrc/controller/rpc.lua | 37 | 4466 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local require = require
local pairs = pairs
local print = print
local pcall = pcall
local table = table
module "luci.controller.rpc"
function index()
local ... | gpl-2.0 |
gedads/Neodynamis | scripts/zones/Port_Windurst/npcs/Kumama.lua | 17 | 1712 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kumama
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs");
----... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/chocolate_cake.lua | 11 | 1127 | -----------------------------------------
-- ID: 5633
-- Item: Chocolate Cake
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- MP +3% (cap 90)
-- HP Recovered while healing +1
-- MP Recovered while healing +6
-----------------------------------------
require("scripts/g... | gpl-3.0 |
Amorph/premake-stable | src/_manifest.lua | 1 | 2001 | --
-- _manifest.lua
-- Manage the list of built-in Premake scripts.
-- Copyright (c) 2002-2011 Jason Perkins and the Premake project
--
-- The master list of built-in scripts. Order is important! If you want to
-- build a new script into Premake, add it to this list.
return
{
-- core files
"base/os.lua",
"bas... | bsd-3-clause |
starlightknight/darkstar | scripts/globals/spells/tornado.lua | 12 | 1030 | -----------------------------------------
-- Spell: Tornado
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
-----------------------------------------
function onMagicCastingCheck(caster,... | gpl-3.0 |
hwhw/kindlevncviewer | rfbkeys.lua | 2 | 36641 | --[[**********************************************************
Copyright (c) 1987, 1994 X Consortium
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 limitat... | gpl-2.0 |
O-P-E-N/CC-ROUTER | feeds/luci/modules/luci-base/luasrc/model/uci.lua | 49 | 4995 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local os = require "os"
local uci = require "uci"
local util = require "luci.util"
local table = require "table"
local setmetatable, rawget, rawset = setmetatable, rawget, rawset
local require, getmetata... | gpl-2.0 |
starlightknight/darkstar | scripts/globals/mobskills/pw_groundburst.lua | 11 | 1089 | ---------------------------------------------
-- Groundburst
--
-- Description: Expels a fireball on targets in an area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown radial
-- Notes: Only used by notorious monsters, and from any Mamool Ja in besieged.
---------------------------... | gpl-3.0 |
starlightknight/darkstar | scripts/commands/getmod.lua | 12 | 1470 | ---------------------------------------------------------------------------------------------------
-- func: getmod <modID>
-- desc: gets a mod by ID on the player or cursor target
---------------------------------------------------------------------------------------------------
require("scripts/globals/status")
cmdp... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Torino-Samarino.lua | 9 | 2648 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Torino-Samarino
-- Type: Quest NPC
-- Involved in Quests: Curses, Foiled A-Golem!?, Tuning Out
-- !pos 105 -20 140 111
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
local ID = requi... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/RuLude_Gardens/npcs/Magian_Moogle_Blue.lua | 3 | 1857 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Magian Moogle (Blue Bobble)
-- Type: Magian Trials NPC (Relic Armor)
-- !pos -6.843 2.459 121.9 64
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
package.loaded["scripts/globals/magiantrials"] = nil;... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Southern_San_dOria/npcs/Raimbroy.lua | 3 | 3549 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Raimbroy
-- Starts and Finishes Quest: The Sweetest Things
-- @zone 230
-- !pos
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Temple_of_Uggalepih/npcs/_4fz.lua | 3 | 1501 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Granite Door
-- Leads to painbrush room @ F-7
-- !pos 60 0.1 8 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
re... | gpl-3.0 |
RememberTheAir/GroupButler | lua/groupbutler/plugins/banhammer.lua | 1 | 8117 | local config = require "groupbutler.config"
local ChatMember = require("groupbutler.chatmember")
local User = require("groupbutler.user")
local _M = {}
function _M:new(update_obj)
local plugin_obj = {}
setmetatable(plugin_obj, {__index = self})
for k, v in pairs(update_obj) do
plugin_obj[k] = v
end
return plug... | gpl-2.0 |
starlightknight/darkstar | scripts/commands/mp.lua | 22 | 1359 | ---------------------------------------------------------------------------------------------------
-- func: mp <amount> <player>
-- desc: Sets the GM or target players mana.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
paramet... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/aileens_delight.lua | 11 | 1521 | -----------------------------------------
-- ID: 5674
-- Item: Aileen's Delight
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP +50
-- MP +50
-- STR +4
-- DEX +4
-- VIT +4
-- AGI +4
-- INT +4
-- MND +4
-- CHR +4
-- MP recovered while healing +2
-----------------------------------------... | gpl-3.0 |
tommy3/Urho3D | bin/Data/LuaScripts/49_Urho2DIsometricDemo.lua | 12 | 6480 | -- Urho2D tile map example.
-- This sample demonstrates:
-- - Creating an isometric 2D scene with tile map
-- - Displaying the scene using the Renderer subsystem
-- - Handling keyboard to move a character and zoom 2D camera
-- - Generating physics shapes from the tmx file's objects
-- - Displaying debug ... | mit |
mslegrand/ta_rmb | lexers/rstats.lua | 1 | 3902 | -- Copyright 2006-2015 Mitchell mitchell.att.foicica.com. See LICENSE.
-- R LPeg lexer.
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'rstats'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- Comments.
local comment =... | mit |
pravsingh/Algorithm-Implementations | Derivative/Lua/Yonaba/derivative_test.lua | 26 | 1356 | -- Tests for derivative.lua
local drv = require 'derivative'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
loc... | mit |
disslove85/NOVA1-BOT | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- 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.... | gpl-2.0 |
hades2013/openwrt-mtk | package/ralink/ui/luci-mtk/src/modules/base/luasrc/ccache.lua | 82 | 1863 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 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
ht... | gpl-2.0 |
O-P-E-N/CC-ROUTER | feeds/luci/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua | 17 | 2481 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local wa = require "luci.tools.webadmin"
local fs = require "nixio.fs"
m = Map("qos", translate("Quality of Service"),
translate("With <abbr title=\"Quality of Service\">QoS</abbr> you " ..
"can prioritize n... | gpl-2.0 |
gedads/Neodynamis | scripts/zones/Selbina/npcs/Wenzel.lua | 3 | 1051 | ----------------------------------
-- Area: Selbina
-- NPC: Wenzel
-- Type: Item Deliverer
-- !pos 31.961 -14.661 57.997 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
---------------------... | gpl-3.0 |
williamrussellajb/Alchemist | localization/en.lua | 3 | 2369 | local mkstr = ZO_CreateStringId
local SI = Alchemist.SI
-- output texts
mkstr(SI.NO_DISCOVERIES_AVAILABLE, "No discoveries available.")
mkstr(SI.COMBINATIONS_AVAILABLE, "%d combination(s) available!")
mkstr(SI.COMBINE_THE_FOLLOWING, "Combine the following:")
mkstr(SI.TO_GET_THE_FOLLOWIN... | mit |
starlightknight/darkstar | scripts/globals/spells/doton_san.lua | 12 | 1346 | -----------------------------------------
-- Spell: Doton: San
-- Deals earth damage to an enemy and lowers its resistance against wind.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
function onMagicCastingCheck(caster,target,spell)
return 0
end
func... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/weaponskills/resolution.lua | 23 | 1835 | -----------------------------------
-- Resolution
-- Great Sword weapon skill
-- Skill Level: 357
-- Delivers a fivefold attack. Damage varies with TP.
-- In order to obtain Resolution, the quest Martial Mastery must be completed.
-- This Weapon Skill's first hit params.ftp is duplicated for all additional hits.
-- Res... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/weaponskills/metatron_torment.lua | 10 | 2376 | -----------------------------------
-- Metatron Torment
-- Hand-to-Hand Skill level: 5 Description: Delivers a threefold attack. Damage varies wit weapon skill
-- Great Axe Weapon Skill
-- Skill Level: N/A
-- Lowers target's defense. Additional effect: temporarily lowers damage taken from enemies.
-- Defense Down effec... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Bibiki_Bay/npcs/Noih_Tahparawh.lua | 3 | 3935 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Noih Tahparawh
-- Type: Manaclipper
-- !pos -392 -3 -385 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
require("scripts/zones/Bibiki_Bay/TextIDs");
-----------------------------------
-- onTrade Acti... | gpl-3.0 |
libmoon/libmoon | lua/proto/arp.lua | 4 | 19931 | ------------------------------------------------------------------------
--- @file arp.lua
--- @brief Address resolution protocol (ARP) utility.
--- Utility functions for the arp_header struct
--- Includes:
--- - Arp constants
--- - Arp address utility
--- - Arp header utility
--- - Definition of Arp packets
--- - Arp ... | mit |
ABrandau/OpenRA | mods/d2k/maps/atreides-02a/atreides02a.lua | 4 | 2649 | --[[
Copyright 2007-2019 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 |
gedads/Neodynamis | scripts/zones/Qufim_Island/npcs/Giant_Footprint.lua | 3 | 1059 | -----------------------------------
-- Area: Qufim Island
-- NPC: Giant Footprint
-- Involved in quest: Regaining Trust
-- !pos 501 -11 354 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Qufim_Island/TextID... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/bowl_of_witch_stew.lua | 11 | 1149 | -----------------------------------------
-- ID: 4344
-- Item: witch_stew
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Magic Points 45
-- Strength -1
-- Mind 4
-- MP Recovered While Healing 4
-- Enmity -4
-----------------------------------------
require("scripts/globals/status")
requi... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/behemoth_steak_+1.lua | 12 | 2003 | -----------------------------------------
-- ID: 6465
-- Item: behemoth_steak_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- HP +45
-- STR +8
-- DEX +8
-- INT -4
-- Attack +24% (cap 165)
-- Ranged Attack +24% (cap 165)
-- Triple Attack +2%
-- Lizard Killer +5
-- hHP +5
---------------... | gpl-3.0 |
arrayfire/arrayfire_lua | wrapper/arrayfire/funcs/io.lua | 4 | 1235 | --- IO functions.
-- Modules --
local af = require("arrayfire_lib")
local array = require("impl.array")
-- Imports --
local Call = array.Call
local CallWrap = array.CallWrap
-- Exports --
local M = {}
-- See also: https://github.com/arrayfire/arrayfire/blob/devel/src/api/cpp/imageio.cpp
local function LoadImage (f... | bsd-3-clause |
pedro-andrade-inpe/terrame | packages/base/tests/observer/alternative/Clock.lua | 3 | 1981 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
Micr0Bit/OpenRA | lua/stacktraceplus.lua | 59 | 12006 | -- tables
local _G = _G
local string, io, debug, coroutine = string, io, debug, coroutine
-- functions
local tostring, print, require = tostring, print, require
local next, assert = next, assert
local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs
local error = error
assert(debug, "debug table must be availa... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Port_Windurst/npcs/Ohruru.lua | 9 | 4583 | -----------------------------------
-- Area: Port Windurst
-- NPC: Ohruru
-- Starts & Finishes Repeatable Quest: Catch me if you can
-- Involved in Quest: Wonder Wands
-- Note: Animation for his "Cure" is not functioning. Unable to capture option 1, so if the user says no, he heals them anyways.
-- !pos -108 -5 94 240... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Riverne-Site_A01/npcs/_0u1.lua | 17 | 1367 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/TextIDs");
... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Port_Bastok/npcs/Evi.lua | 9 | 1836 | -----------------------------------
-- Area: Port Bastok
-- NPC: Evi
-- Starts Quests: Past Perfect (100%)
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
local ID = require("scripts/zones/Port_Bastok/IDs");
--------------... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/mobskills/gates_of_hades.lua | 33 | 1414 | ---------------------------------------------
-- Gates of Hades
--
-- Description: Deals severe Fire damage to enemies within an area of effect. Additional effect: Burn
-- Type: Magical
--
--
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 20' radial
-- Notes: Only used when a cerberus's health is 25% or lower... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/The_Colosseum/npcs/Zandjarl.lua | 12 | 2646 | -----------------------------------
-- Area: The Colosseum
-- NPC: Zandjarl
-- Type: Pankration NPC
-- !pos -599 0 45 71
-----------------------------------
local ID = require("scripts/zones/The_Colosseum/IDs");
-----------------------------------
function onTrade(player,npc,trade)
local RESULT = nil;
local C... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Kuftal_Tunnel/IDs.lua | 9 | 5694 | -----------------------------------
-- Area: Kuftal_Tunnel
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.KUFTAL_TUNNEL] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back... | gpl-3.0 |
BillardDRP/nathaniel-rp-addons | addons/billard_rp_ents/lua/entities/billard_weed_harvested/init.lua | 2 | 1137 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
function ENT:Initialize()
self:SetModel("models/props/cs_office/trash_can_p5.mdl") //Once again, custom models are overrated
self:SetColor(Color(0, 255, 0, 255))
self:SetMaterial("models/props_c17/furniturefabric_002a")
self:Phy... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Oldton_Movalpolos/npcs/Tarnotik.lua | 9 | 1132 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Tarnotik
-- Type: Standard NPC
-- !pos 160.896 10.999 -55.659 11
-----------------------------------
require("scripts/globals/missions")
require("scripts/globals/npc_util")
-----------------------------------
function onTrade(player, npc, trade)
... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ee.lua | 17 | 3749 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #1 (E 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;
-----------------------------------
re... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/West_Ronfaure/npcs/Phairet.lua | 3 | 2616 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Phairet
-- Involved in Quest: The Trader in the Forest
-- !pos -57 -1 -501 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requ... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/irmik_helvasi.lua | 11 | 1155 | -----------------------------------------
-- ID: 5572
-- Item: irmik_helvasi
-- Food Effect: 3 hours, All Races
-----------------------------------------
-- HP +10% (cap 75)
-- MP +3% (cap 13)
-- INT +1
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
----------... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Arrapago_Reef/mobs/Velionis.lua | 11 | 1944 | -----------------------------------
-- Area: Arrapago Reef
-- ZNM: Velionis
-----------------------------------
mixins = {require("scripts/mixins/rage")}
require("scripts/globals/status")
-----------------------------------
-- Todo: blaze spikes effect only activates while not in casting animation
function onMobInitia... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Monastic_Cavern/TextIDs.lua | 3 | 1704 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6386; -- Obtained: <item>.
GIL_OBTAINED = 6387; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6389; -- Obtained... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/dish_of_spaghetti_nero_di_seppia.lua | 12 | 1809 | -----------------------------------------
-- ID: 5193
-- Item: dish_of_spaghetti_nero_di_seppia
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP % 17 (cap 130)
-- Dexterity 3
-- Vitality 2
-- Agility -1
-- Mind -2
-- Charisma -1
-- Double Attack 1
-- Store TP 6
--------------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tehf_Kimasnahya.lua | 3 | 3124 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tehf Kimasnahya
-- Type: Standard NPC
-- !pos -89.897 -1 6.199 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Quelveuiat.lua | 9 | 2222 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Quelveuiat
-- Standard Info NPC
-- !pos -3.177 -22.750 -25.970 26
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/globals/keyitems");
local ID = require("scripts/zones/Ta... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Windurst_Woods/npcs/Ju_Kamja.lua | 3 | 1066 | ----------------------------------
-- Area: Windurst Woods
-- NPC: Ju Kamja
-- Type: Item Deliverer
-- !pos 58.145 -2.5 -136.91 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Woods/TextIDs");
---... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/AlTaieu/Zone.lua | 32 | 2324 | -----------------------------------
--
-- Zone: AlTaieu (33)
--
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/titles");
require("scrip... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/PsoXja/npcs/_09b.lua | 3 | 2848 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09b (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- !pos 278.399 -1.925 -50.000 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/RuAun_Gardens/npcs/qm2.lua | 3 | 1472 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: ??? (Seiryu's Spawn)
-- Allows players to spawn the HNM Seiryu with a Gem of the East and a Springstone.
-- !pos 569 -70 -80 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Kazham/npcs/Jakoh_Wahcondalo.lua | 3 | 1767 | -----------------------------------
-- Area: Kazham
-- NPC: Jakoh Wahcondalo
-- !pos 101 -16 -115 250
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Kazham/TextIDs");
-----------... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/abilities/addendum_black.lua | 12 | 1511 | -----------------------------------
-- Ability: Addendum: Black
-- Allows access to additional Black Magic spells while using Dark Arts.
-- Obtained: Scholar Level 30
-- Recast Time: Stratagem Charge
-- Duration: 2 hours
--
-- Level |Charges |Recharge Time per Charge
-- ----- -------- ---------------
-- 10 |1 ... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Port_Jeuno/npcs/Kochahy-Muwachahy.lua | 3 | 2232 | -----------------------------------
-- 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 |
hades2013/openwrt-mtk | package/ralink/ui/luci-mtk/src/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua | 80 | 2172 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 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
h... | gpl-2.0 |
keplerproject/luarocks | spec/doc_spec.lua | 2 | 6174 | local test_env = require("spec.util.test_env")
local run = test_env.run
local testing_paths = test_env.testing_paths
test_env.unload_luarocks()
describe("luarocks doc #integration", function()
before_each(function()
test_env.setup_specs()
end)
describe("basic tests", function()
it("with no flags... | mit |
gedads/Neodynamis | scripts/zones/Beadeaux/npcs/qm2.lua | 3 | 1444 | --------------------------
-- Area: Beadeaux
-- NPC: ??? (qm2)
-- Type: Quest NPC
-- !pos -79 1 -99 147
--------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
--------------------------
require("scripts/zones/Beadeaux/TextIDs");
require("scripts/globals/keyitems");
require("scripts/globals/... | gpl-3.0 |
hyee/dbcli | mysql/mysqluc.lua | 1 | 3588 |
local env,db,os,java=env,env.getdb(),os,java
local ora=db.C.ora
local utils=env.class(env.subsystem)
function utils:ctor()
self.db=env.getdb()
self.support_redirect=false
self.name="MYSQLUC"
self.command=nil
self.executable="mysqluc.exe"
self.description="Switch to MySQL Utilities, the default... | mit |
bigrpg/skynet | test/testsocket.lua | 20 | 1085 | local skynet = require "skynet"
local socket = require "skynet.socket"
local mode , id = ...
local function echo(id)
socket.start(id)
while true do
local str = socket.read(id)
if str then
socket.write(id, str)
else
socket.close(id)
return
end
end
end
if mode == "agent" then
id = tonumber(id)
... | mit |
gedads/Neodynamis | scripts/zones/Mhaura/npcs/Explorer_Moogle.lua | 17 | 1876 | -----------------------------------
-- Area: Mhaura
-- NPC: Explorer Moogle
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/teleports");
... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Balgas_Dais/bcnms/saintly_invitation.lua | 9 | 1701 | -----------------------------------
-- Area: Horlais Peak
-- Name: Saintly Invitation
-- !pos 299 -123 345 146
-----------------------------------
require("scripts/globals/battlefield")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/npc_util")
--------------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/tanners_belt.lua | 15 | 1199 | -----------------------------------------
-- ID: 15448
-- Item: Tanners belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Leathercraft Skill +3
-----------------------------------------
require("script... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/weaponskills/shockwave.lua | 18 | 1486 | -----------------------------------
-- Shockwave
-- Great Sword weapon skill
-- Skill level: 150
-- Delivers an area of effect attack. Sleeps enemies. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: STR:30... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/maws.lua | 8 | 5885 | -----------------------------------
-- Cavernous Maw global functions
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/quests")
require("scripts/globals/settings")
require("scripts/globals/teleports")
require("scripts/globals/titles")
r... | gpl-3.0 |
starlightknight/darkstar | scripts/commands/additem.lua | 12 | 1374 | ---------------------------------------------------------------------------------------------------
-- func: additem <itemId> <quantity> <aug1> <v1> <aug2> <v2> <aug3> <v3> <aug4> <v4> <trial>
-- desc: Adds an item to the GMs inventory.
-----------------------------------------------------------------------------------... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/mobskills/gregale_wing.lua | 11 | 1298 | ---------------------------------------------
-- Gregale Wing
--
-- Description: An icy wind deals Ice damage to enemies within a very wide area of effect. Additional effect: Paralyze
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Jormungand and Isgebind
----... | gpl-3.0 |
dantezhu/neon | examples/demo1/src/cocos/network/DeprecatedNetworkFunc.lua | 61 | 1123 | if nil == cc.XMLHttpRequest then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of WebSocket will be deprecated begin
local targetPlatform = CCApplication:getInstance():get... | mit |
gedads/Neodynamis | scripts/zones/Maze_of_Shakhrami/npcs/qm2.lua | 3 | 1840 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: qm2
-- Type: Quest NPC
-- !pos 143 9 -219 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Maze_of_Shakhrami/TextIDs");
require("... | gpl-3.0 |
beraldoleal/config | .config/awesome/lain/util/init.lua | 4 | 4715 | --[[
Lain
Layouts, widgets and utilities for Awesome WM
Utilities section
Licensed under GNU General Public License v2
* (c) 2013, Luca CPZ
* (c) 2010-2012, Peter Hofmann
--]]
local awful = require("awful")
local sqrt = math.sqrt
local pairs = pairs
local ... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.