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 |
|---|---|---|---|---|---|
fcpxhacks/fcpxhacks | src/plugins/finalcutpro/touchbar/widgets/height.lua | 2 | 4775 | --- === plugins.finalcutpro.touchbar.widgets.height ===
---
--- Final Cut Pro Browser Height Control Widget for Touch Bar.
local require = require
--local log = require "hs.logger" .new "heightWidget"
local canvas = require "hs.canvas"
local fcp = require "cp.apple.f... | mit |
Enignite/darkstar | scripts/globals/items/danceshroom.lua | 35 | 1208 | -----------------------------------------
-- ID: 4375
-- Item: danceshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -5
-- Dexterity 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
fcpxhacks/fcpxhacks | src/plugins/finalcutpro/commands/actions.lua | 1 | 5203 | --- === plugins.finalcutpro.commands.actions ===
---
--- An `action` which will execute a command with matching group/id values.
--- Registers itself with the `core.action.manager`.
local require = require
local dialog = require "cp.dialog"
local fcp = require "cp.apple.finalcutpro"... | mit |
Enignite/darkstar | scripts/zones/Ceizak_Battlegrounds/npcs/HomePoint#1.lua | 19 | 1217 | -----------------------------------
-- Area: Ceizak Battlegrounds
-- NPC: HomePoint#1
-- @pos -107 3.2 295 261
-----------------------------------
package.loaded["scripts/zones/Ceizak_Battlegrounds/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Ceizak_Battlegrounds/TextIDs");
require("s... | gpl-3.0 |
fcpxhacks/fcpxhacks | src/extensions/cp/config/init.lua | 2 | 18388 | --- === cp.config ===
---
--- Manage CommandPost's constants and settings.
local require = require
local hs = _G.hs
local application = require("hs.application")
local console = require("hs.console")
local fs = require("hs.fs")
local settings = require("hs.settings")
local window ... | mit |
Enignite/darkstar | scripts/globals/items/divine_sword_+1.lua | 42 | 1080 | -----------------------------------------
-- ID: 16826
-- Item: Divine Sword +1
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
---------------------------... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Beaucedine_Glacier/TextIDs.lua | 7 | 1124 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6554; -- You cannot obtain the item. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6555; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6556; -- Obtained:... | gpl-3.0 |
apung/prosody-modules | mod_muc_intercom/mod_muc_intercom.lua | 32 | 2004 | -- Relay messages between rooms
-- By Kim Alvefur <zash@zash.se>
local host_session = prosody.hosts[module.host];
local st_msg = require "util.stanza".message;
local jid = require "util.jid";
local now = require "util.datetime".datetime;
local function get_room_by_jid(mod_muc, jid)
if mod_muc.get_room_by_jid then
... | mit |
asfdfdfd/fceux | output/luaScripts/Luabot.lua | 7 | 13777 | -- BeeBee, LuaBot Frontend v1.07
-- qFox, 2 August 2008
-- we need iup, so include it here (also takes care of cleaning up dialog when script exits)
require 'auxlib';
local botVersion = 1; -- check this version when saving/loading. this will change whenever the botsave-file changes.
function createTextareaTa... | gpl-2.0 |
florian-shellfire/luci | applications/luci-app-firewall/luasrc/model/cbi/firewall/zone-details.lua | 19 | 6061 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010-2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local nw = require "luci.model.network"
local fw = require "luci.model.firewall"
local ds = require "luci.dispatcher"
local ut = require "luci.util"
loca... | apache-2.0 |
Enignite/darkstar | scripts/zones/Southern_San_dOria/npcs/Ceraule.lua | 36 | 1465 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ceraule
-- General Info NPC
-- @zone 230
-- @pos -86 2 -35
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
benedict42/alchemtinker | plants.lua | 1 | 3379 | --Alchemical Tinkerer Mod
--By Benedict42
--[[ Farming API is used here.
{
description = "", -- Description of seed item
inventory_image = "unknown_item.png", -- Image to be used as seed's wield- and inventory image
steps = 8, -- How many steps the plant has to grow, until it can be harvested
^ Always provide a pl... | mit |
Enignite/darkstar | scripts/zones/Attohwa_Chasm/mobs/Alastor_Antlion.lua | 12 | 1936 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Alastor Antlion
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
---------------------... | gpl-3.0 |
mcnewton/freeradius-server | src/tests/modules/lua/mod8.lua | 6 | 1327 | function authorize()
print("#mod8.lua: init")
-- fr {}
print("# fr.{}")
print("type(fr) = " .. type(fr))
print("for k,v in pairs(fr)")
for k,v in pairs(fr) do print("\t"..k, v) end
print()
-- fr.rcode {}
print("# fr.rcode.{}")
print("type(fr.rcode) = " .. type(fr.rcode))
print("\tfr.rcode.noop = " ..... | gpl-2.0 |
Ataron/Bijoux | bijoux/alia.lua | 1 | 1598 | -- Alias --
minetest.register_alias("bijoux:emeraude", "bijoux:carved_emerald")
minetest.register_alias("bijoux:emeraude_imparfait", "bijoux:not_carved_emerald")
minetest.register_alias("bijoux:emeraude_bloc", "bijoux:emerald_block")
minetest.register_alias("bijoux:saphir", "bijoux:carved_sapphire")
minetest.register... | gpl-3.0 |
alienstar2/gate7 | plugins/security.lua | 7 | 15346 | --Begin security.lua
--Prerequisite:
local function isABotBadWay (user)
local username = user.username or ''
return username:match("bot$")
end
local function get_variables_hash(msg)
return 'chat:'..msg.to.id..':badword'
end
local function list_variablesbad(msg)
local hash = get_variable... | gpl-2.0 |
fhaoquan/luasocket | etc/cookie.lua | 44 | 2586 | local socket = require"socket"
local http = require"socket.http"
local url = require"socket.url"
local ltn12 = require"ltn12"
local token_class = '[^%c%s%(%)%<%>%@%,%;%:%\\%"%/%[%]%?%=%{%}]'
local function unquote(t, quoted)
local n = string.match(t, "%$(%d+)$")
if n then n = tonumber(n) end
if quoted[n... | mit |
asfdfdfd/fceux | output/luaScripts/vnb.lua | 9 | 17034 |
-- Valkyrie no Bouken stuffs
-- This game sucks, don't play it
-- Lovingly based off of 4matsy's SMB code, and then mutilated and mamed as required
-- Xkeeper 2008, September 12th
require("x_functions");
x_requires(4);
-- *****************************************************************... | gpl-2.0 |
vso2004/cardpeek | dot_cardpeek_dir/scripts/etc/brussels-bus.lua | 17 | 37154 | BRUSSELS_BUS =
{
[1000] = "Legrelle",
[1001] = "UZ brussel",
[1003] = "Pompiers",
[1003] = "Pompiers-UZ Brussel",
[1004] = "Liebrecht",
[1005] = "Schuermans",
[1006] = "Dieleghem",
[1007] = "Bonaventure",
[1008] = "Reniers",
[1009] = "Eugene Toussaint",
[1010] = "Le Roux",
[1012] = "Square du Centenaire",
... | gpl-3.0 |
Enignite/darkstar | scripts/zones/PsoXja/npcs/_09a.lua | 17 | 1614 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09a (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Chamber_of_Oracles/Zone.lua | 32 | 1664 | -----------------------------------
--
-- Zone: Chamber_of_Oracles (168)
--
-----------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Chamber_of_Oracles/TextIDs");
---... | gpl-3.0 |
golmohamdi028/chert | plugins/anti_spam.lua | 90 | 4016 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
Enignite/darkstar | scripts/zones/North_Gustaberg/npcs/Waterfall_Base.lua | 34 | 1403 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Waterfall Base
-- Involved In Quest: Drachenfall
-- @pos -217.594 98.644 464.722 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
SedueRey/interestelegram | plugins/bugzilla.lua | 2 | 3900 | function bugzilla_login()
url = "https://bugzilla.mozilla.org/rest/login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
data = json:decode(res)
return data
end
function bugzilla_check(id)
-- data = bugzilla_lo... | gpl-2.0 |
Enignite/darkstar | scripts/globals/spells/bluemagic/sub-zero_smash.lua | 18 | 2049 | -----------------------------------------
-- Spell: Sub-zero Smash
-- Additional Effect: Paralysis. Damage varies with TP
-- Spell cost: 44 MP
-- Monster Type: Aquans
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: HP+10 VIT+3
-- Level: 72
-- Casting Time: 1 second
-- Recast Time: 30 se... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Heavens_Tower/npcs/Rakano-Marukano.lua | 19 | 2042 | -----------------------------------
-- Area: Heavens Tower
-- NPC: Rakano-Marukano
-- Type: Immigration NPC
-- @pos 6.174 -1 32.285 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
-----------... | gpl-3.0 |
Enignite/darkstar | scripts/commands/givexp.lua | 27 | 1213 | ---------------------------------------------------------------------------------------------------
-- func: @givexp <amount> <player>
-- desc: Gives the GM or target player experience points.
---------------------------------------------------------------------------------------------------
cmdprops =
{
pe... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Metalworks/npcs/Unlucky_Rat.lua | 34 | 2137 | -----------------------------------
-- Area: Metalworks
-- NPC: Unlucky Rat
-- Starts & Finishes Quest: Mean Machine
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/se... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Spear.lua | 16 | 1477 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Spear
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
troopizer/ot-server | data/npc/scripts/mount1.lua | 1 | 2598 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCrea... | gpl-2.0 |
Enignite/darkstar | scripts/zones/Port_Bastok/npcs/Numa.lua | 36 | 1824 | -----------------------------------
-- 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 |
rodrigoftw/Estagio1 | Stay Alive/plugin/dusk/misc/editQueue.lua | 1 | 2771 | -- ************************************************************************** --
--[[
Dusk Engine Component: Edit Queue
A small structure to queue edits for a later time, thereby allowing erase edits to go last.
--]]
-- ************************************************************************** --
local lib_editQueue ... | apache-2.0 |
Enignite/darkstar | scripts/zones/Windurst_Woods/npcs/Zahsa_Syalmhaia.lua | 38 | 1052 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Zahsa Syalmhaia
-- Type: Great War Veteran NPC
-- @zone: 241
-- @pos 13.710 1.422 -83.198
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = ni... | gpl-3.0 |
Enignite/darkstar | scripts/globals/mobskills/Voiceless_Storm.lua | 25 | 1175 | ---------------------------------------------
-- Voiceless Storm
-- Description: AOE Damage, Silence, strips Utsusemi (MOBPARAM_WIPE_SHADOWS)
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
------... | gpl-3.0 |
Enignite/darkstar | scripts/globals/effects/int_down.lua | 18 | 1098 | -----------------------------------
--
-- EFFECT_INT_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_INT) - effec... | gpl-3.0 |
fcpxhacks/fcpxhacks | src/extensions/cp/ui/notifier.lua | 1 | 23374 | --- === cp.ui.notifier ===
---
--- Supports long-lived 'AX' notifiers. Configure the application to watch, the
--- function that provides the `axuielement` and then register for the type of
--- notification to watch, along with a function that will get triggered.
---
--- For example:
---
--- ```lua
--- local notifier =... | mit |
scgilardi/mal | lua/step6_file.lua | 40 | 3471 | #!/usr/bin/env lua
local table = require('table')
local readline = require('readline')
local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local Env = require('env')
local core = require('core')
local List, Vector, HashMap = types.List, typ... | mpl-2.0 |
Enignite/darkstar | scripts/zones/Norg/npcs/Porter_Moogle.lua | 41 | 1506 | -----------------------------------
-- Area: Norg
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 252
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Norg/TextIDs");
require("scripts/globa... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Bastok_Markets/npcs/Marin.lua | 38 | 1121 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Marin
-- Type: Quest Giver
-- @zone: 235
-- @pos -340.060 -11.003 -148.181
--
-- Auto-Script: Requires Verification. Verified standard dialog is also "All By Myself" repeatable quest. - thrydwolf 12/18/2011
-----------------------------------
pac... | gpl-3.0 |
doofus-01/wesnoth | data/lua/core/gui.lua | 1 | 7071 |
--[========[GUI2 Dialog Manipulations]========]
print("Loading GUI module...")
function gui.alert(title, msg)
if not msg then
msg = title;
title = "";
end
gui.show_prompt(title, msg, "ok", true)
end
function gui.confirm(title, msg)
if not msg then
msg = title;
title = "";
end
return gui.show_prompt(tit... | gpl-2.0 |
araeisy/araeisy | plugins/Github.lua | 3 | 3242 | local function run(msg, matches)
if matches[1]:lower() == "github>" then
local dat = https.request("https://api.github.com/repos/"..matches[2])
local jdat = JSON.decode(dat)
if jdat.message then
return "آدرس وارد شده صحیح نیست."
end
local base = "curl 'https://codeload.github.com/"..matche... | mit |
sweeti0/dev_qollop | plugins/anti_spam.lua | 7 | 5249 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
-- Sav... | gpl-3.0 |
dwdm/snabbswitch | src/apps/intel/loadgen.lua | 14 | 2349 | module(...,package.seeall)
local ffi = require("ffi")
local C = ffi.C
local lib = require("core.lib")
local app = require("core.app")
local link = require("core.link")
local intel10g = require("apps.intel.intel10g")
local memory = require("core.memory")
local register = require("lib.hardware.register")
local receive,... | apache-2.0 |
Enignite/darkstar | scripts/zones/Pashhow_Marshlands/Zone.lua | 17 | 4724 | -----------------------------------
--
-- Zone: Pashhow_Marshlands (109)
--
-----------------------------------
package.loaded[ "scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
package.loaded[ "scripts/globals/missions"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-------------------------... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Lower_Jeuno/npcs/_l11.lua | 36 | 1549 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -9 0 12
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
doofus-01/wesnoth | data/campaigns/World_Conquest/lua/map/wct_map_generator.lua | 7 | 2872 |
----------------------------------------------------------
---- The code that generates the maps, basicially ----
---- each map is generated in two steps, first ----
---- the default mapgenerator is used then, one of ----
---- the codes in ,/postgeneration is run ----
------------------------... | gpl-2.0 |
Enignite/darkstar | scripts/globals/items/plate_of_beef_paella.lua | 36 | 1503 | -----------------------------------------
-- ID: 5972
-- Item: Plate of Beef Paella
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 40
-- Strength 5
-- Intelligence -1
-- Attack % 18 Cap 90
-- Undead Killer 5
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
doofus-01/wesnoth | data/campaigns/World_Conquest/lua/map/postgeneration/3D_Sulfurous.lua | 7 | 1369 | -- Sulfurous
function world_conquest_tek_map_repaint_3d()
world_conquest_tek_map_noise_proxy(2, 2, "!,Wwt^*,Wot,Ds*^*,Xu,M*^Xm,R*^*,C*,K*,U*^*,Ql,*^B*")
wct_reduce_wall_clusters("Uu,Uu,Uu,Uue,Uu,Uu,Ql,Uh,Uu^Dr,Uue^Dr")
set_terrain { "Md^Vd,Md",
f.terrain("Qlf"),
fraction = 8,
}
wct_volcanos()
set_terrain { ... | gpl-2.0 |
pcmoritz/arrow | c_glib/example/lua/write-stream.lua | 19 | 2798 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you may... | apache-2.0 |
Enignite/darkstar | scripts/globals/weaponskills/empyreal_arrow.lua | 30 | 1517 | -----------------------------------
-- Empyreal Arrow
-- Archery weapon skill
-- Skill level: 250
-- In order to obtain Empyreal Arrow, the quest From Saplings Grow must be completed.
-- Delivers a single-hit attack. Damage varies with TP.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flam... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Cloister_of_Flames/bcnms/sugar-coated_directive.lua | 19 | 1731 | ----------------------------------------
-- Area: Cloister of Flames
-- BCNM: Sugar Coated Directive (ASA-4)
-- @pos -721 0 -598 207
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
r... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Temenos/mobs/Enhanced_Mandragora.lua | 16 | 1050 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Mandragora
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------... | gpl-3.0 |
dr-slump/bajawa | conf/desktop-manager/awesome/lain/helpers.lua | 4 | 2260 |
--[[
Licensed under GNU General Public License v2
* (c) 2013, Luke Bonham
--]]
local debug = require("debug")
local capi = { timer = timer }
local io = { open = io.open,
... | mit |
fcpxhacks/fcpxhacks | src/extensions/cp/ui/Outline.lua | 1 | 9083 | --- === cp.ui.Outline ===
---
--- Represents an `AXOutline` `axuielement`.
-- local log = require "hs.logger" .new "Outline"
local funtils = require "hs.fnutils"
local prop = require "cp.prop"
local axutils = require "cp.ui.axutils"
local Column... | mit |
Enignite/darkstar | scripts/zones/QuBia_Arena/mobs/Warlord_Rojgnoj.lua | 18 | 1306 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/missions");
require("scripts/zones/QuBia_Arena/TextIDs");
function onMobInitialize(mob)
mob:addMod(MOD_SLEEP... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Upper_Jeuno/npcs/Antonia.lua | 37 | 1317 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Antonia
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
... | gpl-3.0 |
Enignite/darkstar | scripts/globals/mobskills/Spirit_Tap.lua | 13 | 1407 | ---------------------------------------------------
-- Spirit Tap
-- Attempts to absorb one buff 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 buff... | gpl-3.0 |
AmirDragon13/yoyobot | plugins/google.lua | 1 | 1324 | do
local function googlethat(query)
local url = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&safe=active&&rsz=5&'
local parameters = 'q='..(URL.escape(query) or '')
-- Do the request
local res, code = https.request(url..parameters)
if code ~=200 then return nil end
loca... | gpl-2.0 |
Enignite/darkstar | scripts/zones/Open_sea_route_to_Mhaura/npcs/Sheadon.lua | 38 | 1125 | -----------------------------------
-- Area: Open_sea_route_to_Mhaura
-- NPC: Sheadon
-- Notes: Tells ship ETA time
-- @pos 0.340 -12.232 -4.120 47
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/O... | gpl-3.0 |
cs8425/nodemcu-firmware | lua_modules/bh1750/bh1750_Example2.lua | 89 | 1719 | -- ***************************************************************************
-- BH1750 Example Program for ESP8266 with nodeMCU
-- BH1750 compatible tested 2015-1-30
--
-- Written by xiaohu
--
-- MIT license, http://opensource.org/licenses/MIT
-- ***********************************************************************... | mit |
Enignite/darkstar | scripts/zones/Ifrits_Cauldron/npcs/Altar_of_Ashes.lua | 17 | 1981 | ----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Altar of Ashes
-- Involved in Quest: Greetings to the Guardian
-- @pos 16 .1 -58 205
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/quests")... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Konschtat_Highlands/npcs/Signpost2.lua | 34 | 1033 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Signpost
-- @pos 387 32 386 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Konschtat_Highlands/TextIDs");
---------... | gpl-3.0 |
scgilardi/mal | lua/step8_macros.lua | 40 | 5392 | #!/usr/bin/env lua
local table = require('table')
local readline = require('readline')
local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local Env = require('env')
local core = require('core')
local List, Vector, HashMap = types.List, typ... | mpl-2.0 |
Enignite/darkstar | scripts/globals/spells/cura_ii.lua | 9 | 3223 | -----------------------------------------
-- Spell: Cura
-- Restores hp in area of effect. Self target only
-- From what I understand, Cura's base potency is the same as Cure II's.
-- With Afflatus Misery Bonus, it can be as potent as a Curaga III
-- Modeled after our cure_ii.lua, which was modeled after the below refe... | gpl-3.0 |
troopizer/ot-server | data/npc/scripts/travelbywater.lua | 1 | 3982 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCrea... | gpl-2.0 |
GraionDilach/OpenRA | mods/cnc/maps/nod05/nod05.lua | 6 | 11199 | --[[
Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Southern_San_dOria/npcs/Sobane.lua | 17 | 3925 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Sobane
-- Starts and Finishes Quest: Signed in Blood
-- Involved in quest: Sharpening the Sword, Riding on the Clouds
-- @zone 230
-- @pos -190 -3 97
-- csid: 0x0034 0x02dc 0x02dd 0x02de 0x02df 0x02e0 0x02e1 0x02e2 0x02e3 0x02e4 ... | gpl-3.0 |
Enignite/darkstar | scripts/globals/items/plate_of_salmon_sushi.lua | 35 | 1477 | -----------------------------------------
-- ID: 5663
-- Item: plate_of_salmon_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 1
-- Accuracy % 14
-- Ranged ACC % 14
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
Enignite/darkstar | scripts/zones/South_Gustaberg/MobIDs.lua | 36 | 1267 | -----------------------------------
-- Area: South Gustaberg
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Leaping Lizzy
Leaping_Lizzy=17215888;
Leaping_Lizzy_PH={
[17215864] = '1', -- -228.159, 18.045, -411.726
[17215863] = '1', -- -260... | gpl-3.0 |
QUSpilPrgm/cuberite | Server/Plugins/APIDump/Hooks/OnSpawningEntity.lua | 42 | 1248 | return
{
HOOK_SPAWNING_ENTITY =
{
CalledWhen = "Before an entity is spawned in the world.",
DefaultFnName = "OnSpawningEntity", -- also used as pagename
Desc = [[
This hook is called before the server spawns an {{cEntity|entity}}. The plugin can either modify the
entity before it is spawned, or disable t... | apache-2.0 |
Enignite/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/Cavernous_Maw.lua | 29 | 1472 | -----------------------------------
-- Area: North Gustaberg [S]
-- NPC: Cavernous Maw
-- @pos 466 0 479 88
-- Teleports Players to North Gustaberg
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
GraionDilach/OpenRA | mods/d2k/maps/harkonnen-02a/harkonnen02a.lua | 5 | 3948 | --[[
Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Crawlers_Nest/npcs/qm11.lua | 57 | 2120 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: qm11 (??? - Exoray Mold Crumbs)
-- Involved in Quest: In Defiant Challenge
-- @pos 98.081 -38.75 -181.198 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Metalworks/npcs/Quasim.lua | 34 | 1057 | -----------------------------------
-- Area: Metalworks
-- NPC: Quasim
-- Adventurer's Assistant
-------------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/settings");
require("scripts/zones/Metalworks/TextIDs... | gpl-3.0 |
idlenexusgaming/MoPRares | Locales/esES.lua | 1 | 2086 | local L = LibStub("AceLocale-3.0"):NewLocale("MoPRares", "esES", true)
if L then
L["Haywire Sunreaver Construct"] = "Ensamblaje Atracasol descontrolado" --50358
L["Mumta"] = "Mumta" --69664
L["Ku'lai the Skyclaw"] = "Ku'lai el Garracielo" --69996
L["Progenitus"] = "Progenitus" --69997
L["Goda"] = "Goda" --69998
L... | unlicense |
Enignite/darkstar | scripts/zones/Temenos/mobs/Skadi.lua | 16 | 1193 | -----------------------------------
-- Area: Temenos N T
-- NPC: Skadi
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------------------... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Windurst_Waters/npcs/Prestapiq.lua | 36 | 1606 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Prestapiq
-- Only sells when Windurst controls Movalpolos
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Windurst_... | gpl-3.0 |
taishouYoiad/Love2d-Tutorial-Scrolling-Shooter | Final/main.lua | 1 | 4541 | debug = true
-- Timers
-- We declare these here so we don't have to edit them multiple places
canShoot = true
canShootTimerMax = 0.2
canShootTimer = canShootTimerMax
createEnemyTimerMax = 0.4
createEnemyTimer = createEnemyTimerMax
-- Player Object
player = { x = 200, y = 710, speed = 150, img = nil }
isAlive = true
... | mit |
thoaionline/vlc | share/lua/intf/cli.lua | 2 | 32345 | --[==========================================================================[
cli.lua: CLI module for VLC
--[==========================================================================[
Copyright (C) 2007-2011 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
Pierre Ynard
... | gpl-2.0 |
Enignite/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Corbrere.lua | 38 | 1046 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Corbrere
-- Type: Standard NPC
-- @zone: 94
-- @pos -46.925 -4.5 49.006
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
---... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Windurst_Waters/npcs/Panna-Donna.lua | 38 | 1038 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Panna-Donna
-- Type: Mission NPC
-- @zone: 238
-- @pos -57.502 -6 229.571
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------... | gpl-3.0 |
Enignite/darkstar | scripts/globals/abilities/curing_waltz.lua | 18 | 2328 | -----------------------------------
-- Ability: Curing Waltz
-- Heals HP to target player.
-- Obtained: Dancer Level 15
-- TP Required: 20%
-- Recast Time: 00:06
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
--... | gpl-3.0 |
Enignite/darkstar | scripts/globals/weaponskills/ground_strike.lua | 30 | 1581 | -----------------------------------
-- Ground Strike
-- Great Sword weapon skill
-- Skill level: 250 QUESTED
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:50% INT:50%
-- 100%TP 200%TP 300%TP
-- 1.5 1.75 3.0
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
rodrigoftw/Estagio1 | Stay Alive/plugin/dusk/prototypes/map.lua | 1 | 2601 | -- ************************************************************************** --
--[[
Dusk Engine Object Prototype: Map
The head honcho.
--]]
-- ************************************************************************** --
local mapPrototype = {}
-- *******************************************************************... | apache-2.0 |
Enignite/darkstar | scripts/zones/Selbina/npcs/Quelpia.lua | 33 | 1707 | -----------------------------------
-- Area: Selbina
-- NPC: Quelpia
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
-----------... | gpl-3.0 |
Enignite/darkstar | scripts/globals/weaponskills/red_lotus_blade.lua | 30 | 1295 | -----------------------------------
-- Red Lotus Blade
-- Sword weapon skill
-- Skill Level: 50
-- Deals fire elemental damage to enemy. Damage varies with TP.
-- Aligned with the Flame Gorget & Breeze Gorget.
-- Aligned with the Flame Belt & Breeze Belt.
-- Element: Fire
-- Modifiers: STR:40% ; INT:40%
-- 100... | gpl-3.0 |
kikito/ld-30 | src/media.lua | 1 | 1743 | local multisource = require 'lib.multisource'
local Map = require 'map'
local media = {}
local TILE_WIDTH, TILE_HEIGHT = 32,32
local function newSource(name)
local path = 'sfx/' .. name .. '.ogg'
local source = love.audio.newSource(path)
return multisource.new(source)
end
local function newQuad(x,y,at... | mit |
Enignite/darkstar | scripts/zones/Palborough_Mines/npcs/Mythril_Seam.lua | 17 | 2508 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Mythril Seam
-- Involved In Mission: Journey Abroad
-- Involved in quest: Rock Racketeer
-- @zone 143
-- @pos -68 -7 173 // Rock Racketeer @pos 210 -32 -63
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Port_Bastok/npcs/Qiji.lua | 36 | 2002 | -----------------------------------
-- Area: Port Bastok
-- NPC: Qiji
-- Starts & Ends Quest: Forever to Hold
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests")... | gpl-3.0 |
Enignite/darkstar | scripts/globals/items/slice_of_diatryma_meat.lua | 18 | 1291 | -----------------------------------------
-- ID: 5290
-- Item: Slice of Diatryma Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- Strength +3
-- Intelligence -5
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
asfdfdfd/fceux | output/luaScripts/TeenageMutantNinjaTurtles.lua | 9 | 1618 | -- Teenage Mutant Ninja Turtles (U)[!].rom
-- Written by QFox
-- 31 july 2008
-- Displays Hitboxes, Enemy HP, and various stats on screen
local function box(x1,y1,x2,y2,color)
-- gui.text(50,50,x1..","..y1.." "..x2..","..y2);
if (x1 > 0 and x1 < 255 and x2 > 0 and x2 < 255 and y1 > 0 and y1 < 241 and y2 > 0 a... | gpl-2.0 |
Luciden/Cyber | world/door.lua | 1 | 1544 | --- A western style swinging door with key.
Door = {
-- specifies whether it is in the closed or opened state
open = nil,
-- specifies whether the key is turned or not
locked = nil
}
function Door.new( map, x, y, dir )
local door = Object.new( map, x, y, 0, dir )
door.open... | mit |
araeisy/araeisy | plugins/info.lua | 2 | 9743 |
do
local MKH = 98120772 --put your id here(BOT OWNER ID)
local PRS = 152065669 --PARSA id
local function setrank(msg, name, value) -- setrank function
local hash = nil
if msg.to.type == 'channel' then
hash = 'rank:variables'
end
if hash then
redis:hset(hash, name, value)
return send_msg('channel#id'.... | mit |
Enignite/darkstar | scripts/globals/items/bibiki_slug.lua | 18 | 1416 | -----------------------------------------
-- ID: 5122
-- Item: Bibiki Slug
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- defense % 16
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
terojanbot/TEROJANSBOT | plugins/remind.lua | 362 | 1875 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
Enignite/darkstar | scripts/zones/Bastok_Mines/npcs/Gerbaum.lua | 17 | 2169 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Gerbaum
-- Starts & Finishes Repeatable Quest: Minesweeper (100%)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("sc... | gpl-3.0 |
Enignite/darkstar | scripts/zones/Upper_Jeuno/npcs/Glyke.lua | 37 | 1491 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Glyke
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
-... | gpl-3.0 |
ntuhpc/modulefiles | all/SQLite/3.13.0-foss-2016b.lua | 1 | 1030 | help([[SQLite: SQL Database Engine in a C Library - Homepage: http://www.sqlite.org/]])
whatis([[Description: SQLite: SQL Database Engine in a C Library - Homepage: http://www.sqlite.org/]])
local root = "/opt/apps/software/SQLite/3.13.0-foss-2016b"
conflict("SQLite")
if not isloaded("foss/2016b") then
load("fo... | mit |
fcpxhacks/fcpxhacks | src/plugins/core/tangent/manager/test/group_test.lua | 4 | 1397 | -- local log = require("hs.logger").new("t_binding")
-- local inspect = require("hs.inspect")
local require = require
local test = require("cp.test")
local group = require("group")
return test.suite("group"):with {
test("new", function()
local o = group("Foo")
ok(o ~= nil)
... | mit |
Enignite/darkstar | scripts/globals/mobskills/Pleiades_Ray.lua | 7 | 1632 | ---------------------------------------------
-- Pleiades Ray
--
-- Description: Fires a magical ray at nearby targets. Additional effects: Paralysis + Blind + Poison + Plague + Bind + Silence + Slow
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown
-- Notes: Only used by Gurfurlur... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.