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 |
|---|---|---|---|---|---|
hfjgjfg/mohammad | plugins/media.lua | 376 | 1679 | do
local function run(msg, matches)
local receiver = get_receiver(msg)
local url = matches[1]
local ext = matches[2]
local file = download_to_file(url)
local cb_extra = {file_path=file}
local mime_type = mimetype.get_content_type_no_sub(ext)
if ext == 'gif' then
print('send_file')
send_docum... | gpl-2.0 |
danielga/larithmetic | source/arithmetic/parser.lua | 1 | 3533 | -- fix the intermediary representation of data
-- using numbers, and strings for operators is ridiculous
local __parser = {__index = {}}
local __parser_index = __parser.__index
function __parser_index:first_pass(str)
local outqueue = arithmetic.queue()
local tempstack = arithmetic.stack()
local reader = arithmetic... | bsd-3-clause |
jono659/enko | scripts/globals/items/bowl_of_oceanfin_soup.lua | 36 | 1822 | -----------------------------------------
-- ID: 6070
-- Item: Bowl of Oceanfin Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Accuracy % 15 Cap 95
-- Ranged Accuracy % 15 Cap 95
-- Attack % 19 Cap 85
-- Ranged Attack % 19 Cap 85
-- Amorph Killer 6
-----------------------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Abyssea-Attohwa/npcs/qm3.lua | 3 | 1347 | -----------------------------------
-- Zone: Abyssea-Attohwa
-- NPC: qm3 (???)
-- Spawns Pallid Percy
-- !pos ? ? ? 215
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
-... | gpl-3.0 |
jono659/enko | scripts/globals/spells/bluemagic/smite_of_rage.lua | 28 | 1707 | -----------------------------------------
-- Spell: Smite of Rage
-- Damage varies with TP
-- Spell cost: 28 MP
-- Monster Type: Arcana
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+3
-- Level: 34
-- Casting Time: 0.5 seconds
-- Recast Time: 13 seconds
-- Skillchain Element(s)... | gpl-3.0 |
jono659/enko | scripts/globals/spells/bluemagic/power_attack.lua | 28 | 1761 | -----------------------------------------
-- Spell: Power Attack
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 5 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 1
-- Stat Bonus: MND+1
-- Level: 4
-- Casting Time: 0.5 seconds
-- Recast Time: 7.2... | gpl-3.0 |
jono659/enko | scripts/zones/Gustav_Tunnel/npcs/qm2.lua | 13 | 2001 | -----------------------------------
-- Area: Gustav tunnel
-- NPC: qm2 (???)
-- bastok 9-1
-- @zone 212
-- @pos -130 1.256 252.696
-----------------------------------
package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
jono659/enko | scripts/zones/Port_Jeuno/npcs/Horst.lua | 12 | 3529 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Horst
-- Type: Abyssea Warp NPC
-- @pos -54.379 0.001 -10.061 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
-... | gpl-3.0 |
jono659/enko | scripts/globals/items/faerie_apple.lua | 35 | 1211 | -----------------------------------------
-- ID: 4363
-- Item: faerie_apple
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -4
-- Intelligence 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
N0U/Zero-K | effects/tremor.lua | 8 | 6910 | -- tremor
return {
["tremor"] = {
air = false,
count = 1,
ground = true,
water = false,
debris1 = {
air = false,
class = [[CSimpleParticleSystem]],
count = 5,
ground =... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Cape_Teriggan/npcs/Paise_RK.lua | 3 | 3314 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Bright Moon
-- Type: Border Conquest Guards
-- !pos 119 0 282 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("script... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Bhaflau_Thickets/TextIDs.lua | 3 | 1158 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6386; -- Obtained: <item>.
GIL_OBTAINED = 6387; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6389; -- Obtained... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Western_Adoulin/npcs/Theophylacte.lua | 3 | 1283 | -----------------------------------
-- 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 |
N0U/Zero-K | units/jumpraid.lua | 3 | 5126 | unitDef = {
unitname = [[jumpraid]],
name = [[Pyro]],
description = [[Raider/Riot Jumper]],
acceleration = 0.4,
brakeRate = 1.2,
buildCostMetal = 220,
builder = false,
buildPic = [[jumpraid.png]],
canGuard ... | gpl-2.0 |
jono659/enko | scripts/globals/effects/chr_down.lua | 19 | 1084 | -----------------------------------
--
-- EFFECT_CHR_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if((target:getStat(MOD_CHR) - effect... | gpl-3.0 |
LouisK130/Orange-Cosmos-Roleplay | ocrp/entities/weapons/weapon_basegun_ocrp/shared.lua | 1 | 8398 | SWEP.Author = ""
SWEP.Contact = ""
SWEP.Purpose = ""
SWEP.Instructions = ""
SWEP.ViewModelFOV = 62
SWEP.ViewModelFlip = false
SWEP.ViewModel = "models/weapons/v_pistol.mdl"
SWEP.WorldModel = "models/weapons/w_357.mdl"
SWEP.AnimPrefix = "python"
SWEP.Threat = 0
SWEP.HoldType = "pistol"
SWEP.Spawnable = f... | mit |
Tikiwinkie/overthebox-feeds | luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua | 74 | 2567 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010-2012 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2010 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local sys = require "luci.sys"
local inits = { }
for _, name ... | gpl-3.0 |
jono659/enko | scripts/zones/Mhaura/npcs/Mololo.lua | 17 | 1170 | -----------------------------------
-- Area: Mhaura
-- NPC: Mololo
-- Guild Merchant NPC: Blacksmithing Guild
-- @pos -64.278 -16.624 34.120 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
CQUI-Org/cqui | Assets/UI/Panels/unitpanel.lua | 4 | 158744 | -- ===========================================================================
-- Unit Panel Screen
-- ===========================================================================
include( "InstanceManager" );
include( "SupportFunctions" );
include( "Colors" );
include( "CombatInfo" );
include( "PopupDialogSupport" );
... | mit |
rtsisyk/tarantool | test/vinyl/tx_serial.test.lua | 2 | 7044 | -- The test runs loop of given number of rounds.
-- Every round does the following:
-- The test starts several concurrent transactions in vinyl.
-- The transactions make some read/write operations over several keys in
-- a random order and commit at a random moment.
-- After that all transactions are sorted in order o... | bsd-2-clause |
jono659/enko | scripts/zones/Southern_San_dOria/npcs/Chanpau.lua | 19 | 2054 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Chanpau
-- Optional Involvement in Quest: A Squire's Test II
-- @zone 230
-- @pos -152 -2 55
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
jono659/enko | scripts/globals/weaponskills/steel_cyclone.lua | 30 | 1578 | -----------------------------------
-- Steel Cyclone
-- Great Axe weapon skill
-- Skill level: 240
-- Delivers a single-hit attack. Damage varies with TP.
-- In order to obtain Steel Cyclone, the quest The Weight of Your Limits must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Port_Windurst/npcs/Gold_Skull.lua | 17 | 2443 | -----------------------------------
-- Area: Port Windurst
-- NPC: Gold Skull
-- Mission NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/z... | gpl-3.0 |
albertz/love | src/libraries/luasocket/libluasocket/ftp.lua | 144 | 9120 | -----------------------------------------------------------------------------
-- FTP support for the Lua language
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: ftp.lua,v 1.45 2007/07/11 19:25:47 diego Exp $
-----------------------------------------------------------------------------
-------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Arrapago_Reef/npcs/_jic.lua | 2 | 3561 | -----------------------------------
-- Area: Arrapago Reef
-- Door: Runic Seal
-- !pos 36 -10 620 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("s... | gpl-3.0 |
zhaoxx063/snort3 | piglet/tests/common.lua | 4 | 4965 | do
local table = table
local meta = { __index = table}
-- give tables metatable access to the table library
function table.new(t)
t = t or { }
setmetatable(t, meta)
return t
end
function table:imap(fn)
local iter, a, s = ipairs(self)
local closure = func... | gpl-2.0 |
jammet/MCServer | lib/tolua++/src/bin/lua/compat.lua | 23 | 4095 | -------------------------------------------------------------------
-- Real globals
-- _ALERT
-- _ERRORMESSAGE
-- _VERSION
-- _G
-- assert
-- error
-- metatable
-- next
-- print
-- require
-- tonumber
-- tostring
-- type
-- unpack
-------------------------------------------------------------------
-- collectgarbage
--... | apache-2.0 |
DEVASL/DEVASL-V1 | plugins/MAHDI_ALBADRY.lua | 1 | 1450 | do
local function run(msg, matches)
local sudo = 220530711
local r = get_receiver(msg)
send_large_msg(r, "اصبر 👮🏻🖐🏻 راح اصيحلك المطور 😊")
send_large_msg("user#id"..sudo, "🎴 هناك شخص 👤 بحاجة اليك 🔷✔️\n\n ".."⛔️ المعرف : @"..msg.from.username.."\n 🔋 الايدي : "..msg.from.id.."\n 📋 اسم المجموعة : "..ms... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Port_Windurst/npcs/Ohruru.lua | 3 | 4928 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ohruru
-- Starts & Finishes Repeatable Quest: Catch me if you can
-- Involved in Quest: Wonder Wands
-- Note: Animation for his "Cure" is not functioning. Unable to capture option 1, so if the user says no, he heals them anyways.
-- !pos -108 -5 94 2... | gpl-3.0 |
jono659/enko | scripts/zones/Al_Zahbi/npcs/Suldiran.lua | 17 | 1811 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Suldiran
-- Type: NPC Quest
-- @zone: 48
-- @pos 41.658 -6.999 -42.528
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/globals/... | gpl-3.0 |
N0U/Zero-K | LuaUI/Widgets/chili_new/themes/theme.lua | 9 | 1495 | --//=============================================================================
--// Theme
theme = {}
theme.name = "default"
--//=============================================================================
--// Define default skins
local defaultSkin = "Robocracy"
--local defaultSkin = "DarkGlass"
theme.skin = ... | gpl-2.0 |
Cyumus/GarryWare13 | entities/entities/ware_trigger/cl_init.lua | 1 | 1930 |
include('shared.lua')
ENT.RenderGroup = RENDERGROUP_TRANSLUCENT
function ENT:Draw()
end
local function DrawBox(pos, mins, maxs, F, R, U)
local bld = (pos + mins.x*F + mins.y*R + mins.z*U):ToScreen()
local brd = (pos + mins.x*F + maxs.y*R + mins.z*U):ToScreen()
local frd = (pos + maxs.x*F + maxs.y*R + mins.z*... | gpl-2.0 |
ra-kalai/lem | test/stest.lua | 1 | 1701 | #!bin/lem
--
-- This file is part of LEM, a Lua Event Machine.
-- Copyright 2011-2012 Emil Renner Berthing
--
-- LEM is free software: you can redistribute it and/or modify it
-- under the terms of the GNU Lesser General Public License as
-- published by the Free Software Foundation, either version 3 of
-- the License,... | lgpl-3.0 |
loicortola/nodemcu-espress | espress.lua | 1 | 4798 | ------------------------------------------------------------------------------
-- HTTP server module
-- LICENCE: http://opensource.org/licenses/MIT
-- Author: Loic Ortola https://github.com/loicortola
------------------------------------------------------------------------------
-- HTTP status codes as defined in RFC 2... | mit |
Arcscion/Shadowlyre | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Claymore.lua | 17 | 1498 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Claymore
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEn... | gpl-3.0 |
OptiPop/external_chromium_org_third_party_skia | tools/lua/paths.lua | 92 | 3129 | --
-- Copyright 2014 Google Inc.
--
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
--
-- Path scraping script.
-- This script is designed to count the number of times we fall back to software
-- rendering for a path in a given SKP. However, this script does not ... | bsd-3-clause |
DEVASL/DEVASL-V1 | plugins/HELP3.lua | 1 | 2601 | do
local function run(msg, matches)
local reply_id = msg['id']
if is_momod(msg) and matches[1] == 'م3' then
local ghost = [[
ســورس ديف ايسل🎖 #DEVASL V1
تـابع قـنـاه
@DEVASL
➖🎖➖🎖➖🎖
❀ اوامـر الـحمايه في المـجموعه❀
❄️ للقـفل 🎖 قفل + الامر
❄️للفـتح 🎖 فتـح + الامـر
➖🎖➖🎖➖🎖
🎀🎗 الـدردشـه 🎖 للقفـل ... | gpl-3.0 |
jono659/enko | scripts/globals/items/elshimo_coconut.lua | 35 | 1217 | -----------------------------------------
-- ID: 5187
-- Item: elshimo_coconut
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -1
-- Intelligence -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
jono659/enko | scripts/globals/items/bowl_of_loach_gruel.lua | 36 | 1567 | -----------------------------------------
-- ID: 5670
-- Item: Bowl of Loach Gruel
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Make Group Effect
-- Dexterity 2
-- Agility 2
-- Accuracy 7% Cap 30
-- HP 7% Cap 30
-- Evasion 4
-----------------------------------------
require("scri... | gpl-3.0 |
jono659/enko | scripts/zones/The_Sanctuary_of_ZiTah/TextIDs.lua | 2 | 1718 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6381; -- You cannot obtain the <item>. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6382; ... | gpl-3.0 |
siktirmirza/croco | plugins/giverank.lua | 1 | 12749 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
rigeirani/sbbb | plugins/chat.lua | 32 | 1697 | local function run(msg)
if msg.text == "hi" then
return "Hello bb"
end
if msg.text == "Hi" then
return "Hello honey"
end
if msg.text == "Hello" then
return "Hi bb"
end
if msg.text == "hello" then
return "Hi honey"
end
if msg.text == "Salam" then
return "Salam aleykom"
end
if msg.text == "salam" then
return "va al... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Port_Jeuno/npcs/Rinzei.lua | 17 | 1375 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Rinzei
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/quests");
----------------... | gpl-3.0 |
jono659/enko | scripts/globals/weaponskills/blade_kamu.lua | 12 | 4894 | -----------------------------------
-- Blade Kamu
-- Katana weapon skill
-- Skill Level: N/A
-- Lowers target's params.accuracy. Duration of effect varies with TP. Nagi: Aftermath effect varies with TP.
-- Effect lasts 60 seconds @ 100 TP, 90 seconds @ 200 TP, and 120 seconds @ 300 TP
-- Available only after comp... | gpl-3.0 |
akolishchak/hard-attention | LSTM.lua | 1 | 1926 |
local LSTM = {}
function LSTM.lstm(input_size, rnn_size, n, dropout)
dropout = dropout or 0
-- there will be 2*n+1 inputs
local inputs = {}
table.insert(inputs, nn.Identity()()) -- x
for L = 1,n do
table.insert(inputs, nn.Identity()()) -- prev_c[L]
table.insert(inputs, nn.Identity()()) -- prev_h[L]... | mit |
AlanZatarain/xsd-tools | src/TemplateEngine/templateEngine.lua | 3 | 1201 | --[[
Copyright: (c)2012 Ardavon Falls
This file is part of xsd-tools.
xsd-tools 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 |
jono659/enko | scripts/zones/Windurst_Walls/npcs/Zayhi-Bauhi.lua | 19 | 5249 | -----------------------------------
-- Area: Windurst Walls
-- Location: X:-91 Y:-9 Z:109
-- NPC: Zayhi-Bauhi
-- Working 100%
-- Starts and Finishes Quest: To Bee or Not to Bee?
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
rtsisyk/tarantool | test/app-tap/snapshot.test.lua | 1 | 3682 | #!/usr/bin/env tarantool
local math = require('math')
local fiber = require('fiber')
local tap = require('tap')
local ffi = require('ffi')
local fio = require('fio')
box.cfg{ log="tarantool.log", memtx_memory=107374182, rows_per_wal=5000}
local test = tap.test("snapshot")
test:plan(3)
------------------------------... | bsd-2-clause |
EneaBell/Teamfight-Arena | game/dota_addons/teamfightarena/scripts/vscripts/internal/eventtest.lua | 21 | 59645 | function GameMode:StartEventTest()
ListenToGameEvent("team_info", Dynamic_Wrap(GameMode, 'On_team_info'), self)
ListenToGameEvent("team_score", Dynamic_Wrap(GameMode, 'On_team_score'), self)
ListenToGameEvent("teamplay_broadcast_audio", Dynamic_Wrap(GameMode, 'On_teamplay_broadcast_audio'), self)
ListenToGameEvent(... | gpl-2.0 |
jono659/enko | scripts/zones/Al_Zahbi/npcs/Zwaluh.lua | 12 | 2284 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Zwaluh
-- Type: Leathercraft Normal/Adv. Image Support
-- @pos -71.556 -6.999 -103.015 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Al_Zahbi/Te... | gpl-3.0 |
MeteorAdminz/Hercules | tools/item_merge.lua | 15 | 23076 | -- This file is part of Hercules.
-- http://herc.ws - http://github.com/HerculesWS/Hercules
--
-- Copyright (C) 2014-2015 Hercules Dev Team
--
-- Hercules 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, eit... | gpl-3.0 |
N0U/Zero-K | gamedata/modularcomms/weapons/missilelauncher.lua | 5 | 1344 | local name = "commweapon_missilelauncher"
local weaponDef = {
name = [[Missile Launcher]],
areaOfEffect = 48,
avoidFeature = true,
cegTag = [[missiletrailyellow]],
craterBoost = 1,
craterMult = 2,
customParams = {
sl... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Yuhtunga_Jungle/npcs/Beastmen_s_Banner.lua | 3 | 1029 | -----------------------------------
-- Area: Yuhtunga_Jungle
-- NPC: Beastmen_s_Banner
-- !pos -305.061 16.172 -438.904 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Yuhtunga_Jungle/TextIDs");
---------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Leafallia/npcs/HomePoint#1.lua | 3 | 1254 | -----------------------------------
-- Area: Leafallia
-- NPC: HomePoint#1
-- !pos 5.539 -0.434 8.133 281
-----------------------------------
package.loaded["scripts/zones/Leafallia/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Leafallia/TextIDs");
require("scripts/globals/homepoint");... | gpl-3.0 |
N0U/Zero-K | units/staticjammer.lua | 5 | 2429 | unitDef = {
unitname = [[staticjammer]],
name = [[Cornea]],
description = [[Area Cloaker/Jammer]],
activateWhenBuilt = true,
buildCostMetal = 420,
builder = false,
buildingGroundDecalDecaySpeed... | gpl-2.0 |
hypnoscope/let-s-code-an-indie-game | episode_15/src/graphics/view.lua | 11 | 1096 | local view = {}
local scale = function (self)
return love.graphics.getWidth() / self.gameWidth
end
local clamp = function (min, n, max)
if n < min then return min end
if n > max then return max end
return n
end
local viewOffset = 10
local update = function (self, game)
local currentRoom = game.map:current... | mit |
jono659/enko | scripts/globals/items/bowl_of_adoulin_soup_+1.lua | 36 | 1507 | -----------------------------------------
-- ID: 5999
-- Item: Bowl of Adoulin Soup +1
-- Food Effect: 240 Min, All Races
-----------------------------------------
-- HP % 4 Cap 45
-- Vitality 4
-- Defense % 16 Cap 75
-- HP Healing 7
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/common.lua | 35 | 2855 | -----------------------------------
--
--
-----------------------------------
-----------------------------------
-- switch
-----------------------------------
function switch(c)
local swtbl = {
casevar = c,
caseof = function (self,code)
local f
if (self.casevar) then
f = cod... | gpl-3.0 |
SentientTechnologies/thrift | lib/lua/TCompactProtocol.lua | 30 | 13135 | --
-- 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 ma... | apache-2.0 |
Arcscion/Shadowlyre | scripts/zones/Windurst_Walls/npcs/Shinchai-Tocchai.lua | 3 | 1064 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Shinchai-Tocchai
-- Type: Moghouse Renter
-- @zone 239
-- !pos -220.551 -0.001 -116.916
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/abilities/elemental_siphon.lua | 3 | 2832 | -----------------------------------
-- Ability: Elemental Siphon
-- Drains MP from your summoned spirit.
-- Obtained: Summoner level 50
-- Recast Time: 5:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/pets");
r... | gpl-3.0 |
imanmafi/Algorithm-Implementations | Egyptian_Fractions/Lua/Yonaba/egyptian_fractions_test.lua | 26 | 1335 | -- Tests for egyptian_fractions.lua
local egypt = require 'egyptian_fractions'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass =... | mit |
Arcscion/Shadowlyre | scripts/globals/items/ear_of_roasted_corn.lua | 12 | 1265 | -----------------------------------------
-- ID: 4415
-- Item: ear_of_roasted_corn
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 6
-- Dexterity -1
-- Vitality 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Port_Windurst/Zone.lua | 12 | 2515 | -----------------------------------
--
-- Zone: Port_Windurst (240)
--
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/globals/zone");
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/TextIDs");
--------------------------------... | gpl-3.0 |
jono659/enko | scripts/zones/Behemoths_Dominion/mobs/Behemoth.lua | 8 | 1648 | -----------------------------------
-- Area: Behemoth's Dominion
-- HNM: Behemoth
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
--------------------... | gpl-3.0 |
siktirmirza/croco | plugins/plugins.lua | 1 | 5884 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/globals/weaponskills/sturmwind.lua | 25 | 1558 | -----------------------------------
-- Sturmwind
-- Great Axe weapon skill
-- Skill level: 70
-- Delivers a two-hit attack. Attack varies with TP.
-- Will stack with Sneak Attack, but only the first hit.
-- Aligned with the Soil Gorget & Aqua Gorget.
-- Aligned with the Soil Belt & Aqua Belt.
-- Element: None
-- Modifi... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Chamber_of_Oracles/bcnms/through_the_quicksand_caves.lua | 3 | 1962 | -----------------------------------
-- Area: Qu'Bia Arena
-- Name: Zilart Mission 6
-- !pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems")... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/spells/bluemagic/light_of_penance.lua | 4 | 2359 | -----------------------------------------
-- Spell: Light of Penance
-- Reduces an enemy's TP. Additional effect: Blindness and "Bind"
-- Spell cost: 53 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Light)
-- Blue Magic Points: 5
-- Stat Bonus: CHR+1, HP+15
-- Level: 58
-- Casting Time: 3 seconds
-- Recast Time:... | gpl-3.0 |
jono659/enko | scripts/zones/Bastok_Mines/npcs/Proud_Beard.lua | 30 | 1726 | -----------------------------------
-- 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... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/commands/getmobaction.lua | 8 | 1116 | ---------------------------------------------------------------------------------------------------
-- func: getmobaction
-- desc: Prints mob's current action to the command user.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
pa... | gpl-3.0 |
zzh442856860/skynet-Note | lualib/snax/hotfix.lua | 21 | 2186 | local si = require "snax.interface"
local io = io
local hotfix = {}
local function envid(f)
local i = 1
while true do
local name, value = debug.getupvalue(f, i)
if name == nil then
return
end
if name == "_ENV" then
return debug.upvalueid(f, i)
end
i = i + 1
end
end
local function collect_uv(f , ... | mit |
Arcscion/Shadowlyre | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ef.lua | 17 | 3743 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #2 (F out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/mobskills/pinning_shot.lua | 33 | 1044 | ---------------------------------------------
-- Pinning Shot
--
-- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Bind
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown
-- Notes: Used only by Medusa.
------------------------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/weaponskills/jishnus_radiance.lua | 10 | 1694 | -----------------------------------
-- Jishnu's Radiance
-- Archery weapon skill
-- Skill level: 357
-- Empyrean Weapon Skill
-- RNG Main Job Required
-- Aligned with the Thunder & Breeze Gorget.
-- Aligned with the Thunder Belt & Breeze Belt.
-- Element:
-- Modifiers: DEX:60%
-- 100%TP 200%TP 300%TP
-- 1.75 ... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/broiled_trout.lua | 12 | 1385 | -----------------------------------------
-- ID: 4587
-- Item: Broiled Trout
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -1
-- Ranged ATT % 14 (cap 55)
-----------------------------------------
require("scripts/globals/status");
-----------------------------------... | gpl-3.0 |
spawnazzo/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-format.lua | 80 | 3636 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
Arcscion/Shadowlyre | scripts/zones/Lebros_Cavern/IDs.lua | 67 | 1719 | Lebros = {
text = {
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6376, -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6379, -- Obtained: <item>
GIL_OBTAINED = 6380, -- Obtained <number> gil
KEYITEM_OBTAINED = 6382, -- Obtained... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/slice_of_roast_mutton.lua | 12 | 1390 | -----------------------------------------
-- ID: 4437
-- Item: slice_of_roast_mutton
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-----------------------------------------
require("scripts/globals/status");
---------------... | gpl-3.0 |
jono659/enko | scripts/globals/weaponskills/rampage.lua | 30 | 1464 | -----------------------------------
-- Rampage
-- Axe weapon skill
-- Skill level: 175
-- Delivers a five-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:50%
-- 100%TP 2... | gpl-3.0 |
maysam0111/nn | plugins/banhammer.lua | 2 | 12532 |
local function pre_process(msg)
local data = load_data(_config.moderation.data)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Che... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Windurst_Woods/npcs/HomePoint#5.lua | 3 | 1263 | -----------------------------------
-- Area: Windurst Woods
-- NPC: HomePoint#5
-- !pos -43.5 0 -145 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/TextIDs");
require("scripts/globals/hom... | gpl-3.0 |
jono659/enko | scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua | 17 | 5025 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Fossil Rock
-- Used in Mission: Windurst Mission 2-1
-- @pos 17 18 184 198 + <many pos>
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
gauravkaul/likwid | src/applications/likwid-topology.lua | 7 | 16132 | #!<PREFIX>/bin/likwid-lua
--[[
* =======================================================================================
*
* Filename: likwid-topology.lua
*
* Description: A application to determine the thread and cache topology
* on x86 processors.
*
* Version: <VERSION>
... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Kazham/npcs/Hari_Pakhroib.lua | 29 | 3020 | -----------------------------------
-- Area: Kazham
-- NPC: Hari Pakhroib
-- Starts and Finishes Quest: Greetings to the Guardian
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/globals/t... | gpl-3.0 |
jono659/enko | scripts/globals/items/mutton_enchilada.lua | 35 | 1730 | -----------------------------------------
-- ID: 4348
-- Item: mutton_enchilada
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 3
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 35
-- Ranged ATT % 27
-- Ranged ATT Cap 35
---------------------... | gpl-3.0 |
imanmafi/Algorithm-Implementations | Move_To_Front_Transform/Lua/Yonaba/mtf_test.lua | 26 | 1524 | -- Tests for mtf.lua
local mtf = require 'mtf'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status = ok... | mit |
n1ghtmare/Algorithm-Implementations | Move_To_Front_Transform/Lua/Yonaba/mtf_test.lua | 26 | 1524 | -- Tests for mtf.lua
local mtf = require 'mtf'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status = ok... | mit |
jono659/enko | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_GK.lua | 27 | 1373 | -----------------------------------
-- Area: LaLoff Amphitheater
-- NPC: Ark Angel GK
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-----------------------------------
-- TODO: Allegedly has a 12 hp/sec regen. Determine if true, and add to onMobInitialize if so.... | gpl-3.0 |
jono659/enko | scripts/zones/Northern_San_dOria/npcs/Aivedoir.lua | 38 | 1026 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Aivedoir
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -123.119 7.999 134.490
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs")... | gpl-3.0 |
N0U/Zero-K | effects/disarmmissile_explosion.lua | 6 | 4141 | -- empmissile_explosion
-- based on gundam_powerplant_explosion.lua
return {
["disarmmissile_explosion"] = {
-- electric1 = {
-- air = true,
-- class = [[heatcloud]],
-- count = 3,
-- ground = true,
-- water = true,
... | gpl-2.0 |
jono659/enko | scripts/globals/abilities/drain_samba_ii.lua | 10 | 1470 | -----------------------------------
-- Ability: Drain Samba II
-- Inflicts the next target you strike with Drain Daze, allowing all those engaged in battle with it to drain its HP.
-- Obtained: Dancer Level 35
-- TP Required: 25%
-- Recast Time: 1:00
-- Duration: 1:30
-----------------------------------
requ... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Sauromugue_Champaign/mobs/Tabar_Beak.lua | 3 | 1037 | -----------------------------------
-- Area: Sauromugue Champaign
-- MOB: Tabar Beak
-----------------------------------
require("scripts/globals/fieldsofvalor");
require("scripts/zones/Sauromugue_Champaign/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMo... | gpl-3.0 |
jono659/enko | scripts/zones/Southern_San_dOria/npcs/Raminel.lua | 18 | 4705 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Raminel
-- Involved in Quests: Riding on the Clouds
-- @zone 230
-- @pos -56 2 -21
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
jono659/enko | scripts/zones/Ordelles_Caves/npcs/qm5.lua | 9 | 1421 | -----------------------------------
-- Area: Ordelles Caves
-- NPC: ??? (qm5)
-- Involved In Quest: Dark Puppet
-- @pos -92 -28 -70 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
adib1380/anti | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
wissam3/bot.ahvaz | plugins/soper.lua | 3 | 80806 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ Orders : الاوامر ▀▄ ▄▀
▀▄... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Beaucedine_Glacier_[S]/npcs/Gray_Colossus_LC.lua | 3 | 1083 | -----------------------------------
-- 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_[S... | gpl-3.0 |
adib1380/anti | bot/bot.lua | 34 | 7073 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Lower_Jeuno/npcs/Creepstix.lua | 17 | 1579 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Creepstix
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTra... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.