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 |
|---|---|---|---|---|---|
Arcscion/Shadowlyre | scripts/zones/Arrapago_Reef/mobs/Medusa.lua | 3 | 1467 | -----------------------------------
-- Area: Arrapago Reef
-- MOB: Medusa
-- !pos -458 -20 458
-- TODO: resists, attack/def boosts
-----------------------------------
require("scripts/globals/titles");
require("scripts/zones/Arrapago_Reef/TextIDs");
-----------------------------------
-- onMobSpawn Action
----------... | gpl-3.0 |
sbodenstein/nn | SelectTable.lua | 7 | 1367 | local SelectTable, parent = torch.class('nn.SelectTable', 'nn.Module')
function SelectTable:__init(index)
parent.__init(self)
self.index = index
self.gradInput = {}
end
function SelectTable:updateOutput(input)
assert(math.abs(self.index) <= #input, "arg 1 table idx out of range")
if self.index < 0 then... | bsd-3-clause |
jono659/enko | scripts/globals/weaponskills/piercing_arrow.lua | 30 | 1643 | -----------------------------------
-- Piercing Arrow
-- Archery weapon skill
-- Skill level: 40
-- Ignores enemy's defense. Amount ignored varies with TP.
-- The amount of defense ignored is 0% with 100TP, 35% with 200TP and 50% with 300TP.
-- Typically does less damage than Flaming Arrow.
-- Aligned with the S... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/The_Celestial_Nexus/mobs/Eald_narche.lua | 23 | 2908 | -----------------------------------
-- Area: The Celestial Nexus
-- MOB: Eald'Narche - Phase 1
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitia... | gpl-3.0 |
jono659/enko | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cs.lua | 17 | 2436 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cs (Magical Gizmo) #4
-- Involved In Mission: The Horutoto Ruins Experiment
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
jono659/enko | scripts/globals/items/blackened_frog.lua | 35 | 1741 | -----------------------------------------
-- ID: 4536
-- Item: Blackened Frog
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -2
-- Attack % 14
-- Attack Cap 60
-- Ranged ATT % 14
-- Ranged ATT Cap 60
-- Enmity -5
------------------------------... | gpl-3.0 |
MrClash/M0nster | 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 |
jono659/enko | scripts/globals/items/coeurl_sub.lua | 35 | 1832 | -----------------------------------------
-- ID: 5166
-- Item: coeurl_sub
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 20
-- Attack Cap 75
-- Ranged ATT % 20
-- Ranged ATT Cap... | gpl-3.0 |
jono659/enko | scripts/zones/Northern_San_dOria/npcs/Taulenne.lua | 34 | 4855 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Taulenne
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
package.loaded["scripts/globals/armorstorage"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
N0U/Zero-K | LuaRules/Gadgets/CustomUnitShaders/UnitMaterials/0_customskins.lua | 12 | 1960 | -- $Id$
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
local materials = {
altSkinS3o = {
shaderDefinitions = {
},
shader = include(GADGET_DIR .. "UnitMaterials/Shaders/default.... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Metalworks/npcs/Naji.lua | 3 | 5236 | -----------------------------------
-- Area: Metalworks
-- NPC: Naji
-- Involved in Quests: The doorman (finish), Riding on the Clouds
-- Involved in Mission: Bastok 6-2
-- !pos 64 -14 -4 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/abilities/sublimation.lua | 4 | 2112 | -----------------------------------
-- Ability: Sublimation
-- Gradually creates a storage of MP while reducing your HP. The effect ends once an MP limit is reached, or your HP has gone too low. The stored MP is then transferred to your MP pool by using the ability a second time.
-- Obtained: Scholar Level 35
-- Recast... | gpl-3.0 |
MRunFoss/skynet | lualib/skynet/coroutine.lua | 24 | 3131 | -- You should use this module (skynet.coroutine) instead of origin lua coroutine in skynet framework
local coroutine = coroutine
-- origin lua coroutine module
local coroutine_resume = coroutine.resume
local coroutine_yield = coroutine.yield
local coroutine_status = coroutine.status
local coroutine_running = coroutine... | mit |
Arcscion/Shadowlyre | scripts/globals/weaponskills/black_halo.lua | 25 | 1568 | -----------------------------------
-- Black Halo
-- Club weapon skill
-- Skill level: 230
-- In order to obtain Black Halo, the quest Orastery Woes must be completed.
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget, Thunder Gorget & Breeze Gorget.... | gpl-3.0 |
jono659/enko | scripts/zones/Aht_Urhgan_Whitegate/npcs/Teteroon.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Teteroon
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
jono659/enko | scripts/zones/Abyssea-Grauberg/npcs/Cavernous_Maw.lua | 29 | 1242 | -----------------------------------
-- Area: Abyssea - Grauberg
-- NPC: Cavernous Maw
-- @pos -564.000, 30.300, -760.000 254
-- Teleports Players to North Gustaberg
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/lionhead.lua | 12 | 1323 | -----------------------------------------
-- ID: 4312
-- Item: lionhead
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
MostTheBest/Nod-32 | plugins/owners.lua | 94 | 12617 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Selbina/npcs/Graegham.lua | 3 | 1160 | -----------------------------------
-- Area: Selbina
-- NPC: Graegham
-- Guild Merchant NPC: Fishing Guild
-- !pos -12.423 -7.287 8.665 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
NiLuJe/koreader-base | ffi/utf8proc_h.lua | 3 | 8282 | local ffi = require("ffi")
ffi.cdef[[
typedef int8_t utf8proc_int8_t;
typedef uint8_t utf8proc_uint8_t;
typedef int16_t utf8proc_int16_t;
typedef uint16_t utf8proc_uint16_t;
typedef int32_t utf8proc_int32_t;
typedef uint32_t utf8proc_uint32_t;
typedef ssize_t utf8proc_ssize_t;
typedef size_t utf8proc_size_t;
typedef b... | agpl-3.0 |
jono659/enko | scripts/zones/Promyvion-Holla/mobs/Memory_Receptacle.lua | 12 | 6808 | -----------------------------------
-- Area: Promyvion-Holla
-- MOB: Memory Receptacle
-----------------------------------
package.loaded["scripts/zones/Promyvion-Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require( "scripts/zones/Promyvion-Holla/TextIDs" );... | gpl-3.0 |
ANONYMOUSE4/DevABBAS_ALSAIDI | plugins/setwelcome.lua | 1 | 2556 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY ABBAS ALSAIDI ▀▄ ▄▀
▀▄ ▄▀ WRITER ABBAS ▀▄ ▄▀
▀▄ ▄▀ Dev@Abbas9_9 ▀▄ ▄▀
▀▄ ▄▀ وضع ترحيب =Set Wellcome ▀▄ ▄▀
▀▄▀▀▄▄▀... | gpl-2.0 |
Arcscion/Shadowlyre | 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 |
Arcscion/Shadowlyre | scripts/zones/Abyssea-Konschtat/npcs/qm5.lua | 3 | 1347 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: qm5 (???)
-- Spawns Keratyrannos
-- !pos ? ? ? 15
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
... | gpl-3.0 |
joewalker/prosody-modules | mod_storage_multi/mod_storage_multi.lua | 32 | 2258 | -- mod_storage_multi
local storagemanager = require"core.storagemanager";
local backends = module:get_option_array(module.name); -- TODO better name?
-- TODO migrate data "upwards"
-- one → one successful write is success
-- all → all backends must report success
-- majority → majority of backends must report succes... | mit |
Arcscion/Shadowlyre | scripts/zones/RaKaznar_Inner_Court/npcs/HomePoint#1.lua | 3 | 1281 | -----------------------------------
-- Area: RaKaznar_Inner_Court
-- NPC: HomePoint#1
-- !pos 757 120 17.5 276
-----------------------------------
package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RaKaznar_Inner_Court/TextIDs");
require("s... | gpl-3.0 |
jono659/enko | scripts/zones/Mine_Shaft_2716/Zone.lua | 32 | 1656 | -----------------------------------
--
-- Zone: Mine_Shaft_2716 (13)
--
-----------------------------------
package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mine_Shaft_2716/TextIDs");
-------------... | gpl-3.0 |
N0U/Zero-K | LuaRules/Gadgets/cmd_factory_stop_production.lua | 4 | 2841 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Factory Stop Production",
desc = "Adds a command to clear the factory queue",
author = "Google... | gpl-2.0 |
jono659/enko | scripts/zones/Kazham/npcs/Thali_Mhobrum.lua | 19 | 1540 | -----------------------------------
-- Area: Kazham
-- NPC: Thali Mhobrum
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
local path = {
55.816410, -11.000000, -43.992680,
54.761787, -11.000000, -44.0461... | gpl-3.0 |
muhkuh-sys/org.muhkuh.tools-muhkuh_gui | bin/lua/serialnr.lua | 1 | 6731 | -----------------------------------------------------------------------------
-- Copyright (C) 2008 by Christoph Thelen --
-- doc_bacardi@users.sourceforge.net --
-- --
-- Thi... | gpl-2.0 |
zhangxiangxiao/nn | TemporalSubSampling.lua | 44 | 1378 | local TemporalSubSampling, parent = torch.class('nn.TemporalSubSampling', 'nn.Module')
function TemporalSubSampling:__init(inputFrameSize, kW, dW)
parent.__init(self)
dW = dW or 1
self.inputFrameSize = inputFrameSize
self.kW = kW
self.dW = dW
self.weight = torch.Tensor(inputFrameSize)
self.bias... | bsd-3-clause |
jono659/enko | scripts/globals/weaponskills/spinning_attack.lua | 30 | 1357 | -----------------------------------
-- Spinning Attack
-- Hand-to-Hand weapon skill
-- Skill Level: 150
-- Delivers an area attack. Radius varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Thunder Gorget.
-- Aligned with the Flame Belt & Thunder Belt.
-- Element: None
-- Modif... | gpl-3.0 |
rtsisyk/tarantool | test/app/crypto.test.lua | 3 | 1248 | test_run = require('test_run').new()
test_run:cmd("push filter ".."'\\.lua.*:[0-9]+: ' to '.lua:<line>\"]: '")
crypto = require('crypto')
type(crypto)
ciph = crypto.cipher.aes128.cbc
pass = '1234567887654321'
iv = 'abcdefghijklmnop'
enc = ciph.encrypt('test', pass, iv)
enc
ciph.decrypt(enc, pass, iv)
--Failing scen... | bsd-2-clause |
jono659/enko | scripts/zones/Dragons_Aery/npcs/qm0.lua | 8 | 1878 | -----------------------------------
-- Area: Dragons Aery
-- NPC: ??? (Spawn Nidhogg)
-- @pos -81 32 2 178
-----------------------------------
package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Dragons_Aery/TextIDs");
require("scripts/global... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/gateau_aux_fraises.lua | 12 | 1575 | -----------------------------------------
-- ID: 5542
-- Item: Gateau aux fraises
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP 8
-- MP 8% Cap 50
-- Intelligence 1
-- HP Recovered while healing 1
-- MP Recovered while healing 1
-----------------------------------... | gpl-3.0 |
N0U/Zero-K | scripts/bomberheavy.lua | 5 | 3145 | include "constants.lua"
include "bombers.lua"
include "fixedwingTakeOff.lua"
local flare1 = piece 'flare1'
local flare2 = piece 'flare2'
local base = piece 'base'
local wing1 = piece 'wing1'
local wing2 = piece 'wing2'
local rearthrust = piece 'rearthrust'
local wingthrust1 = piece 'wingthrust1'
local wingthru... | gpl-2.0 |
spawnazzo/luci | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/interface.lua | 69 | 2769 | --[[
Luci statistics - interface plugin diagram definition
(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 at
http://www.... | apache-2.0 |
Arcscion/Shadowlyre | scripts/zones/Abyssea-La_Theine/npcs/qm4.lua | 3 | 1344 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: qm4 (???)
-- Spawns Adamastor
-- !pos ? ? ? 132
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/clump_of_beaugreens.lua | 12 | 1201 | -----------------------------------------
-- ID: 4571
-- Item: clump_of_beaugreens
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
jono659/enko | scripts/zones/Metalworks/npcs/Glarociquet_TK.lua | 30 | 4750 | -----------------------------------
-- Area: Metalworks
-- NPC: Glarociquet, T.K.
-- @pos 19 -16 -28 237
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Sup... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Mount_Zhayolm/npcs/qm4.lua | 3 | 1342 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: ??? (Spawn Khromasoul Bhurborlor(ZNM T3))
-- !pos 88 -22 70 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
require(... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/mobskills/havoc_spiral.lua | 33 | 1110 | ---------------------------------------------
-- Havoc Spiral
--
-- Description: Deals damage to players in an area of effect. Additional effect: Sleep
-- Type: Physical
-- 2-3 Shadows
-- Range: Unknown
-- Special weaponskill unique to Ark Angel MR. Deals ~100-300 damage.
-----------------------------------------... | gpl-3.0 |
develephant/mod_arthur | arthur/UtilsClass.lua | 1 | 2040 | --============================================================================--
--== mod_arthur - utilities
--== An oauth.io module for CoronaSDK
--== (c)2015 Chris Byerley <@develephant>
--============================================================================--
local url_tools = require('socket.url')
local cry... | mit |
jono659/enko | scripts/globals/spells/invisible.lua | 22 | 1187 | -----------------------------------------
-- Spell: Invisible
-- Lessens chance of being detected by sight.
-- Duration is random number between 30 seconds and 5 minutes
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-------------------------... | gpl-3.0 |
ereizertmbot/siss | plugins/ingroup.lua | 13 | 62332 | 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.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
jotson/1gam-feb2013 | zoetrope/utils/factory.lua | 7 | 3584 | -- Class: Factory
-- A factory allows for simple object pooling; that is,
-- reusing object instances instead of creating them and deleting
-- them as needed. This approach saves CPU and memory.
--
-- Be careful of accidentally adding an instance to a view twice.
-- This will manifest itself as the sprite moving twice ... | mit |
zhangxiangxiao/nn | WeightedEuclidean.lua | 43 | 8173 | local WeightedEuclidean, parent = torch.class('nn.WeightedEuclidean', 'nn.Module')
function WeightedEuclidean:__init(inputSize,outputSize)
parent.__init(self)
self.weight = torch.Tensor(inputSize,outputSize)
self.gradWeight = torch.Tensor(inputSize,outputSize)
-- each template (output dim) has its own di... | bsd-3-clause |
Arcscion/Shadowlyre | scripts/zones/Yuhtunga_Jungle/npcs/Mahol_IM.lua | 3 | 3324 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Mahol, I.M.
-- Outpost Conquest Guards
-- !pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
ANONYMOUSE4/DevABBAS_ALSAIDI | plugins/stats.lua | 1 | 4869 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY ABBAS ALSAIDI ▀▄ ▄▀
▀▄ ▄▀ WRITER ABBAS ▀▄ ▄▀
▀▄ ▄▀ Dev@Abbas9_9 ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀▀▄▄▀... | gpl-2.0 |
hypnoscope/let-s-code-an-indie-game | episode_27/src/mobs/player.lua | 5 | 1157 | local keyboardMovement = require("src.logic.ai.movement.keyboard_movement")
local spritesheet = require("src.graphics.spritesheet")
local entity = require("src.logic.entity")
local punch = require("src.items.punch")
local status = require("src.logic.status")
local animation = require("src.graphics.animation")
local pos... | mit |
jono659/enko | scripts/zones/Bastok_Markets/npcs/Reinberta.lua | 11 | 1970 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Reinberta
-- Type: Goldsmithing Guild Master
-- @pos -190.605 -7.814 -59.432 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/crafting")... | gpl-3.0 |
jono659/enko | scripts/globals/items/viking_herring.lua | 35 | 1577 | -----------------------------------------
-- ID: 5183
-- Item: viking_herring
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -3
-- Attack % 12
-- Attack Cap 40
-- Ranged ATT % 12
-- Ranged ATT Cap 40
-----------------------------------------
require("scri... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Lower_Jeuno/npcs/Bki_Tbujhja.lua | 3 | 4433 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Bki Tbujhja
-- Involved in Quest: The Old Monument
-- Starts and Finishes Quests: Path of the Bard (just start), The Requiem (BARD AF2)
-- !pos -22 0 -60 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fochacha.lua | 3 | 2660 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fochacha
-- Type: Standard NPC
-- !pos 2.897 -1 -10.781 50
-- Quest: Delivering the Goods
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
Noiwex/gmod-medialib | lua/medialib/service_bass.lua | 1 | 4683 | local oop = medialib.load("oop")
local mediaregistry = medialib.load("mediaregistry")
local BASSService = oop.class("BASSService", "Service")
function BASSService:load(url, opts)
local media = oop.class("BASSMedia")()
media._unresolvedUrl = url
media._service = self
hook.Run("Medialib_ProcessOpts", media, opts or... | mit |
srvz/telegram-bot | plugins/btc.lua | 289 | 1375 | -- See https://bitcoinaverage.com/api
local function getBTCX(amount,currency)
local base_url = 'https://api.bitcoinaverage.com/ticker/global/'
-- Do request on bitcoinaverage, the final / is critical!
local res,code = https.request(base_url..currency.."/")
if code ~= 200 then return nil end
local data = j... | gpl-2.0 |
alireza85/worstwolfa | plugins/btc.lua | 289 | 1375 | -- See https://bitcoinaverage.com/api
local function getBTCX(amount,currency)
local base_url = 'https://api.bitcoinaverage.com/ticker/global/'
-- Do request on bitcoinaverage, the final / is critical!
local res,code = https.request(base_url..currency.."/")
if code ~= 200 then return nil end
local data = j... | gpl-2.0 |
Cyumus/GarryWare13 | gamemode/vgui_clockgame.lua | 1 | 1858 | ////////////////////////////////////////////////
// // GarryWare Gold //
// by Hurricaaane (Ha3) //
// and Kilburn_ //
// http://www.youtube.com/user/Hurricaaane //
//--------------------------------------------//
// Gamemode length clock ... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/globals/abilities/animated_flourish.lua | 4 | 2200 | -----------------------------------
-- Ability: Animated Flourish
-- Provokes the target. Requires at least one, but uses two Finishing Moves.
-- Obtained: Dancer Level 20
-- Finishing Moves Used: 1-2
-- Recast Time: 00:30
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
N0U/Zero-K | gamedata/modularcomms/weapons/lightninggun_improved.lua | 4 | 1261 | local name = "commweapon_lightninggun_improved"
local weaponDef = {
name = [[Heavy Lightning Gun]],
areaOfEffect = 8,
beamTTL = 12,
craterBoost = 0,
craterMult = 0,
customParams = {
extra_damage_mult = 3.125,
slot = [[5]],
mu... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/globals/spells/raptor_mazurka.lua | 5 | 1131 | -----------------------------------------
-- Spell: Raptor Mazurka
-- Gives party members enhanced movement
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Promyvion-Holla/MobIDs.lua | 2 | 1740 | -- [receptacle] = {group, numStrays, portal}
MEMORY_RECEPTACLES = {
[16842781] = {1, 3, 16843058},
[16842839] = {2, 5, 16843054},
[16842846] = {2, 5, 16843055},
[16842853] = {2, 5, 16843056},
[16842860] = {2, 5, 16843057},
[16842886] = {3, 7, 16843051},
[16842895] = {3, 7, 16843052},
[16... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Castle_Oztroja/npcs/_47f.lua | 3 | 1232 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47f (Handle)
-- Notes: Opens door _471
-- !pos -182 -15 -19 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextIDs");
... | gpl-3.0 |
jono659/enko | scripts/zones/RuLude_Gardens/npcs/relic.lua | 41 | 1848 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: <this space intentionally left blank>
-- @pos 0 8 -40 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
--------... | gpl-3.0 |
verath/GuildSkadaHighScore | vendor/Ace3/AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua | 13 | 10576 | --[[ $Id: AceGUIWidget-DropDown-Items.lua 1202 2019-05-15 23:11:22Z nevcairiel $ ]]--
local AceGUI = LibStub("AceGUI-3.0")
-- Lua APIs
local select, assert = select, assert
-- WoW APIs
local PlaySound = PlaySound
local CreateFrame = CreateFrame
local function fixlevels(parent,...)
local i = 1
local child = select... | mit |
zzh442856860/skynet-Note | service/sharedatad.lua | 23 | 2745 | local skynet = require "skynet"
local sharedata = require "sharedata.corelib"
local table = table
local NORET = {}
local pool = {}
local pool_count = {}
local objmap = {}
local function newobj(name, tbl)
assert(pool[name] == nil)
local cobj = sharedata.host.new(tbl)
sharedata.host.incref(cobj)
local v = { value =... | mit |
rtsisyk/tarantool | src/box/lua/schema.lua | 1 | 51457 | -- schema.lua (internal file)
--
local ffi = require('ffi')
local msgpack = require('msgpack')
local msgpackffi = require('msgpackffi')
local fun = require('fun')
local log = require('log')
local session = box.session
local internal = require('box.internal')
local builtin = ffi.C
-- performance fixup for hot function... | bsd-2-clause |
jono659/enko | scripts/globals/items/earth_wand.lua | 16 | 1034 | -----------------------------------------
-- ID: 17076
-- Item: Earth Wand
-- Additional Effect: Earth Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
--------------------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Upper_Jeuno/npcs/Champalpieu.lua | 17 | 1243 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Champalpieu
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
-- onT... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Eastern_Altepa_Desert/npcs/Telepoint.lua | 17 | 1706 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Eastern_Altepa_Desert/TextIDs");... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Northern_San_dOria/npcs/Madaline.lua | 36 | 1615 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Madaline
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/spells/blind_ii.lua | 18 | 1733 | -----------------------------------------
-- Spell: Blind II
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Blind II value per point is '1' This is a constant set in the table 'merits'
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
kidaa/darkstar | scripts/globals/spells/absorb-agi.lua | 11 | 1193 | --------------------------------------
-- Spell: Absorb-AGI
-- Steals an enemy's agility.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c60158703.lua | 1 | 5347 | --中华少女·缘木
function c60158703.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCountLimit(1,60158703)
e1:SetCondition(c60158... | gpl-3.0 |
stevedonovan/luabuild | modules/luasocket/src/http.lua | 5 | 12251 | -----------------------------------------------------------------------------
-- HTTP/1.1 client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
---------------------------------------------------------------------... | mit |
davidedmonds/darkstar | scripts/globals/spells/bluemagic/regeneration.lua | 46 | 1483 | -----------------------------------------
-- Spell: Regeneration
-- Gradually restores HP
-- Spell cost: 36 MP
-- Monster Type: Aquans
-- Spell Type: Magical (Light)
-- Blue Magic Points: 2
-- Stat Bonus: MND+2
-- Level: 78
-- Casting Time: 2 Seconds
-- Recast Time: 60 Seconds
-- Spell Duration: 30 ticks, 90 Seconds
--... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c37564513.lua | 1 | 2091 | --Lahm Loving
local m=37564513
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c37564765") end,function() require("script/c37564765") end)
cm.Senya_desc_with_nanahira=true
function cm.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:... | gpl-3.0 |
lhog/Zero-K | effects/unused_charlize.lua | 25 | 30008 | -- charlize_7
-- charlize_3
-- charlize_2
-- charlize_14
-- charlize_1
-- charlize_17
-- charlize_6
-- charlize_4
-- charlize_10
-- charlize_11
-- charlize_12
-- charlize_21
-- charlize
-- charlize_18
-- charlize_8
-- charlize_19
-- charlize_ani
-- charlize_9
-- charlize_15
-- charlize_13
-- charlize_5
-- charlize_16
-... | gpl-2.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c91000014.lua | 1 | 6293 | --天印-灵威仰
function c91000014.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,2,2,nil,nil,5)
c:EnableReviveLimit()
--Damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(91000014,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_QUICK_O)
... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Valkurm_Dunes/npcs/Quanteilleron_RK.lua | 28 | 3133 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Quanteilleron, R.K.
-- Outpost Conquest Guards
-- @pos 144 -7 104 103
-------------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Valkurm_Dunes/npcs/Quanteilleron_RK.lua | 28 | 3133 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Quanteilleron, R.K.
-- Outpost Conquest Guards
-- @pos 144 -7 104 103
-------------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Castle_Oztroja/npcs/_m73.lua | 2 | 1856 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m73 (Torch Stand)
-- Notes: Opens door _477 when _m72 to _m75 are lit
-- !pos -140.146 -72.058 -137.145 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/spells/sheepfoe_mambo.lua | 2 | 1632 | -----------------------------------------
-- Spell: Sheepfoe Mambo
-- Grants evasion bonus to all members.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return ... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/items/handful_of_sunflower_seeds.lua | 35 | 1215 | -----------------------------------------
-- ID: 4505
-- Item: handful_of_sunflower_seeds
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Dexterity -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Bastok_Mines/npcs/Crying_Wind_IM.lua | 6 | 4806 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Crying Wind, I.M.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Miss... | gpl-3.0 |
wyaocn/skynet-ejoy2d | lualib/ejoy2d/particle.lua | 1 | 3799 | local debug = debug
local ej = require "ejoy2d"
local c = require "ejoy2d.particle.c"
local shader = require "ejoy2d.shader"
local pack = require "ejoy2d.spritepack.c"
local fw = require "window.c"
local matrix = require "ejoy2d.matrix"
local math = require "math"
local sprite = require "ejoy2d.sprite"
local particle_... | mit |
will4wachter/Project1 | scripts/zones/Aht_Urhgan_Whitegate/npcs/Rytaal.lua | 5 | 4537 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Rytaal
-- Type: Standard NPC
-- @pos 112.002 -1.338 -45.038 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Bastok_Markets/npcs/Wulfnoth.lua | 2 | 1357 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Wulfnoth
-- Type: Goldsmithing Synthesis Image Support
-- !pos -211.937 -7.814 -56.292 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/items/broiled_carp.lua | 35 | 1291 | -----------------------------------------
-- ID: 4586
-- Item: Broiled Carp
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 2
-- Mind -1
-- Ranged ATT % 14
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/items/broiled_carp.lua | 35 | 1291 | -----------------------------------------
-- ID: 4586
-- Item: Broiled Carp
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 2
-- Mind -1
-- Ranged ATT % 14
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
unknowntg/unknowntg | plugins/help_plug.lua | 2 | 3218 | do
function run(msg, matches)
local text = [[
>>لیست ابزار های آواست:
_____________________
»دریافت متن تبلیغ
تبلیغ
»دریافت وضعیت ارز
!arz
»دریافت اوقات شرعی
!praytime [نام شهر]
»دریافت عکس های P.o.r.n
!boobs
»دریافت شماره ربات
!share
»انجام محاسبات ریاضی
!calc 2+2
»دریافت عکس قاره
نام قاره مورد نطر را به زبان ... | gpl-2.0 |
will4wachter/Project1 | scripts/globals/abilities/pets/burning_strike.lua | 6 | 1279 | ---------------------------------------------------
-- Burning Strike M = 6?
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/summon");
require("/scripts/globals/magic");
require("/scripts/globals/monstertpmo... | gpl-3.0 |
dmzgroup/lmk | scripts/src/version.lua | 2 | 2146 | require "lmkbuild"
local exec = lmkbuild.exec
local get_var = lmkbuild.get_var
local io = io
local ipairs = ipairs
local os = os
local print = print
local resolve = lmkbuild.resolve
local rm = lmkbuild.rm
local set_local = lmkbuild.set_local
local tostring = tostring
local get_build_number = lmkbuild.get_build_number
... | mit |
antagon/coroner | src/coroner/protocol/eth.lua | 1 | 3382 | --- Ethernet II frame dissector.
-- This module is based on code adapted from nmap's nselib. See http://nmap.org/.
-- @classmod coroner.protocol.eth
local bstr = require ("coroner/bstr")
local eth = {}
--- EtherType constants.
-- @see eth:get_ethertype
eth.ethertype = {
ETHERTYPE_IP = 0x0800, -- Internet Protocol v... | gpl-2.0 |
Murloc992/TBCBackporting | Jamba/Jamba/Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua | 52 | 9726 | local AceGUI = LibStub("AceGUI-3.0")
-- Lua APIs
local pairs, assert, type = pairs, assert, type
-- WoW APIs
local PlaySound = PlaySound
local CreateFrame, UIParent = CreateFrame, UIParent
-- Global vars/functions that we don't upvalue since they might get hooked, or upgraded
-- List them here for Mikk's FindGlobals... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c11111012.lua | 1 | 1922 | --温柔的兔耳少女 小莩
function c11111012.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x15d),8,2,nil,nil,5)
c:EnableReviveLimit()
--actlimit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)... | gpl-3.0 |
lhog/Zero-K | LuaRules/Gadgets/unit_enlarger.lua | 6 | 4575 | function gadget:GetInfo()
return {
name = "Unit Enlarger",
desc = "Scales units physically and graphically",
author = "Rafal",
date = "May 2015",
license = "GNU LGPL, v2.1 or later",
layer = 0,
enabled = false
}
end
---------------------------------------------------------------------------... | gpl-2.0 |
lhog/Zero-K | effects/DOT_Merl_explo.lua | 7 | 4213 | return { DOT_Merl_Explo = {
Dreck = {
class = [[CSimpleParticleSystem]],
properties = {
Texture = [[smokesmall]],
colorMap = [[.07 .05 .05 0.80
.00 .00 .00 0.01]],
pos = [[0, 1, 0]],
gravity = [[0, -0.2, 0]],
emitVector = [[0, 1, 0]],
emitRot = 0,
emitRotSpread = [[5 r20]],
... | gpl-2.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c32822004.lua | 1 | 1365 | --火舌图腾
local m=32822004
local cm=_G["c"..m]
if not orion or not orion.totem then
if not pcall(function() require("expansions/script/c32822000") end) then require("script/c32822000") end
end
function cm.initial_effect(c)
local e1=nil
--pendulum initial
orion.totemInitial(c,true,true)
--atk up
e1=Effect.CreateEffec... | gpl-3.0 |
SHIELDPOWER/Shield-Team | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.