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 |
|---|---|---|---|---|---|
zeustm/zeusbot | plugins/banhammer.lua | 1085 | 11557 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
benjamingwynn/XelLib | xellib_core/xelres.lua | 1 | 2206 | -- > XelLib
-- >> Created by Benjamin Gwynn
-- >> Licensed under the GNU GENERAL PUBLIC LICENSE V2
-- >>> xellib_core/xelres.lua
-- >>> Screen resolution management
function setupGraphics()
-- Clean up older stuff
if love.filesystem.exists("XelLib/y_res.dat") then love.filesystem.remove("XelLib/y_res.dat")... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/globals/mobskills/PL_Heavy_Stomp.lua | 25 | 1203 | ---------------------------------------------
-- Heavy Stomp
--
-- Description: Deals heavy damage to targets within an area of effect. Additional effect: Paralysis
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Paralysis effect has a very long duration.
-------------... | gpl-3.0 |
Quenty/NevermoreEngine | src/color3utils/src/Shared/luv/LuvColor3Utils.lua | 1 | 1561 | --[=[
Handles color manipulation in the HpLuv space.
https://www.hsluv.org/comparison/
@class LuvColor3Utils
]=]
local require = require(script.Parent.loader).load(script)
local LuvUtils = require("LuvUtils")
local Math = require("Math")
local LuvColor3Utils = {}
--[=[
Interpolates in LUV space.
@param color... | mit |
ffxiphoenix/darkstar | scripts/globals/weaponskills/metatron_torment.lua | 18 | 2542 | -----------------------------------
-- 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... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Grauberg_[S]/npcs/qm5.lua | 48 | 1159 | -----------------------------------
-- Area: Grauberg [S]
-- NPC: ???
-- Quest - Fires of Discontent
-- pos 258 33 516
-----------------------------------
package.loaded["scripts/zones/Grauberg_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/... | gpl-3.0 |
0x0mar/ettercap | src/lua/share/third-party/stdlib/src/getopt.lua | 12 | 8613 | --- Simplified getopt, based on Svenne Panne's Haskell GetOpt.<br>
-- Usage:
-- <ul>
-- <li><code>prog = {<
-- name = <progname>,
-- [usage = <usage line>,]
-- [options = {
-- {{<name>[, ...]}, <desc>, [<type> [, <var>]]},
-- ...
-- },]
-- [banner = <banner string>,]
-- [purpose = ... | gpl-2.0 |
vilarion/Illarion-Content | npc/base/consequence/spawn.lua | 3 | 1389 | --[[
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 |
amiranony/anonybot | plugins/steam.lua | 645 | 2117 | -- See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI
do
local BASE_URL = 'http://store.steampowered.com/api/appdetails/'
local DESC_LENTH = 200
local function unescape(str)
str = string.gsub( str, '<', '<' )
str = string.gsub( str, '>', '>' )
str = string.gsub( str, '"', '"' )
str... | gpl-2.0 |
Quenty/NevermoreEngine | src/loader/src2/Replication/Replicator.lua | 1 | 15760 | --[=[
Monitors dependencies primarily for replication. Handles the following scenarios.
This system dynamically replicates whatever state exists in the tree except we
filter out server-specific assets while any client-side assets are still replicated
even if deeper in the tree.
By separating out the replication ... | mit |
crzang/awesome-config | pl/operator.lua | 37 | 4310 | --- Lua operators available as functions.
--
-- (similar to the Python module of the same name)
--
-- There is a module field `optable` which maps the operator strings
-- onto these functions, e.g. `operator.optable['()']==operator.call`
--
-- Operator strings like '>' and '{}' can be passed to most Penlight functions
... | apache-2.0 |
ffxiphoenix/darkstar | scripts/zones/Windurst_Woods/npcs/Bopa_Greso.lua | 19 | 1725 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Bopa Greso
-- Type: Standard NPC
-- @zone: 241
-- @pos 59.773 -6.249 216.766
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
----------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/abilities/dancers_roll.lua | 9 | 3136 | -----------------------------------
-- Ability: Dancer's Roll
-- Grants Regen status to party members within area of effect
-- Optimal Job: Dancer
-- Lucky Number: 3
-- Unlucky Number: 7
-- Level: 61
--
-- Die Roll |No DNC |With DNC
-- -------- ---------- ----------
-- 1 ... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/bar_of_campfire_chocolate.lua | 36 | 1080 | -----------------------------------------
-- ID: 5941
-- Item: Bar of Campfire Chocolate
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Mind +1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------... | gpl-3.0 |
morteza1377/titann | libs/XMLElement.lua | 569 | 4025 | -- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence.
-- updated for module-free world of lua 5.3 on April 2 2015
-- Not documented at all, but not interesting enough to warrant documentation anyway.
local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ... | agpl-3.0 |
azekillDIABLO/Voxellar | mods/NODES/xtend/xfurniture/furniture/window_stuff.lua | 1 | 3389 | local _register = _xtend.f.xfurniture.register
local _p2r = _xtend.f.xfurniture.pattern_to_recipe
-- One step is 0.0625 because 1/16 = 0.0625
local _indent_setting = _xtend.g('xfurniture_window_stuff_indent')
local _indent = tonumber(_indent_setting:match("^(%w+)")) * 0.0625
-- Apply indentiation to a nodebox defini... | lgpl-2.1 |
ffxiphoenix/darkstar | scripts/zones/Heavens_Tower/npcs/_6q1.lua | 17 | 1377 | -----------------------------------
-- Area: Heaven's Tower
-- NPC: Starway Stairway
-- @pos -10 0.1 30 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Heavens_... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Arzizah.lua | 34 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Arzizah
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Kuftal_Tunnel/npcs/Grounds_Tome.lua | 34 | 1136 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(p... | gpl-3.0 |
kitala1/darkstar | scripts/zones/RuAun_Gardens/npcs/Treasure_Coffer.lua | 12 | 3318 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Treasure Coffer
-- @zone 130
-- @pos
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitem... | gpl-3.0 |
kitala1/darkstar | scripts/globals/weaponskills/stringing_pummel.lua | 12 | 4577 | -----------------------------------
-- Stringing Pummel
-- Sword weapon skill
-- Skill Level: N/A
-- Delivers a sixfold attack. Damage varies with TP. Kenkonken: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Puppetmaster) quest.
-- Aligned with the Shadow Gorget, Soil ... | gpl-3.0 |
khwangster/wrk2 | deps/luajit/src/jit/v.lua | 74 | 5614 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | apache-2.0 |
libcg/gSquare | game/levels/canon5.lua | 1 | 2608 | function getInfo()
-- Title
local title = {
"Day 24.",
"Jour 24." }
levelText(title[getLanguageID()+1])
end
function setGame()
-- Music
setMusic("./audio/c418-peanuts.mp3")
-- Player
varPlayerX(16*11)
varPlayerY(16*5)
-- Gravity
varGravityDir(4)
end
function setLevel()
-- Temporary level ... | gpl-3.0 |
Taracque/epgp | modules/ui.lua | 1 | 47553 | --[[ EPGP User Interface ]]--
local mod = EPGP:NewModule("ui")
local L = LibStub("AceLocale-3.0"):GetLocale("EPGP")
local GS = LibStub("LibGuildStorage-1.2")
local GP = LibStub("LibGearPoints-1.2")
local DLG = LibStub("LibDialog-1.0")
local GUI = LibStub("AceGUI-3.0")
local EPGPWEB = "http://www.epgpweb.com"... | bsd-3-clause |
kitala1/darkstar | scripts/zones/Upper_Jeuno/npcs/Rouliette.lua | 17 | 2205 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Rouliette
-- Starts and Finishes Quest: Candle-making
-- @zone 244
-- @pos -24 -2 11
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
--------------... | gpl-3.0 |
cjkoenig/packages | net/luci-app-e2guardian/files/e2guardian-cbi.lua | 55 | 18594 | --[[
LuCI E2Guardian module
Copyright (C) 2015, Itus Networks, Inc.
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
Author: Marko Ratkaj <marko.ratkaj... | gpl-2.0 |
umbrellaTG/sphero | plugins/p2s.lua | 1 | 1120 | local function tosticker(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = '/root/robot/data/stickers/'..msg.from.id..'.webp'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
send_document(get_receiver(msg), file, ok_c... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Komalata.lua | 37 | 1496 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Komalata
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
--------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Attohwa_Chasm/mobs/Alastor_Antlion.lua | 14 | 1929 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Alastor Antlion
-- ID:
-----------------------------------
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
... | gpl-3.0 |
marczych/PeggleDamacy | states/play.lua | 1 | 5707 | local BallParticle = require "entities.ballparticle"
local BackGround = require "entities.background"
local Cannon = require "entities.cannon"
local Bucket = require "entities.bucket"
local Ball = require "entities.ball"
local Peg = require "entities.peg"
local Hud = require "entities.hud"
local background
local blueB... | apache-2.0 |
paulosalvatore/maruim_server | data/creaturescripts/scripts/tutorial.lua | 1 | 2950 | function onLogin(player)
local passoTutorial = player:pegarPassoTutorial()
if habilitarTutorial and passoTutorial == 1 then
local posicaoInicioTutorial = Position({x = 315, y = 2415, z = 7})
player:teleportarJogador(posicaoInicioTutorial, true)
end
addEvent(function(playerId)
local player = Player(playerId)... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Dynamis-Buburimu/bcnms/dynamis_Buburimu.lua | 10 | 1142 | -----------------------------------
-- Area: dynamis_Buburimu
-- Name: dynamis_Buburimu
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaBuburimu]UniqueID",player:getDynamisUniqueID(1287));
SetServerVariabl... | gpl-3.0 |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PageView.lua | 3 | 2677 |
--------------------------------
-- @module PageView
-- @extend Layout,UIScrollInterface
--------------------------------
-- @function [parent=#PageView] getCurPageIndex
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
-- @function [parent=#PageView] addWidgetToP... | mit |
kitala1/darkstar | scripts/globals/items/simit_+1.lua | 35 | 1337 | -----------------------------------------
-- ID: 5597
-- Item: simit_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 18
-- Vitality 4
-- Defense 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
kaustavha/rackspace-monitoring-agent | tests/code_cert.test.lua | 4 | 1448 | --[[
Copyright 2012 Rackspace
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | apache-2.0 |
kitala1/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Dagger.lua | 17 | 1480 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Dagger
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functi... | gpl-3.0 |
zhaoluxyz/Hugula | Client/tools/luaTools/lua/jit/dis_arm.lua | 74 | 19364 | ----------------------------------------------------------------------------
-- LuaJIT ARM disassembler module.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | mit |
apletnev/koreader | spec/unit/uimanager_bench.lua | 9 | 1237 | require("commonrequire")
local util = require("ffi/util")
local UIManager = require("ui/uimanager")
local noop = function() end
describe("UIManager checkTasks benchmark", function()
local now = { util.gettime() }
local wait_until -- luacheck: no unused
UIManager:quit()
UIManager._task_queue = {}
... | agpl-3.0 |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/Settings/Pages/ShareGame/Components/RectangleButton.lua | 1 | 2440 | local CorePackages = game:GetService("CorePackages")
local UserInputService = game:GetService("UserInputService")
local Roact = require(CorePackages.Roact)
local BUTTON_IMAGE = "rbxasset://textures/ui/Settings/MenuBarAssets/MenuButton.png"
local BUTTON_IMAGE_ACTIVE = "rbxasset://textures/ui/Settings/MenuBarAssets/Me... | apache-2.0 |
kitala1/darkstar | scripts/globals/items/shining_trout.lua | 17 | 1322 | -----------------------------------------
-- ID: 5791
-- Item: shining_trout
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
king98tm/mohammadking98 | libs/dateparser.lua | 502 | 6212 | local difftime, time, date = os.difftime, os.time, os.date
local format = string.format
local tremove, tinsert = table.remove, table.insert
local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable
local dateparser={}
--we shall use the host OS's... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Windurst_Woods/npcs/Wije_Tiren.lua | 36 | 1496 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Wije Tiren
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Palborough_Mines/npcs/_3z2.lua | 19 | 1192 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Old Toolbox
-- Continues Quest: The Eleventh's Hour (100%)
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/DevConsole/Components/DataProvider.lua | 1 | 1761 | local CorePackages = game:GetService("CorePackages")
local Roact = require(CorePackages.Roact)
local Components = script.Parent.Parent.Components
local LogData = require(Components.Log.LogData)
local ClientMemoryData = require(Components.Memory.ClientMemoryData)
local ServerMemoryData = require(Components.Memory.Serve... | apache-2.0 |
kitala1/darkstar | scripts/zones/North_Gustaberg/npcs/Cavernous_Maw.lua | 29 | 1494 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Cavernous Maw
-- @pos 466 0 479 106
-- Teleports Players to North Gustaberg [S]
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Rabao/npcs/Edigey.lua | 19 | 2494 | -----------------------------------
-- Area: Rabao
-- NPC: Edigey
-- Starts and Ends Quest: Don't Forget the Antidote
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/titles");
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
Roblox/Core-Scripts | PlayerScripts/StarterPlayerScripts/CameraScript/RootCamera/ClassicCamera.lua | 2 | 6597 |
local PlayersService = game:GetService('Players')
local VRService = game:GetService("VRService")
local RootCameraCreator = require(script.Parent)
local UP_VECTOR = Vector3.new(0, 1, 0)
local XZ_VECTOR = Vector3.new(1, 0, 1)
local ZERO_VECTOR2 = Vector2.new(0, 0)
local VR_PITCH_FRACTION = 0.25
local Vector3_new = V... | apache-2.0 |
fqrouter/luci | modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua | 82 | 2998 | --[[
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... | apache-2.0 |
kitala1/darkstar | scripts/zones/Port_Bastok/npcs/Rafaela.lua | 37 | 1124 | -----------------------------------
-- Area: Port Bastok
-- NPC: Rafaela
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
-----------------------------------
-- onTrade Action
------------------... | gpl-3.0 |
Teaonly/easyLearning.js | qulogo/train.lua | 1 | 4559 | require('torch')
require('image')
require('nn')
require('optim')
require('xlua')
local util = require('./util')
local data = require('./data')
local model = require('./model')
-- Checking input paramters and load config
local cmd = torch.CmdLine()
cmd:text('Options:')
cmd:option('-d', 'sohu', 'The target dataset fold... | mit |
kitala1/darkstar | scripts/zones/Mhaura/npcs/Runito-Monito.lua | 34 | 1472 | -----------------------------------
-- Area: Mhaura
-- NPC: Runito-Monito
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/shop");
--------... | gpl-3.0 |
AliKhodadad/wildman | plugins/all.lua | 37 | 4653 | 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 |
raingloom/thranduil | examples/chatbox/ui/Container.lua | 9 | 11972 | local ui_path = (...):match('(.-)[^%.]+$') .. '.'
local Object = require(ui_path .. 'classic.classic')
local Container = Object:extend('Container')
function Container:containerNew(settings)
local settings = settings or {}
self:bind('tab', 'focus-next')
self:bind('lshift', 'previous-modifier')
self:bin... | mit |
fqrouter/luci | applications/luci-statistics/luasrc/model/cbi/luci_statistics/csv.lua | 80 | 1198 | --[[
Luci configuration model for statistics - collectd csv 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 a... | apache-2.0 |
kitala1/darkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/Grounds_Tome.lua | 34 | 1149 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function ... | gpl-3.0 |
kitala1/darkstar | scripts/zones/FeiYin/npcs/_no4.lua | 6 | 2211 | -----------------------------------
-- Area: Fei'Yin
-- NPC: Cermet Door (triggers Rukususu dialog)
-- Type: Quest NPC
-- @pos -183 0 190 204
-- Involved in Quests: Curses, Foiled A-Golem!?,SMN AF2: Class Reunion, SMN AF3: Carbuncle Debacle
-- Involved in Missions: Windurst 5-1/7-2/8-2
--------------------... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/PW_Bilgestorm.lua | 13 | 1392 | ---------------------------------------------
-- 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 |
frissdiegurke/dotfiles | .config/awesome/wiboxes/wibox-right.lua | 1 | 7573 | require("awful.autofocus")
local wibox = require("wibox")
local gears = require("gears")
local vicious = require("vicious")
separator = wibox.widget.imagebox()
separator:set_image(beautiful.widget_sep)
-- Menu
launcher = awful.widget.launcher({ image = beautiful.awesome_icon, menu = menu })
-- CPU temperature
if the... | apache-2.0 |
apletnev/koreader | spec/unit/document_spec.lua | 8 | 2924 | describe("PDF document module", function()
local DocumentRegistry
setup(function()
require("commonrequire")
DocumentRegistry = require("document/documentregistry")
end)
local doc
it("should open document", function()
local sample_pdf = "spec/front/unit/data/tall.pdf"
... | agpl-3.0 |
kitala1/darkstar | scripts/zones/Caedarva_Mire/npcs/qm12.lua | 8 | 1934 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: ???
-- @pos 456.993 -7.000 -270.815 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require... | gpl-3.0 |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/Stats/StatsAggregator.lua | 1 | 4057 | --[[
Filename: StatsAggregator.lua
Written by: dbanks
Description: Gather and store stats on regular heartbeat.
--]]
--[[ Services ]]--
local CoreGuiService = game:GetService('CoreGui')
--[[ Modules ]]--
local StatsUtils = require(CoreGuiService.RobloxGui.Modules.Stats.StatsUtils)
--[[ Classes ]]--
local Stats... | apache-2.0 |
kitala1/darkstar | scripts/globals/items/hobgoblin_pie.lua | 35 | 1624 | -----------------------------------------
-- ID: 4325
-- Item: hobgoblin_pie
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 15
-- Magic 15
-- Agility 4
-- Charisma -7
-- Health Regen While Healing 2
-- Defense % 11
-- Defense Cap 60
-------------------------------------... | gpl-3.0 |
n1tehawk/luaext | tests/test_table.lua | 1 | 3085 | -- test luaext table functions using LuaUnit framework
local lu = require("tests.luaunit")
local luaext = require("luaext")
require("table") -- (for checking namespace)
TestTable = {}
function TestTable:test_namespace()
-- check namespace compliance
for _, func in ipairs({"keyof", "keys", "map"}) do
if luaext._co... | mit |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/CCBAnimationManager.lua | 6 | 6456 |
--------------------------------
-- @module CCBAnimationManager
-- @extend Ref
--------------------------------
-- @function [parent=#CCBAnimationManager] moveAnimationsFromNode
-- @param self
-- @param #cc.Node node
-- @param #cc.Node node
--------------------------------
-- @function [parent=#CCBAnimation... | mit |
kitala1/darkstar | scripts/zones/Gusgen_Mines/npcs/_5gb.lua | 34 | 1345 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5gb (Lever B)
-- @pos 19.999 -40.561 -54.198 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
------------... | gpl-3.0 |
fqrouter/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-func.lua | 80 | 1208 | --[[
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... | apache-2.0 |
darrenatdesignory/CG | scripts/grid.lua | 1 | 7615 | local grid = {}
-- Set initial variables to 0
grid.playerPosX = 0;
grid.playerPosY = 0;
grid.fieldCells = {}
grid.group = nil
-- width and height of the grid square (use 60 for 1024/768 field size)
grid.gridSize = 48
MultiTouch = require("scripts.dmc_multitouch")
XML = require("scripts.xml")
local... | mit |
kitala1/darkstar | scripts/zones/Southern_San_dOria/TextIDs.lua | 3 | 7112 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6415; -- Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6417; -- Try trading again after sorting your inventory.
ITEM_OBTAINED = 6418; -- Obtained: <<<Unknown Para... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Port_San_dOria/npcs/Altiret.lua | 36 | 2942 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Altiret
-- NPC for Quest "The Pickpocket"
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/sett... | gpl-3.0 |
ominux/torch7 | test/timeSort.lua | 68 | 5063 | -- gnuplot.figure(2)
-- Test torch sort, show it suffers from the problems of quicksort
-- i.e. complexity O(N^2) in worst-case of sorted list
require 'gnuplot'
local cmd = torch.CmdLine()
cmd:option('-N', 10^7, 'Maximum array size')
cmd:option('-p', 50, 'Number of points in logspace')
cmd:option('-r', 20, 'Number of... | bsd-3-clause |
kitala1/darkstar | scripts/globals/mobskills/Barbed_Crescent.lua | 43 | 1031 | ---------------------------------------------------
-- Barbed Crescent
-- Damage. Additional Effect: Accuracy Down.
-- Area of Effect is centered around caster.
-- The Additional Effect: Accuracy Down may not always process.
-- Duration: Three minutes ?
---------------------------------------------------
require("scri... | gpl-3.0 |
zhaoluxyz/Hugula | Client/tools/luaTools/lua/jit/dis_x86.lua | 74 | 29330 | ----------------------------------------------------------------------------
-- LuaJIT x86/x64 disassembler module.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------------... | mit |
kitala1/darkstar | scripts/zones/Davoi/TextIDs.lua | 5 | 1657 | -- 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 = 6382; -- Obtained: <item>.
GIL_OBTAINED = 6383; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6385; -- Obtained... | gpl-3.0 |
sylvanaar/IDLua | testdata/non-test-system-files/lua5.1-tests/api.lua | 3 | 19010 |
if T==nil then
(Message or print)('\a\n >>> testC not active: skipping API tests <<<\n\a')
return
end
function tcheck (t1, t2)
table.remove(t1, 1) -- remove code
assert(table.getn(t1) == table.getn(t2))
for i=1,table.getn(t1) do assert(t1[i] == t2[i]) end
end
function pack(...) return arg end
print('t... | apache-2.0 |
NiFiLocal/nifi-minifi-cpp | thirdparty/civetweb-1.10/test/HugeText.lua | 12 | 4022 | -- (c) bel2125, 2010
-- MIT public licence
local letterCode = {
[' '] = {0,0,0,0,0},
['!'] = {0,0,95,0,0},
['"'] = {0,3,4,3,0},
['#'] = {34,127,34,127,34},
['$'] = {36,42,127,42,18},
['%'] = {35,19,8,100,98},
['&'] = {54,73,85,34,80},
["'"] = {0,11,7,0,0},
['('] = {0,28,34,65,0},
[')... | apache-2.0 |
kitala1/darkstar | scripts/zones/Port_Bastok/npcs/Dalba.lua | 31 | 11049 | -----------------------------------
-- Area: Port Bastok
-- NPC: Dalba
-- Type: Past Event Watcher
-- @zone: 236
-- @pos: -174.101 -7 -19.611
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
require("scripts/globals/quest... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/PL_Wind_Shear.lua | 13 | 1119 | ---------------------------------------------
-- Wind Shear
--
-- Description: Deals damage to enemies within an area of effect. Additional effect: Knockback
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 10' radial
-- Notes: The knockback is rather severe. Vulpangue uses an enhanced version t... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Roiloux_RK.lua | 38 | 1031 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Roiloux, R.K.
-- Type: Campaign Arbiter
-- @pos 70.493 -0.602 -9.185 82
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Jugner_Fore... | gpl-3.0 |
tetoali605/THETETOO_A7A | plugins/ingroup.lua | 156 | 60323 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.peer_id
if member_id ~= our_id then
-- Group configuration
data[... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Valkurm_Dunes/npcs/Cavernous_Maw.lua | 58 | 1887 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Cavernous Maw
-- @pos 368.980, -0.443, -119.874 103
-- Teleports Players to Abyssea Misareaux
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
MrUnknownGamer/pointshop | lua/pointshop/providers/json.lua | 8 | 1744 | function PROVIDER:GetData(ply, callback)
if not file.IsDir('pointshop', 'DATA') then
file.CreateDir('pointshop')
end
local points, items
local filename = string.Replace(ply:SteamID(), ':', '_')
if not file.Exists('pointshop/' .. filename .. '.txt', 'DATA') then
file.Write('pointshop/' .. filename .. '.tx... | mit |
crabman77/minetest-minetestforfun-server | mods/sea/seacoral/init.lua | 8 | 19445 | -- NODES
-- Lightened nodes for MFF
local sea_light_source = 5
minetest.register_node("seacoral:coralcyan", {
description = "Cyan Coral",
drawtype = "plantlike",
tiles = {"seacoral_coralcyan.png"},
inventory_image = "seacoral_coralcyan.png",
wield_image = "seacoral_coralcyan.png",
paramtype = "light",
walkable... | unlicense |
kitala1/darkstar | scripts/globals/spells/bluemagic/body_slam.lua | 28 | 1739 | -----------------------------------------
-- Spell: Body Slam
-- Delivers an area attack. Damage varies with TP
-- Spell cost: 74 MP
-- Monster Type: Dragon
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: VIT+1, MP+5
-- Level: 62
-- Casting Time: 1 seconds
-- Recast Time: 27.75 seconds
... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Khea_Mhyyih.lua | 38 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Khea Mhyyih
-- Type: Standard NPC
-- @zone: 94
-- @pos -53.927 -4.499 56.215
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/sis_kebabi_+1.lua | 35 | 1659 | -----------------------------------------
-- 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
------------------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_ne4.lua | 12 | 2629 | -----------------------------------
-- Area: Outer Horutoto Ruins
-- NPC: Strange Apparatus
-- @pos: -574 0 739 194
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
require("scripts/zones/Outer_Horutoto_Ruins/TextIDs");
require("scripts/globals/strangeapparatus")... | gpl-3.0 |
Roblox/Core-Scripts | PlayerScripts/StarterPlayerScripts_NewStructure/RobloxPlayerScript/ControlScript/ClickToMoveController.lua | 1 | 31276 | --[[
-- Original By Kip Turner, Copyright Roblox 2014
-- Updated by Garnold to utilize the new PathfindingService API, 2017
-- 2018 PlayerScripts Update - AllYourBlox
--]]
--[[ Roblox Services ]]--
local UserInputService = game:GetService("UserInputService")
local ContextActionService = game:GetService("ContextActi... | apache-2.0 |
xsolinsx/AISashaAPI | plugins/getsetunset.lua | 1 | 27827 | -- tables that contains 'group_id' = message_id to delete old commands responses
local oldResponses = {
lastGet = { },
lastGetGlobal = { },
}
local function get_variables_hash(chat_id, chat_type, global)
if global then
if not redis_get_something(chat_id .. ':gvariables') then
r... | gpl-2.0 |
daurnimator/lua-systemd | src/journal.lua | 1 | 2191 | local id128 = require "systemd.id128"
local c = require "systemd.journal.core"
local methods = c.JOURNAL_METHODS
local function strip_field_name(str)
return str:match("=(.*)$")
end
local function split_field(str)
return str:match("^([^=]*)=(.*)$")
end
c.LOG = {
EMERG = 0;
ALERT = 1;
CRIT = 2;
ERR = 3;
WARNIN... | mit |
kitala1/darkstar | scripts/globals/items/calico_comet.lua | 18 | 1280 | -----------------------------------------
-- ID: 5715
-- Item: Calico Comet
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Skeleton.lua | 3 | 1396 |
--------------------------------
-- @module Skeleton
-- @extend Node,BlendProtocol
--------------------------------
-- @function [parent=#Skeleton] setToSetupPose
-- @param self
--------------------------------
-- @function [parent=#Skeleton] setBlendFunc
-- @param self
-- @param #cc.BlendFunc blendfunc
... | mit |
kitala1/darkstar | scripts/zones/Sacrarium/npcs/qm3.lua | 8 | 1733 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm3 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 62.668 -3.111 127.288 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacra... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Caedarva_Mire/npcs/Tyamah.lua | 23 | 1334 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Tyamah
-- Type: Alzadaal Undersea Ruins
-- @pos 320.003 0.124 -700.011 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require... | gpl-3.0 |
fastmailops/prosody | plugins/mod_roster.lua | 4 | 5789 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local st = require "util.stanza"
local jid_split = require "util.jid".split;
local jid_prep = require "... | mit |
kitala1/darkstar | scripts/zones/Kazham/npcs/Ronta-Onta.lua | 23 | 4041 | -----------------------------------
-- Area: Kazham
-- NPC: Ronta-Onta
-- Starts and Finishes Quest: Trial by Fire
-- @pos 100 -15 -97 250
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
ZenityRTS/Zenity | libs/chiliui/luaui/chili/chili/controls/object.lua | 3 | 24043 | --//=============================================================================
--- Object module
--- Object fields.
-- @table Object
-- @bool[opt=true] visible control is displayed
-- @tparam {Object1,Object2,...} children table of visible children objects (default {})
-- @tparam {Object1,Object2,...} chil... | gpl-2.0 |
EmmanuelOga/easing | examples/love/main.lua | 1 | 1755 | W = 800
H = 600
-- graphicate easing functions using love2d.
local easing = require("easing")
local renderFun = require("renderFun")
local movingDot = require("movingDot")
FONT_SIZE = 14
SEGMENTS = 500
POINT_SIZE = 2
LINE_SIZE = 2
GRAPH_SIZE = 0.6 -- percent of screen.
------------------------------------------------... | mit |
kitala1/darkstar | scripts/globals/mobskills/PL_Chaos_Blade.lua | 58 | 1118 | ---------------------------------------------
-- Chaos Blade
--
-- Description: Deals Dark damage to enemies within a fan-shaped area. Additional effect: Curse
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/sett... | gpl-3.0 |
kiarash14/be | plugins/yoda.lua | 642 | 1199 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(text)
local api = "https://yoda.p.mashape.com/yoda?"
text = ... | gpl-2.0 |
kitala1/darkstar | scripts/globals/items/sakura_biscuit.lua | 36 | 1161 | -----------------------------------------
-- ID: 6010
-- Item: Sakura Biscuit
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Intelligence 3
-- Charisma 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.