repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
N0U/Zero-K
gamedata/explosions_post.lua
17
1247
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- Load CA's effects from ./effects and not ./gamedata/explosions -- local luaFiles = VFS.DirList('effects', '*.lua', '*.tdf') --couldn't be arsed to con...
gpl-2.0
Arcscion/Shadowlyre
scripts/commands/mp.lua
22
1359
--------------------------------------------------------------------------------------------------- -- func: mp <amount> <player> -- desc: Sets the GM or target players mana. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, paramet...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/weaponskills/rock_crusher.lua
23
1258
----------------------------------- -- Rock Crusher -- Staff weapon skill -- Skill Level: 40 -- Delivers an earth elemental attack. Damage varies with TP. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: Earth -- Modifiers: STR:40% ; INT:40% -- 100%TP 200%TP 300%TP -- 1.00 2....
gpl-3.0
jono659/enko
scripts/globals/items/skewer_of_m&p_chicken.lua
36
1336
----------------------------------------- -- ID: 5639 -- Item: Skewer of M&P Chicken -- Food Effect: 3Min, All Races ----------------------------------------- -- Strength 5 -- Intelligence -5 -- Attack % 25 -- Attack Cap 154 ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Bastok_Markets/npcs/Ken.lua
3
1436
----------------------------------- -- Area: Bastok Markets -- NPC: Ken -- Type: Quest NPC -- !pos -340.857 -11.003 -149.008 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/...
gpl-3.0
MRunFoss/skynet
lualib/sharemap.lua
78
1496
local stm = require "stm" local sprotoloader = require "sprotoloader" local sproto = require "sproto" local setmetatable = setmetatable local sharemap = {} function sharemap.register(protofile) -- use global slot 0 for type define sprotoloader.register(protofile, 0) end local sprotoobj local function loadsp() if ...
mit
imanmafi/Algorithm-Implementations
Derivative/Lua/Yonaba/derivative_test.lua
26
1356
-- Tests for derivative.lua local drv = require 'derivative' 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 loc...
mit
N0U/Zero-K
LuaRules/Gadgets/game_resign.lua
4
1685
function gadget:GetInfo() return { name = "Resign Gadget", desc = "Resign stuff", author = "KingRaptor", date = "2012.5.1", license = "Public domain", layer = 0, enabled = true, } end if (not gadgetHandler:IsSyncedCode()) then return end local spGetPlayerInfo = Spring.GetPlayerInfo local spKillTeam...
gpl-2.0
jono659/enko
scripts/zones/Lower_Delkfutts_Tower/npcs/_544.lua
16
1666
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Notes: Door opens when you trade Delkfutt Key to it -- @pos 345 0.1 20 184 ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
vmax-feihu/hue
tools/wrk-scripts/lib/cookie.lua
22
2724
-- The MIT License (MIT) -- -- Copyright (c) 2014 Cyril David <cyx@cyx.is> -- -- 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 without limitation the rights...
apache-2.0
N0U/Zero-K
scripts/turretlaser.lua
5
2533
local base = piece 'base' local body = piece 'body' local barrel = piece 'barrel' local turret = piece 'turret' local flare = piece 'flare' --linear constant 163840 include "constants.lua" include "pieceControl.lua" include "aimPosTerraform.lua" -- Signal definitions local SIG_AIM = 2 local function RestoreAfte...
gpl-2.0
sbabic/swupdate
suricatta/suricatta.lua
1
13756
--[[ SWUpdate Suricatta Lua Module. Interface specification for the Lua module provided by the "Suricatta Lua module" suricatta "server" (suricatta/server_lua.c). Author: Christian Storm <christian.storm@siemens.com> Copyright (C) 2022, Siemens AG SPDX-License-Identifier: GPL-2.0-or-later -...
gpl-2.0
jono659/enko
scripts/zones/Lower_Jeuno/npcs/Ruslan.lua
37
2004
----------------------------------- -- Area: Lower Jeuno -- NPC: Ruslan -- Involved In Quest: Wondering Minstrel -- Working 100% -- @zone = 245 -- @pos = -19 -1 -58 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
markofu/scripts
nmap/nmap/nselib/comm.lua
2
8960
--- -- Common communication functions for network discovery tasks like -- banner grabbing and data exchange. -- -- The functions in this module return values appropriate for use with -- exception handling via <code>nmap.new_try</code>. -- -- These functions may be passed a table of options, but it's not required. The -...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/The_Eldieme_Necropolis/npcs/qm1.lua
3
1637
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: ??? -- Involved in Quests: Acting in Good Faith -- @zone 195 -- !pos -17 0 59 (I-10) -- !pos -- !pos -- !pos ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------...
gpl-3.0
jono659/enko
scripts/zones/Tavnazian_Safehold/npcs/qm2.lua
19
1697
----------------------------------- -- Area: Tavnazian Safehold -- NPC: ??? -- Involved in Quest: Unforgiven -- @zone 26 -- @pos 110.714 -40.856 -53.154 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs") requ...
gpl-3.0
The-Animatronic-Development/Dont-Starve-Foxy
Files/modmain.lua
1
2544
PrefabFiles = { "foxy", "hook", } Assets = { Asset( "IMAGE", "images/saveslot_portraits/foxy.tex" ), Asset( "ATLAS", "images/saveslot_portraits/foxy.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/foxy.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/foxy.xml" ), Asset( "IMAGE", "...
gpl-2.0
N0U/Zero-K
LuaRules/Configs/StartBoxes/Deserted Third v4.lua
11
4722
return { [0] = { boxes = { { {1758, 395}, {1748, 391}, {1737, 392}, {1727, 394}, {1716, 396}, {1688, 401}, {1637, 409}, {1614, 412}, {1590, 412}, {1554, 408}, {1527, 407}, {1499, 413}, {1454, 424}, {1415, 439}, {1350, 468}, {1321, 486}, {1305, 50...
gpl-2.0
MRunFoss/skynet
test/testpipeline.lua
27
1255
local skynet = require "skynet" local redis = require "redis" local conf = { host = "127.0.0.1", port = 6379, db = 0 } local function read_table(t) local result = { } for i = 1, #t, 2 do result[t[i]] = t[i + 1] end return result end skynet.start(function() local db = redis.connect(conf) db.pipelini...
mit
Arcscion/Shadowlyre
scripts/zones/Windurst_Waters_[S]/npcs/Mhoti_Pyiahrs.lua
3
1057
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Mhoti Pyiahrs -- Type: Allegiance -- @zone 94 -- !pos 6.356 -2 26.677 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -------...
gpl-3.0
jono659/enko
scripts/globals/weaponskills/tachi_shoha.lua
30
1753
----------------------------------- -- Tachi: Shoha -- Great Katana weapon skill -- Skill Level: 357 -- Delivers a two-hit attack. Damage varies with TP. -- To obtain Tachi: Shoha, the quest Martial Mastery must be completed and it must be purchased from the Merit Points menu. -- Suspected to have an Attack Bonus...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Sacrificial_Chamber/bcnms/amphibian_assault.lua
19
1761
----------------------------------- -- Area: Sacrificial Chamber -- Name: Amphibian Assualt -- BCNM60 ----------------------------------- package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Sacrificial_Chamber/TextIDs"); ---------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Toraimarai_Canal/npcs/Tome_of_Magic.lua
3
1838
----------------------------------- -- Area: Toraimarai Canal -- NPC: Tome of Magic ( Needed for Mission ) -- Involved In Windurst Mission 7-1 -- @zone 169 -- !pos 142 13 -13 169 <many> ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; require("scripts/zones/Toraimarai...
gpl-3.0
jono659/enko
scripts/zones/Sauromugue_Champaign_[S]/npcs/Cavernous_Maw.lua
13
1456
----------------------------------- -- Area: Sauromugue Champaign [S] -- NPC: Cavernous Maw -- @pos 369 8 -227 98 -- Teleports Players to Sauromugue_Champaign ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil; ----------------------------------- requir...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua
3
2494
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Worn Book -- Getting "Old Rusty Key (keyitem)" -- !pos 59 0 19 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); re...
gpl-3.0
joewalker/prosody-modules
mod_listusers/mod_listusers.lua
34
2522
function module.command(args) local action = table.remove(args, 1); if not action then -- Default, list registered users local data_path = CFG_DATADIR or "data"; if not pcall(require, "luarocks.loader") then pcall(require, "luarocks.require"); end local lfs = require "lfs"; function decode...
mit
Arcscion/Shadowlyre
scripts/globals/items/chocolate_cake.lua
12
1428
----------------------------------------- -- ID: 5633 -- Item: Chocolate Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- MP +3% (cap 90) -- HP Recovered while healing +1 -- MP Recovered while healing +6 ----------------------------------------- require("scripts/...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/RuLude_Gardens/npcs/Dugga.lua
3
1050
---------------------------------- -- Area: Ru'Lude Gardens -- NPC: Dugga -- Type: Item Deliverer -- @zone 243 -- !pos -55.429 5.999 1.27 -- ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; require("scripts/zones/RuLude_Gardens/TextIDs"); --------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Labyrinth_of_Onzozo/TextIDs.lua
3
1092
-- 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
N0U/Zero-K
gamedata/modularcomms/weapons/aamissile.lua
5
1426
local name = "commweapon_aamissile" local weaponDef = { name = [[AA Missile]], areaOfEffect = 48, canattackground = false, cegTag = [[missiletrailblue]], craterBoost = 1, craterMult = 2, cylinderTargeting = 1, customParams ...
gpl-2.0
jono659/enko
scripts/zones/RuLude_Gardens/npcs/Tillecoe.lua
38
1037
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Tillecoe -- Type: Standard NPC -- @zone: 243 -- @pos 38.528 -0.997 -6.363 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ------------...
gpl-3.0
jono659/enko
scripts/zones/Tavnazian_Safehold/npcs/Meret.lua
19
5479
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Meret -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/zones/Tavnazian_Safeho...
gpl-3.0
N0U/Zero-K
effects/gundam_electric_explosion2.lua
25
4467
-- electric_explosion2 return { ["electric_explosion2"] = { dirt = { count = 4, ground = true, properties = { alphafalloff = 2, alwaysvisible = true, color = [[0.2, 0.1, 0.05]], pos = [[r-10 r10, 0, ...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Windurst_Walls/npcs/Kalupa-Tawalupa.lua
17
2408
----------------------------------- -- Area: Windurst Walls -- Location: X:-90 Y:-9 Z:109 -- NPC: Kalupa-Tawalupa -- Working 100% -- Involved in Quest: To Bee or Not to Bee? ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); -------------------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Konschtat_Highlands/mobs/Highlander_Lizard.lua
19
1385
----------------------------------- -- Area: Konschtat Highlands -- NM: Highlander Lizard ----------------------------------- require("scripts/globals/status"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitial...
gpl-3.0
ANONYMOUSE4/DevABBAS_ALSAIDI
plugins/lock_join.lua
1
1335
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY ABBAS ALSAIDI ▀▄ ▄▀ ▀▄ ▄▀ WRITER ABBAS ▀▄ ▄▀ ▀▄ ▄▀ Dev@Abbas9_9 ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄▀▀▄▄▀...
gpl-2.0
jono659/enko
scripts/zones/Quicksand_Caves/npcs/_5s3.lua
19
1274
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -694 0 -420 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Cav...
gpl-3.0
jono659/enko
scripts/zones/Bastok_Mines/npcs/HomePoint#1.lua
12
1253
----------------------------------- -- Area: Bastok Mines -- NPC: HomePoint#1 -- @pos 39.189 0.001 -42.618 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Mines/TextIDs"); require("scripts...
gpl-3.0
srvz/telegram-bot
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
dacap/loseface
scripts/create_patterns.lua
1
3029
-- Lose Face - An open source face recognition project -- Copyright (C) 2008-2010 David Capello -- All rights reserved. -- -- Description: -- This script defines a function to convert a image-matrix in MLP -- patterns ready-to-use (to train and to test the neural network) -- -- Usage: -- You cannot use this scrip...
mit
Arcscion/Shadowlyre
scripts/zones/The_Ashu_Talif/mobs/Gessho.lua
10
2710
----------------------------------- -- Area: The Ashu Talif (The Black Coffin) -- MOB: Gessho -- TOAU-15 Mission Battle ----------------------------------- local TheAshuTalif = require("scripts/zones/The_Ashu_Talif/IDs"); require("scripts/globals/allyassist"); require("scripts/globals/instance"); require("scripts/glo...
gpl-3.0
jono659/enko
scripts/zones/Al_Zahbi/npcs/Banjanu.lua
38
1025
----------------------------------- -- Area: Al Zahbi -- NPC: Banjanu -- Type: Standard NPC -- @zone: 48 -- @pos -75.954 0.999 105.367 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
jono659/enko
scripts/zones/Aht_Urhgan_Whitegate/npcs/Furious_Boulder.lua
34
1040
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Furious Boulder -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); --...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/mobskills/trembling.lua
37
1114
--------------------------------------------- -- Trembling -- -- Description: Deals physical damage to enemies within an area of effect. Additional effect: Dispel -- Type: Physical -- Wipes Shadows -- Range: 10' radial --------------------------------------------- require("scripts/globals/settings"); require("scri...
gpl-3.0
N0U/Zero-K
LuaUI/Widgets/gfx_color_blindness_correction.lua
5
4004
function widget:GetInfo() return { name = "Color Blindness Correction", version = 1.0, desc = "Corrects a screen colors for color-blinded people", author = "ivand", date = "2017", license = "GPL", layer = math.huge, --wanna draw last enabled = true } end options_path = "Se...
gpl-2.0
jono659/enko
scripts/zones/Rolanberry_Fields/npcs/Saarlan.lua
10
8608
----------------------------------- -- Area: Rolanberry Fields -- NPC: Saarlan -- Legion NPC -- @pos 242 24.395 468 ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/g...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/mobskills/polar_blast.lua
33
1412
--------------------------------------------- -- Polar Blast -- -- Description: Deals Ice damage to enemies within a fan-shaped area. Additional effect: Paralyze -- Type: Breath -- Ignores Shadows -- Range: Unknown Cone --------------------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
jono659/enko
scripts/zones/Metalworks/npcs/Lorena.lua
10
2527
----------------------------------- -- Area: Metalworks -- NPC: Lorena -- Type: Blacksmithing Guildworker's Union Representative -- @zone: 237 -- @pos -104.990 1 30.995 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("scripts/zones/Metalworks/TextIDs"); requir...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Norg/npcs/Muzaffar.lua
3
3289
----------------------------------- -- Area: Norg -- NPC: Muzaffar -- Standard Info NPC -- Quests: Black Market -- !pos 16.678, -2.044, -14.600 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Norg/TextIDs"); require(...
gpl-3.0
jono659/enko
scripts/zones/Windurst_Waters_[S]/npcs/Kocco_Ehllek.lua
38
1053
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Kocco Ehllek -- Type: Quest Giver -- @zone: 94 -- @pos -41.465 -2.125 -163.018 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
jono659/enko
scripts/zones/Valkurm_Dunes/npcs/qm4.lua
37
1033
----------------------------------- -- Area: Valkurm Dunes -- NPC: qm4 (???) -- Involved in quest: Pirate's Chart -- @pos -160 4 -131 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Valkurm_Dunes/TextIDs");...
gpl-3.0
N0U/Zero-K
scripts/turretaalaser.lua
5
3583
include "constants.lua" include "pieceControl.lua" local base, body, aim = piece('base', 'body', 'aim') local door1, door2, hinge1, hinge2 = piece('door1', 'door2', 'hinge1', 'hinge2') local turret, launcher, firep1, firep2 = piece('turret', 'launcher', 'firep1', 'firep2') local explodables1 = {turret, hinge1, hinge2...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Windurst_Waters/npcs/Koko_Lihzeh.lua
3
1848
----------------------------------- -- Area: Windurst Waters -- NPC: Koko Lihzeh -- Involved in Quest: Making the Grade, Riding on the Clouds -- @zone 238 -- !pos 135 -6 162 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
N0U/Zero-K
lups/ParticleClasses/ShieldSphereColor.lua
5
5912
-- $Id: ShieldSphereColor.lua 3171 2008-11-06 09:06:29Z det $ ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- local ShieldSphereColorPartic...
gpl-2.0
The-Animatronic-Development/Dont-Starve-Foxy
Files/scripts/prefabs/foxy.lua
1
3654
local MakePlayerCharacter = require "prefabs/player_common" local assets = { Asset( "ANIM", "anim/player_basic.zip" ), Asset( "ANIM", "anim/player_idles_shiver.zip" ), Asset( "ANIM", "anim/player_actions.zip" ), Asset( "ANIM", "anim/player_actions_axe.zip" ), Asset( "ANIM", "...
gpl-2.0
jono659/enko
scripts/zones/Port_San_dOria/npcs/Auvare.lua
19
1428
----------------------------------- -- Area: Port San d'Oria -- NPC: Auvare -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require("scripts/zones/Port_San_dOria/TextIDs"); ----------------------------------- -- onTrade Action ---------...
gpl-3.0
jono659/enko
scripts/globals/spells/bluemagic/sandspray.lua
3
1429
----------------------------------------- -- Spell: Sandspray -- Blinds enemies within a fan-shaped area originating from the caster -- Spell cost: 43 MP -- Monster Type: Beastmen -- Spell Type: Magical (Dark) -- Blue Magic Points: 2 -- Stat Bonus: VIT+1 -- Level: 66 -- Casting Time: 3 seconds -- Recast Time:...
gpl-3.0
jono659/enko
scripts/zones/Bibiki_Bay/TextIDs.lua
2
2478
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory. ITEM_OBTAINED = 6382; -- Obtained: <item>. GIL_OBTAINED = 6383; -- Obtained <number> gil. KEYITEM_OBTAINED = 6385; -- Obt...
gpl-3.0
sbodenstein/nn
SparseJacobian.lua
61
8618
nn.SparseJacobian = {} function nn.SparseJacobian.backward (module, input, param, dparam) local doparam = 0 if param then doparam = 1 end -- output deriv module:forward(input) local dout = module.output.new():resizeAs(module.output) -- 1D view local sdout = module.output.new(dout:stor...
bsd-3-clause
badboyam/tukhabbebinigithubemano
plugins/stats.lua
236
3989
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
markofu/scripts
nmap/nmap/nselib/natpmp.lua
8
5162
--- -- This library implements the basics of NAT-PMP as described in the -- NAT Port Mapping Protocol (NAT-PMP) draft: -- o http://tools.ietf.org/html/draft-cheshire-nat-pmp-03 -- -- -- @author "Patrik Karlsson <patrik@cqure.net>" -- local bin = require "bin" local ipOps = require "ipOps" local nmap = require "nmap" ...
gpl-2.0
jono659/enko
scripts/zones/Arrapago_Reef/npcs/Meyaada.lua
12
2064
----------------------------------- -- Area: Arrapago Reef -- NPC: Meyaada -- @pos 22.446 -7.920 573.390 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missio...
gpl-3.0
ShreniiNepal/shrenii_lmp
lib/canvas/request_throttle/increment_bucket.lua
43
1169
local cache_key = KEYS[1] local amount = tonumber(ARGV[1]) local current_time = tonumber(ARGV[2]) local outflow = tonumber(ARGV[3]) local maximum = tonumber(ARGV[4]) -- Our modified leaky bucket algorithm is explained in lib/canvas/request_throttle.rb local leak = function(count, last_touched, current_time, outflow) ...
agpl-3.0
Arcscion/Shadowlyre
scripts/zones/Abyssea-Vunkerl/npcs/qm16.lua
3
1547
----------------------------------- -- Zone: Abyssea-Vunkerl -- NPC: qm16 (???) -- Spawns Karkadann -- !pos ? ? ? 217 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- ...
gpl-3.0
sgerguri/mal
lua/step9_try.lua
40
5971
#!/usr/bin/env lua local table = require('table') local readline = require('readline') local utils = require('utils') local types = require('types') local reader = require('reader') local printer = require('printer') local Env = require('env') local core = require('core') local List, Vector, HashMap = types.List, typ...
mpl-2.0
Arcscion/Shadowlyre
scripts/zones/Leujaoam_Sanctum/instances/leujaoam_cleansing.lua
1
2517
----------------------------------- -- -- Assault: Leujaoam Cleansing -- ----------------------------------- require("scripts/globals/instance") local Leujaoam = require("scripts/zones/Leujaoam_Sanctum/IDs"); ----------------------------------- -- afterInstanceRegister ----------------------------------- function ...
gpl-3.0
LouisK130/Orange-Cosmos-Roleplay
ocrp/gamemode/shared/sh_cars.lua
1
104666
-- Note that OtherName must match the table key -- I don't think this was initially the case, but that's an easy way to get car ID from only the table values GM.OCRP_Cars = {} GM.OCRP_Cars["BUGATTI_EB110"] = { Name = "Bugatti EB110", OtherName = "BUGATTI_EB110", Desc = "Woke up in a new THIS", Script ...
mit
jono659/enko
scripts/zones/Bastok_Markets/Zone.lua
28
2870
----------------------------------- -- -- Zone: Bastok_Markets (235) -- ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/events/harvest_festivals"); require("scrip...
gpl-3.0
jono659/enko
scripts/globals/spells/phalanx_ii.lua
13
1171
----------------------------------------- -- Spell: PHALANX -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Phalanx II value per point is '3' This is a constant set in the table 'merits' ----------------------------------------- require("scripts/globa...
gpl-3.0
jsharf/mal
lua/step3_env.lua
3
2410
#!/usr/bin/env lua local table = require('table') local readline = require('readline') local utils = require('utils') local types = require('types') local reader = require('reader') local printer = require('printer') local Env = require('env') local List, Vector, HashMap = types.List, types.Vector, types.HashMap -- ...
mpl-2.0
N0U/Zero-K
LuaUI/Widgets/unit_terraform_draw.lua
6
3484
function widget:GetInfo() return { name = "Terraform Icon Draw", desc = "Draws terraform unit icon", author = "ivand", date = "2017", license = "GNU GPL, v2 or later", layer = -10, enabled = true, alwaysStart = true, } end ----------------------------------...
gpl-2.0
Arcscion/Shadowlyre
scripts/globals/spells/graviga.lua
5
1151
----------------------------------------- -- Spell: Gravity ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end; func...
gpl-3.0
coronalabs/framework-storyboard-legacy
storyboard.lua
1
51015
-- Copyright © 2013 - 2014 Corona Labs Inc. All Rights Reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright -- notice, this list...
bsd-3-clause
N0U/Zero-K
LuaRules/Configs/cai/strategies.lua
20
7579
--[[ example buildTasksMods buildTasksMods = function(buildConfig) buildConfig.robots.factoryByDefId[UnitDefNames['factorycloak'].id].importance = 0 buildConfig.robots.factoryByDefId[UnitDefNames['factoryshield'].id].importance = 1 buildConfig.robots.factoryByDefId[UnitDefNames['factoryveh'].id].importance =...
gpl-2.0
Arcscion/Shadowlyre
scripts/globals/msg.lua
1
17527
------------------------------------------------------------------------ -- This file holds all global (not zone specific) text references ------------------------------------------------------------------------ ------------------------------------ -- Chat types ------------------------------------ chatType = { ...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Abyssea-Tahrongi/npcs/qm18.lua
3
1566
----------------------------------- -- Zone: Abyssea-Tahrongi -- NPC: ??? -- Spawns Lacovie -- !pos ? ? ? 45 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- function...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Upper_Jeuno/npcs/Laila.lua
3
10452
----------------------------------- -- Area: Upper Jeuno -- NPC: Laila -- Type: Job Quest Giver -- @zone 244 -- !pos -54.045 -1 100.996 -- --TODO-- -- make sure the surrounding npcs react to the player accordingly after each quest. There are a few event IDs that I don't recall using -- make global variables for all ...
gpl-3.0
jono659/enko
scripts/zones/Aht_Urhgan_Whitegate/npcs/Iruki-Waraki.lua
38
2851
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Iruki-Waraki -- Type: Standard NPC -- Involved in quest: No Strings Attached -- @pos 101.329 -6.999 -29.042 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; -------------------------...
gpl-3.0
MRAHS/PRIDEplus
plugins/linkpv.lua
66
30275
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/Buburimu_Peninsula/npcs/Hieroglyphics.lua
19
2413
----------------------------------- -- Area: Buburimu_Peninsula -- NPC: Hieroglyphics -- Dynamis Buburimu_Dunes Enter -- @pos 117 -10 133 172 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/spells/absorb-vit.lua
4
1561
-------------------------------------- -- Spell: Absorb-VIT -- Steals an enemy's vitality. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function ...
gpl-3.0
jono659/enko
scripts/globals/campaign.lua
10
4902
----------------------------------------------------------------- -- Variable for getNationTeleport and getPoint ----------------------------------------------------------------- ALLIED_NOTES = 11; MAW = 4; PAST_SANDORIA = 5; PAST_BASTOK = 6; PAST_WINDURST = 7; -- ---------------------------------------...
gpl-3.0
jono659/enko
scripts/commands/cnation.lua
26
1234
--------------------------------------------------------------------------------------------------- -- func: @cnation <target> <campaign allegiance> -- desc: check or alter target characters campaign allegiance --------------------------------------------------------------------------------------------------- cmd...
gpl-3.0
jono659/enko
scripts/zones/Misareaux_Coast/npcs/_0p3.lua
34
1082
----------------------------------- -- Area: Misareaux Coast -- NPC: Dilapidated Gate -- Notes: Entrance to Misareaux Coast ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require(...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/items/bottle_of_hallowed_water.lua
4
1584
----------------------------------------- -- ID: 5306 -- Item: Bottle of Hallowed Water -- Item Effect: Removes curse. Better chance to remove doom. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/msg"); function onItemCheck(tar...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Altar_Room/npcs/Magicite.lua
3
1651
----------------------------------- -- Area: Altar Room -- NPC: Magicite -- Involved in Mission: Magicite -- !pos -344 25 43 152 ----------------------------------- package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Bastok_Mines/npcs/HomePoint#2.lua
3
1305
----------------------------------- -- Area: Bastok Mines -- NPC: HomePoint#2 -- !pos 118 1 -58 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; package.loaded["scripts/globals/homepoint"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Mi...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Northern_San_dOria/npcs/Pagisalis.lua
3
3075
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pagisalis -- Involved In Quest: Enveloped in Darkness -- @zone 231 -- !pos ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings...
gpl-3.0
jono659/enko
scripts/globals/items/slice_of_dragon_meat.lua
17
1347
----------------------------------------- -- ID: 4272 -- Item: slice_of_dragon_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 6 -- Intelligence -8 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
jono659/enko
scripts/zones/Tavnazian_Safehold/npcs/Resauchamet.lua
19
1057
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Resauchamet -- Standard Info NPC ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --------------------------------...
gpl-3.0
arowser/wireshark-xcoin
test/lua/dissector.lua
1
21066
---------------------------------------- -- script-name: dns_dissector.lua -- author: Hadriel Kaplan <hadrielk at yahoo dot com> -- Copyright (c) 2014, Hadriel Kaplan -- This code is in the Public Domain, or the BSD (3 clause) license if Public Domain does not apply -- in your country. -- -- BACKGROUND: -- This is an e...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Windurst_Waters_[S]/npcs/Ranna-Brunna.lua
3
1065
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ranna-Brunna -- Type: Standard NPC -- @zone 94 -- !pos 123.085 -8.874 223.734 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
GreenFireDragon/GreenFireDragon-s-TPTMod
src/lua/socket/socket.lua
146
4061
----------------------------------------------------------------------------- -- LuaSocket helper module -- Author: Diego Nehab -- RCS ID: $Id: socket.lua,v 1.22 2005/11/22 08:33:29 diego Exp $ ----------------------------------------------------------------------------- -----------------------------------------------...
gpl-3.0
jono659/enko
scripts/zones/Bastok_Markets/npcs/Foss.lua
36
2146
----------------------------------- -- Area: Bastok Markets -- NPC: Foss -- Starts & Finishes Repeatable Quest: Buckets of Gold ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scri...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/items/moon_carrot.lua
12
1181
----------------------------------------- -- ID: 4567 -- Item: moon_carrot -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Windurst_Waters/npcs/Ness_Rugetomal.lua
17
1713
----------------------------------- -- Area: Windurst Waters -- NPC: Ness Rugetomal -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Waters/TextI...
gpl-3.0
weimingtom/moaigui
gui/awidgetevent.lua
2
1615
--[[ * The MIT License * Copyright (C) 2011 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/globals/items/flask_of_panacea.lua
70
1742
----------------------------------------- -- ID: 4163 -- Item: Panacea -- Item Effect: Removes any number of status effects ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- function onItemCh...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Open_sea_route_to_Mhaura/npcs/Sheadon.lua
3
1144
----------------------------------- -- Area: Open_sea_route_to_Mhaura -- NPC: Sheadon -- Notes: Tells ship ETA time -- !pos 0.340 -12.232 -4.120 47 ----------------------------------- package.loaded["scripts/zones/Open_sea_route_to_Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/O...
gpl-3.0
jono659/enko
scripts/zones/Lower_Jeuno/npcs/Muckvix.lua
23
1436
----------------------------------- -- Area: Lower Jeuno -- NPC: Muckvix -- Involved in Mission: Magicite -- @zone 245 -- @pos -26.824 3.601 -137.082 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); ...
gpl-3.0