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 |
|---|---|---|---|---|---|
Igdra/darkstar | scripts/globals/mobskills/Fuscous_ooze.lua | 34 | 1073 | ---------------------------------------------------
-- Fuscous Ooze
-- Family: Slugs
-- Description: A dusky slime inflicts encumberance and weight.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Cone
-- Notes:
---------------------------------------------------
require("scripts/globals/se... | gpl-3.0 |
l0k1/naev | dat/factions/equip/dvaered.lua | 2 | 1648 | include("dat/factions/equip/generic.lua")
equip_typeOutfits_coreSystems["Vendetta"] = {
"Milspec Hermes 3602 Core System"
}
equip_typeOutfits_coreSystems["Ancestor"] = equip_typeOutfits_coreSystems["Vendetta"]
equip_typeOutfits_coreSystems["Phalanx"] = {
"Milspec Hermes 4702 Core System"
}
equip_typeOutfits_cor... | gpl-3.0 |
Noneatme/iLife-SA | client/Guis/Jobs/linejob.lua | 1 | 2501 | --[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
--[[
addEvent("onLineJobMarkerHit", true)
addEventHandler("onL... | mit |
kjl2y/darkstar | scripts/zones/Apollyon/mobs/Gorynich.lua | 2 | 1395 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Action
-------... | gpl-3.0 |
Igdra/darkstar | scripts/globals/abilities/super_jump.lua | 14 | 1103 | -----------------------------------
-- Ability: Super Jump
-- Performs a super jump.
-- Obtained: Dragoon Level 50
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/pets");
--------------------... | gpl-3.0 |
emadni/usaandamujon | plugins/all.lua | 264 | 4202 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
bsn069/lzmq | test/utest.lua | 4 | 60485 | pcall(require, "luacov")
local function zversion(zmq)
local version = zmq.version()
return string.format("%d.%d.%d", version[1], version[2], version[3])
end
local function iszvereq(zmq, mi, ma, bu)
local version = zmq.version()
return (mi == version[1]) and (ma == version[2]) and (bu == version[3])
end
local... | mit |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/keepsake-meadow/objects.lua | 3 | 4176 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
haste/ivar2 | modules/qauth.lua | 2 | 2148 | -- Q Challenge Auth
--
-- Expects QAuthUser and QAuthMD5Hash in the config table.
-- Example:
-- config = {
-- ...
-- QAuth = {
-- type = ['md5', 'sha1'],
-- user = 'Qnet user',
-- hash = 'md5/sha1 hash of password',
-- },
-- ...
-- }
local nixio = require'nixio'
local crypto = ... | mit |
metalgearsvt/FactorioMapMod | ServerMap_0.1.1/control.lua | 1 | 1410 | require "util"
require "defines"
script.on_event(defines.events.on_tick, function(event)
counter = game.tick
if game.player.gui.top.mapCoord == nil then
game.player.gui.top.add{type="label", name="mapCoord", caption="0, 0"}
game.player.gui.left.add{type="label", name="tileName", caption="Tile: "}
end
if... | mit |
kjl2y/darkstar | scripts/zones/The_Shrine_of_RuAvitau/mobs/Kirin.lua | 19 | 3656 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- MOB: Kirin
-----------------------------------
package.loaded[ "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" ] = nil;
-----------------------------------
require( "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" );
require( "scripts/globals/titles"... | gpl-3.0 |
Mrr619/TDself | plugins/saveplug.lua | 20 | 1784 | local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
return false
end
local function disable_plugin( name, chat )
local k = plugin_enabled(name)
if not k then
return
end
table.remove(_config.enabled_plugins, k)
save_conf... | agpl-3.0 |
Igdra/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Longsword.lua | 17 | 1502 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Longsword
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobE... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/fish_chiefkabob.lua | 18 | 1530 | -----------------------------------------
-- ID: 4575
-- Item: fish_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- Mind 1
-- Charisma 1
-- defense % 26
-- defense Cap 95
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
disslove2-bot/PLUS-BOT | bot/utils.lua | 239 | 13499 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
http.TIMEOUT = 10
funct... | gpl-2.0 |
junioraby/architec.awardspace.info | vlc-2.1.4/share/lua/playlist/cue.lua | 11 | 3972 | --[[
Parse CUE files
$Id$
Copyright (C) 2009 Laurent Aimar
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This pro... | mit |
seem-sky/fceuxd | output/luaScripts/SMB-Snow.lua | 3 | 6580 | --Super Mario Bros. - It's Snowing!
--Written by XKeeper
require("x_functions");
if not x_requires then
-- Sanity check. If they require a newer version, let them know.
timer = 1;
while (true) do
timer = timer + 1;
for i = 0, 32 do
gui.drawbox( 6, 28 + i, 250, 92 - i, "#000000");
end;
gui.text( 10, 32,... | gpl-2.0 |
kjl2y/darkstar | scripts/globals/mobskills/Mow.lua | 32 | 1069 | ---------------------------------------------
-- Mow
--
-- Description: Deals damage in an area of effect. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Poison can take around 10HP/tick
---------------------------------------------
require("sc... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Yughott_Grotto/npcs/Treasure_Chest.lua | 13 | 2930 | -----------------------------------
-- Area: Yughott Grotto
-- NPC: Treasure Chest
-- @zone 142
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scrip... | gpl-3.0 |
Hosseiin138yz/spam-killer | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
kjl2y/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Leaufetie_RK.lua | 13 | 3339 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Leaufetie, R.K.
-- Type: Conquest Overseer
-- @pos -227.956 -81.475 260.442 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/con... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Windurst_Waters/npcs/Damami-Karumi.lua | 13 | 1054 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Damami-Karumi
-- Type: Standard NPC
-- @zone: 238
-- @pos -5.362 -2 18.059
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
----------... | gpl-3.0 |
cracingbozo7/simply-unproffesional | Themes/Simply Unprofessional/BGAnimations/ScreenHeartEntry overlay.lua | 2 | 6867 | -- see: https://github.com/stepmania/stepmania/blob/master/Docs/Themerdocs/Examples/Example_Screens/ScreenHeartEntry.lua
-- The positions the numpads for entering the heart rate will be placed at.
local heart_xs = {
[PLAYER_1] = SCREEN_CENTER_X * 0.625,
[PLAYER_2] = SCREEN_CENTER_X * 1.375,
}
-- heart_entries is a ... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/general/objects/random-artifacts/shields.lua | 2 | 13982 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/vor-armoury/npcs.lua | 3 | 3366 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Credaurion_RK.lua | 14 | 3393 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Credaurion, R.K.
-- Outpost Conquest Guards
-- @pos -40.079 -0.642 -148.785 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
PhoNoTheSky/cursed-exp | scripts/remove_Items.lua | 1 | 2360 | module("removeItems", package.seeall)
function axes(player)
for i=1,datos.maxTool do
if player.get_item_count("cursed-axe-"..i) >=1 then
player.remove_item({name="cursed-axe-"..i, count=player.get_item_count("cursed-axe-"..i)})
end
end
if player.character and (player.get_inventory(defines.inventory.player_t... | mit |
kjl2y/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Ying.lua | 2 | 2094 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NM: Ying
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob,target)
end;
----------------------------... | gpl-3.0 |
kaoru2010/android-startup-project | tools/smc/smc_6_5_0/examples/Lua/EX1/checkstring.lua | 3 | 1783 | #!/usr/bin/env lua
--
-- The contents of this file are subject to the Mozilla Public
-- License Version 1.1 (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.mozilla.org/MPL/
--
-- Software distributed under the License is distrib... | apache-2.0 |
kjl2y/darkstar | scripts/zones/Windurst_Woods/npcs/Perih_Vashai.lua | 12 | 7635 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Parih Vashai
-- Starts and Finishes Quest: The Fanged One
-- @zone 241
-- @pos 117 -3 92
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
l0k1/naev | dat/gui/brushed.lua | 2 | 36947 | --[[
The new "brushed" UI.
--]]
playerform = include "dat/scripts/playerform.lua"
function create()
--Get Player
pp = player.pilot()
pp = player.pilot()
pfact = pp:faction()
pname = player.name()
pship = pp:ship()
--Get sizes
screen_w, screen_h = gfx.dim()
deffont_h = gfx.fontSize()
... | gpl-3.0 |
BeyondTeam/BDReborn | bot/bot.lua | 4 | 11734 | -- #Beyond Reborn Robot
-- #@BeyondTeam
tdcli = dofile('./tg/tdcli.lua')
serpent = (loadfile "./libs/serpent.lua")()
feedparser = (loadfile "./libs/feedparser.lua")()
require('./bot/utils')
require('./libs/lua-redis')
URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua | 27 | 2494 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Worn Book
-- Getting "Old Rusty Key (keyitem)"
-- @pos 59 0 19 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
re... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Arrapago_Reef/npcs/qm6.lua | 30 | 1138 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ??? (corsair job flag quest)
--
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapago_Reef/TextIDs");
-----------------------------------
... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Norg/npcs/Chiyo.lua | 13 | 1299 | -----------------------------------
-- Area: Norg
-- NPC: Chiyo
-- Type: Tenshodo Merchant
-- @pos 5.801 0.020 -18.739 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop")... | gpl-3.0 |
jvandenbroek/domoticz | dzVents/runtime/device-adapters/temperature_humidity_device.lua | 14 | 1051 | local humidityMapping = {
['dry'] = 2,
['normal'] = 0,
['comfortable'] = 1,
['wet'] = 3
}
return {
baseType = 'device',
name = 'Temperature+humidity device adapter',
matches = function (device, adapterManager)
local res = (device.deviceType == 'Temp + Humidity')
if (not res) then
adapterManager.addDum... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/demon-plane/zone.lua | 3 | 2021 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
e-lab/torch7-demos | _xLearn-demos/live-sift.lua | 1 | 4134 | #!/usr/bin/env qlua
----------------------------------------------------------------------
-- WHAT: computes and finds SIFT keypoints/descriptors
-- the image source must be provided on the command line
--
require 'XLearn'
require 'os'
require 'vlfeat'
-- parse args
op = OptionParser('%prog -s SOURCE [options]')... | bsd-3-clause |
UB12/Mr_bot | plugins/Boobs.lua | 10 | 1615 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
amirTg/Telepersian | plugins/anti_chat.lua | 62 | 1069 |
antichat = {}-- An empty table for solving multiple kicking problem
do
local function run(msg, matches)
if is_momod(msg) then -- Ignore mods,owner,admins
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['lock_chat'] then
if data[tostring(msg.to.id)]['... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Amfafa.lua | 14 | 1057 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Amfafa
-- Type: Standard NPC
-- @zone 94
-- @pos -24.938 -2 -185.729
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Horlais_Peak/bcnms/double_dragonian.lua | 30 | 1807 | -----------------------------------
-- Area: Horlias peak
-- Name: double_dragonian
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/... | gpl-3.0 |
Igdra/darkstar | scripts/globals/spells/bluemagic/queasyshroom.lua | 31 | 1990 | -----------------------------------------
-- Spell: Queasyshroom
-- Additional effect: Poison. Duration of effect varies with TP
-- Spell cost: 20 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 8
-- Casting Time: 2 seconds
-- Recast Time: 15 ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Gray_Colossus_LC.lua | 14 | 1084 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Gray Colossus, L.C.
-- Type: Campaign Arbiter
-- @zone 136
-- @pos 76.178 -60.763 -48.775
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[... | gpl-3.0 |
Bo98/DarkRP | gamemode/modules/fadmin/fadmin/cl_interface/cl_scoreboardServer.lua | 2 | 10830 | FAdmin.ScoreBoard.Server.Information = {} -- Compatibility for autoreload
FAdmin.ScoreBoard.Server.ActionButtons = {} -- Refresh server buttons when reloading gamemode
local function MakeServerOptions()
local _, YPos, Width = 20, FAdmin.ScoreBoard.Y + 120 + FAdmin.ScoreBoard.Height / 5 + 20, (FAdmin.ScoreBoard.Wid... | mit |
Igdra/darkstar | scripts/zones/Metalworks/npcs/Savae_E_Paleade.lua | 14 | 2812 | -----------------------------------
-- Area: Metalworks
-- NPC: Savae E Paleade
-- Involved In Mission: Journey Abroad
-- @pos 23.724 -17.39 -43.360 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems")... | gpl-3.0 |
Igdra/darkstar | scripts/zones/RuLude_Gardens/npcs/HomePoint#2.lua | 27 | 1264 | -----------------------------------
-- Area: RuLude_Gardens
-- NPC: HomePoint#2
-- @pos 53 9 -57 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/globals/homepoi... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Moana_CA.lua | 13 | 1079 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Moana, C.A.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos -27.237 -60.888 -48.111
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]/Te... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/red_curry_bun_+1.lua | 18 | 1941 | -----------------------------------------
-- ID: 5765
-- Item: red_curry_bun_+1
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- Health 35
-- Strength 7
-- Agility 3
-- Attack % 25 (cap 150)
-- Ranged Atk % 25 (cap 150)
-- Demon Killer 5
-- HP recovered when healing +6
-- MP recovered when... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Windurst_Woods/npcs/Cha_Lebagta.lua | 13 | 2148 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Cha Lebagta
-- Type: Standard NPC
-- @zone: 241
-- @pos 58.385 -6.249 216.670
-- Involved in Quests: As Thick as Thieves, Mihgo's Amigo
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
----------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Northern_San_dOria/npcs/Mulaujeant.lua | 27 | 2466 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Mulaujeant
-- Involved in Quests: Missionary Man
-- @zone 231
-- @pos -175 0 181
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
shyamalschandra/keys | VSCOKeys.lrdevplugin/Terminate.lua | 11 | 1089 | --[[----------------------------------------------------------------------------
VSCO Keys for Adobe Lightroom
Copyright (C) 2015 Visual Supply Company
Licensed under GNU GPLv2 (or any later version).
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... | gpl-2.0 |
Igdra/darkstar | scripts/globals/spells/bluemagic/sub-zero_smash.lua | 26 | 2012 | -----------------------------------------
-- 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 seconds
-- S... | gpl-3.0 |
rasa7aj/sbot | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Caedarva_Mire/npcs/Nasheefa.lua | 3 | 1469 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Nasheefa
-- Type: Alzadaal Undersea Ruins
-- @pos -440.998 0.107 -740.015 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Northern_San_dOria/npcs/Pagisalis.lua | 25 | 3103 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pagisalis
-- Involved In Quest: Enveloped in Darkness
-- @zone 231
-- @pos
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Port_Windurst/npcs/Degong.lua | 53 | 1826 | -----------------------------------
-- Area: Port Windurst
-- NPC: Degong
-- Type: Fishing Synthesis Image Support
-- @pos -178.400 -3.835 60.480 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_mf9.lua | 14 | 1429 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: _mf9 (Granite Door)
-- Notes: Opens with Prelate Key
-- @pos -60 -8 -99 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Templ... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/qm2.lua | 13 | 1471 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: ??? Used for Norg quest "The Sahagin's Stash"
-- @zone 176
-- @pos 295.276 27.129 213.043
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
mahdibagheri/MAHDIMMB | plugins/plugins.lua | 325 | 6164 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
kjl2y/darkstar | scripts/globals/mobskills/Chains_of_Rage.lua | 18 | 1157 | ---------------------------------------------
-- Chains of Apathy
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/keyitems");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Northern_San_dOria/npcs/Bertenont.lua | 14 | 1763 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Bertenont
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -165 0.1 226 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/z... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Nashmau/npcs/Mamaroon.lua | 13 | 1504 | -----------------------------------
-- Area: Nashmau
-- NPC: Mamaroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
r-lyeh/scriptorium | lua/luajit-2.0/src/jit/v.lua | 88 | 5614 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | unlicense |
brewsterl/forgottenserver | config.lua | 18 | 2408 | -- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeChargesFromRunes = true
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 10... | gpl-2.0 |
Igdra/darkstar | scripts/globals/items/witch_kabob.lua | 18 | 1369 | -----------------------------------------
-- ID: 4343
-- Item: witch_kabob
-- Food Effect: 1hour, All Races
-----------------------------------------
-- Magic Points 15
-- Mind 4
-- Enmity -1
-- MP Recovered While Healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/engines/default/engine/generator/map/RoomsLoader.lua | 3 | 12010 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/lore/kor-pul.lua | 3 | 4850 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/RuLude_Gardens/npcs/Albiona.lua | 13 | 1382 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Albiona
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/globals/que... | gpl-3.0 |
Igdra/darkstar | scripts/zones/North_Gustaberg/npcs/Ennigreaud_RK.lua | 14 | 3341 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Ennigreaud, R.K.
-- Type: Outpost Conquest Guards
-- @pos -584.687 39.107 54.281 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conq... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/chats/elisa-orb-scrying.lua | 3 | 3365 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Qufim_Island/npcs/Pitoire_RK.lua | 13 | 3326 | -----------------------------------
-- Area: Qufim Island
-- NPC: Pitoire, R.K.
-- Type: Outpost Conquest Guards
-- @pos -245.366 -20.344 299.502 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Western_Adoulin/npcs/Theophylacte.lua | 14 | 1284 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Theophylacte
-- Type: Shop NPC
-- @zone 256
-- @pos 154 4 -33 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scr... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cp.lua | 17 | 2597 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cp (Magical Gizmo) #1
-- Involved In Mission: The Horutoto Ruins Experiment
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
shyamalschandra/keys | VSCOKeys.lrdevplugin/Info.lua | 11 | 1580 | --[[----------------------------------------------------------------------------
VSCO Keys for Adobe Lightroom
Copyright (C) 2015 Visual Supply Company
Licensed under GNU GPLv2 (or any later version).
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... | gpl-2.0 |
kjl2y/darkstar | scripts/zones/Dynamis-Jeuno/bcnms/dynamis_jeuno.lua | 22 | 1306 | -----------------------------------
-- Area: Dynamis Jeuno
-- Name: Dynamis Jeuno
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaJeuno]UniqueID",player:getDynamisUniqueID(1283));
SetServerVariable(... | gpl-3.0 |
jkhlf85/THETETOO_9 | plugins/anti_spam.lua | 7 | 6320 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : طـرد التلقائــي ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Yhoator_Jungle/npcs/Field_Manual.lua | 29 | 1052 | -----------------------------------
-- Field Manual
-- Area: Yhoator Jungle
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
-----------------------------------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/ancient-elven-ruins/grids.lua | 6 | 1134 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
archienz/waifu2x | lib/minibatch_adam.lua | 35 | 1780 | require 'optim'
require 'cutorch'
require 'xlua'
local function minibatch_adam(model, criterion,
train_x,
config, transformer,
input_size, target_size)
local parameters, gradParameters = model:getParameters()
config = config or {}
local sum_loss = 0
local count_loss = 0
local ... | mit |
wahern/lunix | regress/0-ctty-sighup.lua | 1 | 5423 | #!/bin/sh
_=[[
. "${0%/*}/regress.sh"
exec runlua -r5.2 "$0" "$@"
]]
local unix = require"unix"
local regress = require"regress".export".*"
regress.setmpsafe(true)
local fmt = string.format
local pow = math.pow or function (x, y) return x^y end
local function checkf(what, v, ...)
if v then
info("%s: OK", what)... | mit |
ryanplusplus/love-for-lua-game-programming | main.lua | 1 | 1063 | local LevelScene = require 'level/Scene'
local MenuScene = require 'menu/Scene'
local scene
local key_pressed = {}
local key_held = {}
local controls = {
player1 = { left = 'left', right = 'right', jump = 'up' },
player2 = { left = 'z', right = 'x', jump = 's' }
}
function love.keypressed(k)
key_pressed[k] = ... | mit |
mojofunk/ardour | scripts/_midigenerator.lua | 4 | 1034 | ardour {
["type"] = "dsp",
name = "Midi Generator",
category = "Example", -- "Utility"
license = "MIT",
author = "Ardour Lua Task Force",
description = [[An Example Midi Generator for prototyping.]]
}
function dsp_ioconfig ()
return { { midi_out = 1, audio_in = 0, audio_out = 0}, }
end
lo... | gpl-2.0 |
Noneatme/iLife-SA | server/Classes/Quest/cQuest.lua | 1 | 5825 | --[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
Quests = {}
CQuest = {}
function CQuest:constructor(iID, sNa... | mit |
mmdk95/cuberite | MCServer/Plugins/APIDump/Hooks/OnHopperPullingItem.lua | 44 | 1336 | return
{
HOOK_HOPPER_PULLING_ITEM =
{
CalledWhen = "A hopper is pulling an item from another block entity.",
DefaultFnName = "OnHopperPullingItem", -- also used as pagename
Desc = [[
This callback is called whenever a {{cHopperEntity|hopper}} transfers an {{cItem|item}} from another
block entity into its... | apache-2.0 |
kjl2y/darkstar | scripts/zones/Windurst_Waters/npcs/Hilkomu-Makimu.lua | 17 | 1907 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Hilkomu-Makimu
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/zones/Windurst_Waters/T... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/qm1.lua | 25 | 1089 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: ??? (Tonberry Rattle ITEM)
-- @pos 269 0 91 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Temple_of_Uggalepih/TextIDs");
---... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Ranguemont_Pass/npcs/Perchond.lua | 13 | 1699 | -----------------------------------
-- Area: Ranguemont Pass
-- NPC: Perchond
-- @pos -182.844 4 -164.948 166
-----------------------------------
package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
----------------------------------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/talents/spells/phantasm.lua | 3 | 6186 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/qm8.lua | 57 | 2181 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: qm8 (??? - Ancient Papyrus Shreds)
-- Involved in Quest: In Defiant Challenge
-- @pos 105.275 -32 92.551 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
teleforspeed100/telefor_speed | plugins/wiki.lua | 735 | 4364 | -- http://git.io/vUA4M
local socket = require "socket"
local JSON = require "cjson"
local wikiusage = {
"!wiki [text]: Read extract from default Wikipedia (EN)",
"!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola",
"!wiki search [text]: Search articles on default Wikipedia (EN)",
"!... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Windurst_Woods/npcs/Palyalya.lua | 14 | 1053 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Palyalya
-- Type: Adv. Assistant
-- @zone 241
-- @pos 62.298 -3.499 -128.093
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Bastok_Mines/npcs/Proud_Beard.lua | 17 | 1688 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Proud Beard
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones/Bastok_Mines/TextIDs");
require("scripts/globals/events/harvest_... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/GentleTiger.lua | 31 | 1775 | ----------------------------------
-- Area: Bastok Markets [S]
-- NPC: GentleTiger
-- Type: Quest
-- @pos -203 -10 1
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]/TextIDs");
---... | gpl-3.0 |
SKA-ScienceDataProcessor/legion-sdp-clone | bindings/lua/examples/circuit/circuit_tasks.lua | 2 | 17996 | -- Copyright 2015 Stanford University
--
-- 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 agree... | apache-2.0 |
kjl2y/darkstar | scripts/zones/Sealions_Den/mobs/Mammet-22_Zeta.lua | 23 | 4284 | -----------------------------------
-- Area: Sealions Den
-- Mob: Mammet-22_Zeta
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
------------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fa.lua | 13 | 1076 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Odin's Gate
-- @pos 260 -34 -49 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
------... | gpl-3.0 |
libgdx/libgdx-demo-pax-britannica | android/assets/data/components/resources.lua | 11 | 5962 | local graphics = require 'dokidoki.graphics'
background = graphics.sprite_from_image('sprites/background.png', nil, {0, 0})
loading = graphics.sprite_from_image('sprites/loading.png', nil, {113, -10})
fighter_sprites = {
graphics.sprite_from_image('sprites/fighter_p1.png', nil, 'center'),
graphics.sprite_from_im... | mit |
Igdra/darkstar | scripts/zones/Al_Zahbi/npcs/Truffle.lua | 14 | 1033 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Truffle
-- Type: Standard NPC
-- @zone 48
-- @pos 18.306 -1 53.761
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
Noneatme/iLife-SA | client/Manager/Vehicle/cCarWashManager.lua | 1 | 5822 | --[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
-- #######################################
-- ## Project: MTA i... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.