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/Bastok_Mines/Zone.lua | 12 | 2795 | -----------------------------------
--
-- Zone: Bastok_Mines (234)
--
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/zone");
require("scripts/globals/settings");
require("scripts/zones/Bastok_... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Quicksand_Caves/mobs/Sagittarius_X-XIII.lua | 3 | 1100 | ----------------------------------
-- Area: Quicksand Caves
-- NM: Sagittarius X-XIII
-----------------------------------
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, player, isKiller)
-- GoV regimes requiring Antica
checkGoVregime(player,mob... | gpl-3.0 |
jono659/enko | scripts/globals/mobskills/Plague_Swipe.lua | 6 | 1148 | ---------------------------------------------
-- Plague Swipe
--
-- Description: Delivers a threefold attack in an cone effect behind user. Additional effect: Bio + Plague
-- Type: Physical
-- 2-3 Shadows
-- Range: Backward Arc
---------------------------------------------
require("/scripts/globals/settings");
req... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/hallowed_sword.lua | 5 | 1221 | -----------------------------------------
-- ID: 16550
-- Hallowed Sword
-- Additional Effect: Light Damage
-- Enchantment: "Enlight"
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------
functi... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Apollyon/mobs/Cornu.lua | 17 | 1256 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Sirins
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------... | gpl-3.0 |
jono659/enko | scripts/globals/items/prominence_axe.lua | 16 | 1409 | -----------------------------------------
-- ID: 18220
-- Item: Prominence Axe
-- Additional Effect: Fire Damage
-- Enchantment: Enfire
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Dynamis-Xarcabard/mobs/Duke_Scox.lua | 23 | 1566 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Duke Scox
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngaged(m... | gpl-3.0 |
jono659/enko | scripts/zones/Upper_Delkfutts_Tower/npcs/HomePoint#1.lua | 12 | 1223 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: HomePoint#1
-- @pos -365 -176.5 -36 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Upper_Delkfutts_Tower/TextIDs");
req... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Abyssea-Tahrongi/npcs/qm20.lua | 3 | 1904 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns Glavoid
-- !pos ? ? ? 45
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
function... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Korroloka_Tunnel/MobIDs.lua | 5 | 1100 | -----------------------------------
-- Area: Korroloka Tunnel (173)
-- Comments: -- posX, posY, posZ
-- (Taken from 'mob_spawn_points' table)
-----------------------------------
-- Cargo_Crab_Colin
Cargo_Crab_Colin = 17485980;
Cargo_Crab_Colin_PH =
{
[17486002] = '1', -- -30.384, 1.000, -33.277
[17486095] = '... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/weaponskills/dulling_arrow.lua | 10 | 1377 | -----------------------------------
-- Dulling Arrow
-- Archery weapon skill
-- Skill level: 80
-- Lowers enemy's INT. Chance of params.critical varies with TP.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifiers: STR:16% ; AGI:25%
-- 100%TP 200... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/La_Theine_Plateau/npcs/Dimensional_Portal.lua | 17 | 1389 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Dimensional Portal
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
jotson/1gam-feb2013 | zoetrope/sprites/emitter.lua | 7 | 6061 | -- Class: Emitter
-- An emitter periodically emits sprites with varying properties --
-- for example, velocity. These are set with the emitter's min and
-- max properties. For example, you could set the x velocity of
-- particles to range between -100 and 100 with these statements:
--
-- > emitter.min.velocity.x = -100... | mit |
Arcscion/Shadowlyre | scripts/zones/Meriphataud_Mountains/npcs/Akane_IM.lua | 3 | 3350 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Akane, I.M.
-- Type: Outpost Conquest Guards
-- !pos -294.470 15.806 420.117 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
jono659/enko | scripts/zones/Apollyon/mobs/Fir_Bholg.lua | 17 | 1270 | -----------------------------------
-- Area: Apollyon SW
-- NPC: Fir Bholg
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
mohammads15/bot | bot/utils.lua | 473 | 24167 | 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 |
alijoooon/melije | bot/utils.lua | 473 | 24167 | 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/... | agpl-3.0 |
jono659/enko | scripts/zones/Chateau_dOraguille/npcs/_6h0.lua | 12 | 4476 | -----------------------------------
-- Area: Chateau d'Oraguille
-- Door: Prince Royal's
-- Finishes Quest: A Boy's Dream, Under Oath
-- Involved in Missions: 3-1, 5-2, 8-2
-- @pos -38 -3 73 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
---------------... | gpl-3.0 |
spawnazzo/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk/dialzones.lua | 91 | 3529 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Jo-Philipp Wich <xm@subsignal.org>
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
$Id: trunks.l... | apache-2.0 |
Arcscion/Shadowlyre | scripts/zones/Ifrits_Cauldron/npcs/Mining_Point.lua | 17 | 1086 | -----------------------------------
-- Area: Ifrits Cauldron
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Ifrits_Cauldron/TextIDs");
-----------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Cloister_of_Flames/npcs/Fire_Protocrystal.lua | 3 | 1897 | -----------------------------------
-- Area: Cloister of Flames
-- NPC: Fire Protocrystal
-- Involved in Quests: Trial by Fire, Trial Size Trial by Fire
-- !pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/abilities/ice_shot.lua | 3 | 3370 | -----------------------------------
-- Ability: Ice Shot
-- Consumes a Ice Card to enhance ice-based debuffs. Deals ice-based magic damage
-- Frost Effect: Enhanced DoT and AGI-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");... | gpl-3.0 |
OptiPop/external_chromium_org_third_party_skia | tools/lua/paths_agg.lua | 92 | 1207 |
clips = 0
draws = 0
clipPaths = 0
drawPaths = 0
swClipPaths = 0
swDrawPaths = 0
skpsTotal = 0
skpsWithPath = 0
skpsWithSWPath = 0
dofile("/tmp/lua-output")
io.write("Number of clips: ", clips, "\n");
io.write("Number of draws: ", draws, "\n");
io.write("Number of clipped paths: ", clipPaths, "\n");
io.write("Number... | bsd-3-clause |
Arcscion/Shadowlyre | scripts/zones/Port_Windurst/npcs/Kohlo-Lakolo.lua | 16 | 11719 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kohlo-Lakolo
-- Invloved In Quests: Truth, Justice, and the Onion Way!,
-- Know One's Onions,
-- Inspector's Gadget,
-- Onion Rings,
-- Crying Over Onions,
-- ... | gpl-3.0 |
N0U/Zero-K | LuaUI/Widgets/camera_lockcamera.lua | 6 | 21078 | -- $Id$
local versionNumber = "v2.8"
function widget:GetInfo()
return {
name = "LockCamera",
desc = versionNumber .. " Allows you to lock your camera to another player's camera.\n"
.. "/luaui lockcamera_interval to set broadcast interval (minimum 0.25 s).",
author = "Evil4Zerggin",
date = "16 January 2009... | gpl-2.0 |
jono659/enko | scripts/globals/weaponskills/wasp_sting.lua | 12 | 1538 | -----------------------------------
-- Wasp Sting
-- Dagger weapon skill
-- Skill level: 5
-- Poisons target. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: : DEX:100%
-- 100%TP 200%TP 300... | gpl-3.0 |
Cyumus/GarryWare13 | gamemode/garryware_vgui_awards.lua | 1 | 5513 | PANEL.Base = "DPanel"
function PANEL:Init()
self:SetSkin( G_GWI_SKIN )
self:SetPaintBackground( false )
self:SetVisible( false )
self.colors = {}
self.colors.Background = Color(0, 0, 0, 128)
self.colors.Good = Color( 0, 164, 237 )
self.m_display = false
self.m_timehide = 0
self.dLeftPanel = vgui.Cre... | gpl-2.0 |
badboyam/tukhabbebinigithubemano | plugins/ingroup.lua | 202 | 31524 | do
local function check_member(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[tostring(msg.to.id)] = {
... | gpl-2.0 |
jono659/enko | scripts/zones/Inner_Horutoto_Ruins/npcs/Treasure_Chest.lua | 12 | 2585 | -----------------------------------
-- Area: Horutoto Ruins
-- NPC: Treasure Chest
-- @zone 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require(... | gpl-3.0 |
jono659/enko | scripts/globals/items/bowl_of_pebble_soup.lua | 36 | 1103 | -----------------------------------------
-- ID: 4455
-- Item: Bowl of Pebble Soup
-- Food Effect: 3 Hr, All Races
-----------------------------------------
-- MP Recovered while healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
jono659/enko | scripts/zones/Upper_Delkfutts_Tower/npcs/qm3.lua | 34 | 1069 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: ???
-- Notes: Teleports you to the 10th floor.
-- @pos 261 19 20 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/... | gpl-3.0 |
jono659/enko | scripts/zones/Bastok_Markets/npcs/Malene.lua | 29 | 2371 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Malene
-- Type: Quest NPC
-- @zone: 235
-- @pos -173 -4 64
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/titles");
requ... | gpl-3.0 |
siktirmirza/croco | plugins/arabic_lang.lua | 5 | 21887 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
albertz/love | src/libraries/luasocket/libluasocket/tp.lua | 146 | 3608 | -----------------------------------------------------------------------------
-- Unified SMTP/FTP subsystem
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: tp.lua,v 1.22 2006/03/14 09:04:15 diego Exp $
-----------------------------------------------------------------------------
--------------------------... | gpl-3.0 |
jono659/enko | scripts/zones/Oldton_Movalpolos/npcs/Twinkbrix.lua | 18 | 2013 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Twinkbrix
-- Type: Warp NPC
-- @pos -292.779 6.999 -263.153 11
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
jono659/enko | scripts/zones/Aht_Urhgan_Whitegate/npcs/Wazyih.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Wazyih
-- 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/globals/spells/bluemagic/hydro_shot.lua | 27 | 1796 | -----------------------------------------
-- Spell: Hydro Shot
-- Additional effect: Enmity Down. Chance of effect varies with TP
-- Spell cost: 55 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: MND+2
-- Level: 63
-- Casting Time: 0.5 seconds
-- Recast Time... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Western_Adoulin/npcs/Grevan.lua | 3 | 1821 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Grevan
-- Type: Standard NPC and Quest NPC
-- Involved With Quest: 'Order Up'
-- @zone 256
-- !pos 50 0 6 256
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
---------... | gpl-3.0 |
kostyll/node9 | fs/module/arg.lua | 3 | 3253 | -- arg.lua: this is similar to, but a higher level version of the limbo 'arg' module.
-- while it supports various low-level interfaces such as setusage and progname
-- it does not implement arg and opt, rather it performs the high-level processing
-- needed to create an option/value map accoring to the POSIX getopt in... | mit |
jono659/enko | scripts/globals/mobskills/Wire_Cutter.lua | 6 | 1079 | ---------------------------------------------------
-- Wire_Cutter
-- Single-target damage (~500-1500), absorbed by 2 Utsusemi shadows.
--
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#2.lua | 3 | 1283 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: HomePoint#2
-- !pos -130 0.001 -16 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require(... | gpl-3.0 |
abbasgh12345/extreme0 | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Temenos/mobs/Fire_Elemental.lua | 28 | 1740 | -----------------------------------
-- Area: Temenos E T
-- NPC: Fire_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------------------... | gpl-3.0 |
abbasgh12345/extreme0 | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Castle_Oztroja/npcs/_47d.lua | 3 | 1067 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47d
-- !pos 20.000 24.168 -25.000 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextIDs");
-------------------------... | gpl-3.0 |
jono659/enko | scripts/globals/items/loaf_of_white_bread.lua | 35 | 1278 | -----------------------------------------
-- ID: 4356
-- Item: loaf_of_white_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 16
-- Dexterity -1
-- Vitality 3
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
N0U/Zero-K | effects/grav.lua | 17 | 3193 | -- grav
return {
["grav"] = {
drag = {
air = true,
class = [[CSimpleParticleSystem]],
ground = true,
water = true,
properties = {
airdrag = 1,
colormap = [[1 .5 1 .1 0 0 0 0]],
direct... | gpl-2.0 |
jono659/enko | scripts/zones/Sauromugue_Champaign/npcs/Stone_Monument.lua | 32 | 1305 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 77.544 -2.746 -184.803 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Eastern_Altepa_Desert/npcs/qm.lua | 3 | 1624 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: ???
-- Involved In Quest: A Craftsman's Work
-- !pos 113 -7.972 -72 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setti... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Lower_Jeuno/npcs/Yatniel.lua | 3 | 1873 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yatniel
-- Type: Standard NPC
-- @zone 245
-- !pos -66.817 -7 -126.594
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/hamsi.lua | 12 | 1320 | -----------------------------------------
-- ID: 5449
-- Item: Hamsi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------... | gpl-3.0 |
jono659/enko | scripts/globals/items/dhalmel_steak.lua | 35 | 1391 | -----------------------------------------
-- ID: 4438
-- Item: dhalmel_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -1
-- Attack % 25
-- Attack Cap 45
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
jono659/enko | scripts/zones/West_Ronfaure/npcs/Stone_Monument.lua | 32 | 1287 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -183.734 -12.678 -395.722 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
bjtaylor1/osrm-backend | profiles/debug_example.lua | 8 | 1429 | --
-- Example of how to use debug.lua to debug profiles in a pure lua environment.
-- It makes it easy to manually set tags, run the way processing and check the result.
--
-- To use, make a copy of this file and gitignore your copy. (If you use the name ndebug.lua,
-- it's already gitignored.)
--
-- You run your copy... | bsd-2-clause |
jono659/enko | scripts/zones/Cloister_of_Frost/bcnms/trial-size_trial_by_ice.lua | 13 | 2012 | -----------------------------------
-- Area: Cloister of Frost
-- BCNM: Trial-size Trial by Ice
-- @pos 558 0.1 596 203
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/conquest.lua | 3 | 49938 | -----------------------------------
--
-- Functions for Conquest system
--
-----------------------------------
require("scripts/globals/common");
require("scripts/globals/missions");
-----------------------------------
-- convenience constants
-----------------------------------
NATION_SANDORIA = 0;
NATION_BASTO... | gpl-3.0 |
DEVASL/DEVASL-V1 | plugins/Wellcome.lua | 1 | 2879 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY YOUSIF ▀▄ ▄▀
▀▄ ▄▀ BY (@YAASU ) ▀▄ ▄▀
▀▄ ▄ BY YOUSIF ▀▄ ▄▀
▀▄ ▄▀ wolcom : ترحيب ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄... | gpl-3.0 |
jono659/enko | scripts/globals/abilities/meditate.lua | 10 | 1306 | -----------------------------------
-- Ability: Meditate
-- Gradually charges TP.
-- Obtained: Samurai Level 30
-- Recast Time: 3:00 (Can be reduced to 2:30 using Merit Points)
-- Duration: 15 seconds
-----------------------------------
require("scripts/globals/status");
-----------------------------------
--... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Nyzul_Isle/mobs/Raubahn.lua | 12 | 5371 | -----------------------------------
-- Area: Nyzul Isle (Nashmeira's Plea)
-- MOB: Raubahn
-----------------------------------
require("scripts/zones/Nyzul_Isle/IDs");
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(m... | gpl-3.0 |
jono659/enko | scripts/zones/Norg/npcs/Vuliaie.lua | 19 | 1256 | -----------------------------------
-- Area: Norg
-- NPC: Vuliaie
-- Type: Tenshodo Merchant
-- @pos -24.259 0.891 -19.556 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/sh... | gpl-3.0 |
NiLuJe/koreader-base | ffi/giflib_h.lua | 3 | 2072 | local ffi = require("ffi")
ffi.cdef[[
static const int GIF_OK = 1;
static const int GIF_ERROR = 0;
typedef int GifWord;
typedef unsigned char GifByteType;
typedef struct GifColorType GifColorType;
struct GifColorType {
GifByteType Red;
GifByteType Green;
GifByteType Blue;
};
typedef struct ColorMapObject ColorMa... | agpl-3.0 |
spawnazzo/luci | libs/core/luasrc/model/firewall.lua | 84 | 11156 | --[[
LuCI - Firewall model
Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
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 applica... | apache-2.0 |
ld-test/lustache | spec/parse_spec.lua | 4 | 11122 | local lustache = require "lustache"
expectations = {
{ template = "{{hi}}", value = { { type= "name", value= "hi", startIndex = 1, endIndex = 6} }},
{ template = "{{hi.world}}", value = { { type= "name", value= "hi.world", startIndex = 1, endIndex = 12 } ... | mit |
jono659/enko | scripts/zones/QuBia_Arena/mobs/trion.lua | 5 | 1163 | -----------------------------------
-- Area: qubia arena
-- NPC: Trion
-- the heir to the light sando 9-2
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("/scripts/zones/QuBia_Arena/TextIDs");
function onMobInitialize(mob)
mob:addMod(MOD_REGAIN, 30... | gpl-3.0 |
jono659/enko | scripts/globals/weaponskills/last_stand.lua | 30 | 1763 | -----------------------------------
-- Skill Level: 357
-- Description: Attacks once or twice, depending on remaining ammunition. Damage dealt varies with TP.
-- If the first shot of the weapon skill does enough damage to defeat the target, the second shot will not be used.
-- To obtain Last Stand, the quest Martia... | gpl-3.0 |
kostyll/node9 | fs/os/lib/pl/func.lua | 8 | 10471 | --- Functional helpers like composition, binding and placeholder expressions.
-- Placeholder expressions are useful for short anonymous functions, and were
-- inspired by the Boost Lambda library.
--
-- > utils.import 'pl.func'
-- > ls = List{10,20,30}
-- > = ls:map(_1+1)
-- {11,21,31}
--
-- They can also b... | mit |
Arcscion/Shadowlyre | scripts/globals/spells/light_carol.lua | 5 | 1506 | -----------------------------------------
-- Spell: Light Carol
-- Increases light resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
--------------------------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Southern_San_dOria_[S]/npcs/Wyatt.lua | 3 | 2081 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Wyatt
-- @zone 80
-- !pos 124 0 84
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("s... | gpl-3.0 |
jono659/enko | scripts/zones/Riverne-Site_A01/npcs/_0u3.lua | 19 | 1339 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/Text... | gpl-3.0 |
jono659/enko | scripts/zones/Marjami_Ravine/npcs/HomePoint#1.lua | 12 | 1195 | -----------------------------------
-- Area: Marjami Ravine
-- NPC: HomePoint#1
-- @pos -23 0 174 50
-----------------------------------
package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Marjami_Ravine/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
Yonaba/strictness | strictness.lua | 1 | 9004 | #!/usr/bin/env lua
------------------
-- *strictness, a "strict" mode for Lua*.
-- Source on [Github](http://github.com/Yonaba/strictness)
-- @author Roland Yonaba
-- @copyright 2013-2014
-- @license MIT
local after_Lua_5_1 = _VERSION > ('Lua 5.1.5')
local setmetatable, getmetatable = setmetatable, getmetatable
local ... | mit |
jono659/enko | scripts/zones/Sacrificial_Chamber/npcs/_4j2.lua | 12 | 1341 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos -260 -33 274 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missi... | gpl-3.0 |
monsieurzhang/OpenNMT | onmt/data/Preprocessor.lua | 2 | 14243 | --[[ Data Preparation functions. ]]
local function vecToTensor(vec)
local t = torch.Tensor(#vec)
for i = 1, #vec do
t[i] = vec[i]
end
return t
end
local Preprocessor = torch.class('Preprocessor')
local tds
local commonOptions = {
{
'-features_vocabs_prefix', '',
[[Path prefix to existing featur... | mit |
hypnoscope/let-s-code-an-indie-game | episode_29/src/logic/entity.lua | 10 | 2618 | local rectangle = require("src.math.rectangle")
local status = require("src.logic.status")
local iframes = require("src.logic.statuses.iframes")
local entity = {}
local draw = function (self, view)
if self.visible then self.sprite:draw(
view,
self.position.drawX,
self.position.drawY,
self.p... | mit |
hypnoscope/let-s-code-an-indie-game | episode_36/src/logic/entity.lua | 10 | 2618 | local rectangle = require("src.math.rectangle")
local status = require("src.logic.status")
local iframes = require("src.logic.statuses.iframes")
local entity = {}
local draw = function (self, view)
if self.visible then self.sprite:draw(
view,
self.position.drawX,
self.position.drawY,
self.p... | mit |
hypnoscope/let-s-code-an-indie-game | episode_34/src/logic/entity.lua | 10 | 2618 | local rectangle = require("src.math.rectangle")
local status = require("src.logic.status")
local iframes = require("src.logic.statuses.iframes")
local entity = {}
local draw = function (self, view)
if self.visible then self.sprite:draw(
view,
self.position.drawX,
self.position.drawY,
self.p... | mit |
hypnoscope/let-s-code-an-indie-game | episode_32/src/logic/entity.lua | 10 | 2618 | local rectangle = require("src.math.rectangle")
local status = require("src.logic.status")
local iframes = require("src.logic.statuses.iframes")
local entity = {}
local draw = function (self, view)
if self.visible then self.sprite:draw(
view,
self.position.drawX,
self.position.drawY,
self.p... | mit |
jono659/enko | scripts/zones/Cape_Teriggan/npcs/Paise_RK.lua | 28 | 3038 | -----------------------------------
-- 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("scrip... | gpl-3.0 |
jono659/enko | scripts/globals/items/serving_of_menemen_+1.lua | 35 | 1540 | -----------------------------------------
-- ID: 5587
-- Item: serving_of_menemen_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 35
-- MP 35
-- Agility 2
-- Intelligence -2
-- HP recovered while healing 2
-- MP recovered while healing 2
------------------------------------... | gpl-3.0 |
kmx/mirror-im | src/lua5/im_process.lua | 1 | 13589 |
-------------------------------------------------------------------------------
-- Creates a new function, with the name suffixed by "New". This new function
-- creates a new image, based on a source image, and calls the previous function
-- with this new image.
-- We assume here that the functions returns only one pa... | mit |
jono659/enko | scripts/zones/Bibiki_Bay/npcs/Mep_Nhapopoluko.lua | 19 | 1157 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Mep Nhapopoluko
-- Type: Guild Merchant NPC (Fishing Guild)
-- @pos 464.350 -6 752.731 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/broiled_eel.lua | 12 | 1268 | -----------------------------------------
-- ID: 4588
-- Item: Broiled Eel
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -3
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
jono659/enko | scripts/globals/spells/cure.lua | 13 | 3945 | -----------------------------------------
-- Spell: Cure
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/ma... | gpl-3.0 |
spawnazzo/luci | applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua | 44 | 1102 | --[[
LuCI hd-idle
(c) 2008 Yanira <forum-2008@email.de>
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
$Id$
]]--
require("nixio.fs")
m = Map... | apache-2.0 |
Arcscion/Shadowlyre | scripts/zones/Buburimu_Peninsula/npcs/Craigine_RK.lua | 3 | 3343 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Craigine, R.K.
-- Border Conquest Guards
-- !pos -599.903 -41.441 165.776 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conqu... | gpl-3.0 |
jono659/enko | scripts/globals/items/chunk_of_hydra_meat.lua | 18 | 1515 | -----------------------------------------
-- ID: 5564
-- Item: Chunk of Hydra Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- HP 10
-- MP -10
-- Strength +6
-- Intelligence -8
-- Demon Killer 10
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
N0U/Zero-K | LuaUI/Widgets/gui_chili_display_keys.lua | 4 | 9831 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Display Keys 2",
desc = "Displays the current key combination.",
author = "GoogleFrog",
date... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Sacrarium/mobs/Old_Professor_Mariselle.lua | 23 | 2328 | -----------------------------------
-- Area: Sacrarium
-- MOB: Old Professor Mariselle
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
end;
--... | gpl-3.0 |
spawnazzo/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-voice.lua | 80 | 1493 | --[[
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 |
jono659/enko | scripts/zones/Western_Altepa_Desert/npcs/_3h8.lua | 17 | 1899 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h8 (Sapphire Column)
-- Notes: Mechanism for Altepa Gate
-- @pos -499 10 224 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
jono659/enko | scripts/zones/Attohwa_Chasm/npcs/Excavation_Point.lua | 29 | 1108 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Excavation Point
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/excavation");
require("scripts/zones/Attohwa_Chasm/TextIDs");
... | gpl-3.0 |
MostTheBest/Nod-32 | plugins/location.lua | 93 | 1704 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Temenos/mobs/Enhanced_Ahriman.lua | 26 | 1284 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Enhanced_Ahriman
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------... | gpl-3.0 |
weimingtom/moaigui | layermgr.lua | 2 | 2902 | --[[
* The MIT License
* Copyright (C) 2012 Derick Dong (derickdong@hotmail.com). All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* with... | mit |
jono659/enko | scripts/zones/Kazham/npcs/Kukupp.lua | 19 | 3171 | -----------------------------------
-- Area: Kazham
-- NPC: Kukupp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
local path = {
43.067505, -11.000000, -177.214966,
43.583324, -11.000000, -178.104263,
... | gpl-3.0 |
jono659/enko | scripts/zones/Ifrits_Cauldron/npcs/qm4.lua | 11 | 1477 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: ???
-- Involved in Mission: Bastok 6-2
-- @pos 171 0 -25 205
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
requi... | gpl-3.0 |
jono659/enko | scripts/globals/items/fish_mithkabob.lua | 35 | 1468 | -----------------------------------------
-- ID: 4398
-- Item: fish_mithkabob
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- Mind -1
-- Defense % 25
-- Defense Cap 90
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
jono659/enko | scripts/zones/Aht_Urhgan_Whitegate/npcs/Saliyahf.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Saliyahf
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
JoseEduardo/shaykie_bot | modules/00-bot/bot_handler.lua | 2 | 1084 | --[[
@Authors: Ben Dol (BeniS)
@Details: Bot bot module handler for module registration
and control.
]]
dofile('bot.lua')
-- required by the event handler
function BotModule.getModuleId()
return "BotModule"
end
BotModule.dependencies = {
--
}
--[[ Default Options ]]
BotModule.options = {
['Bo... | mit |
jono659/enko | scripts/zones/Talacca_Cove/Zone.lua | 28 | 1314 | -----------------------------------
--
-- Zone: Talacca_Cove (57)
--
-----------------------------------
package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Talacca_Cove/TextIDs");
----------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.