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
scripts/dronecarry.lua
17
3451
include "constants.lua" local spGetUnitVelocity = Spring.GetUnitVelocity --local math = math --pieces local fuselage = piece "fuselage" local rotor1 = piece "rotor1" local rotor2 = piece "rotor2" local engineL = piece "enginel" local engineR = piece "enginer" local tailL = piece "taill" local tailR = piece "tailr" lo...
gpl-2.0
Arcscion/Shadowlyre
scripts/globals/mobskills/pyric_bulwark.lua
5
1129
--------------------------------------------- -- Pyric Bulwark -- -- Description: Grants a Physical Shield effect for a time. -- Type: Enhancing -- -- Range: Self --------------------------------------------- require("scripts/globals/monstertpmoves"); require("scripts/globals/settings"); require("scripts/globals/status...
gpl-3.0
jono659/enko
scripts/globals/items/baked_popoto.lua
35
1283
----------------------------------------- -- ID: 4436 -- Item: Baked Popoto -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 20 -- Dexterity -1 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); -----------------------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/items/plate_of_friture_de_la_misareaux.lua
12
1566
----------------------------------------- -- ID: 5159 -- Item: plate_of_friture_de_la_misareaux -- Food Effect: 240Min, All Races ----------------------------------------- -- Dexterity 3 -- Vitality 3 -- Mind -3 -- Defense 5 -- Ranged ATT % 7 -- Ranged ATT Cap 15 ----------------------------------------- require("scri...
gpl-3.0
jono659/enko
scripts/globals/spells/paralyze.lua
11
1994
----------------------------------------- -- Spell: Paralyze -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -...
gpl-3.0
MRunFoss/skynet
examples/watchdog.lua
53
1286
local skynet = require "skynet" local netpack = require "netpack" local CMD = {} local SOCKET = {} local gate local agent = {} function SOCKET.open(fd, addr) skynet.error("New client from : " .. addr) agent[fd] = skynet.newservice("agent") skynet.call(agent[fd], "lua", "start", { gate = gate, client = fd, watchdog...
mit
dlan-fr/ofxLua
luaExample/bin/data/scripts/fontsExample.lua
1
2594
franklinBook = of.TrueTypeFont() verdana = of.TrueTypeFont() franklinBookLarge = of.TrueTypeFont() counter = 0 ---------------------------------------------------- function setup() of.setWindowTitle("fonts example") -- this load font loads the non-full character set -- (ie ASCII 33-128), at size "32" franklinBoo...
bsd-3-clause
n1ghtmare/Algorithm-Implementations
Heap_Sort/Lua/Yonaba/heapsort_test.lua
27
1353
-- Tests for heapsort.lua local heapsort = require 'heapsort' 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 stat...
mit
Arcscion/Shadowlyre
scripts/globals/spells/lightning_carol.lua
5
1518
----------------------------------------- -- Spell: Lightning Carol -- Increases lightning resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ------------------------------...
gpl-3.0
jono659/enko
scripts/zones/Valkurm_Dunes/npcs/Nyata-Mobuta_WW.lua
30
3056
----------------------------------- -- Area: Valkurm Dunes -- NPC: Nyata-Mobuta, W.W. -- Type: Outpost Conquest Guards -- @pos 139.394 -7.885 100.384 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conque...
gpl-3.0
hypnoscope/let-s-code-an-indie-game
episode_23/src/math/rectangle.lua
22
1539
local vector = require("src.math.vector") local rectangle = {} local _axisOverlap = function (min1, min2, max1, max2) return (min1 < max2 and max1 > min2) end local overlaps = function (self, another) local xAxisOverlap = _axisOverlap( self.x, another.x, self.x + self.width, another.x + another.w...
mit
hypnoscope/let-s-code-an-indie-game
episode_27/src/math/rectangle.lua
22
1539
local vector = require("src.math.vector") local rectangle = {} local _axisOverlap = function (min1, min2, max1, max2) return (min1 < max2 and max1 > min2) end local overlaps = function (self, another) local xAxisOverlap = _axisOverlap( self.x, another.x, self.x + self.width, another.x + another.w...
mit
hypnoscope/let-s-code-an-indie-game
episode_31/src/math/rectangle.lua
22
1539
local vector = require("src.math.vector") local rectangle = {} local _axisOverlap = function (min1, min2, max1, max2) return (min1 < max2 and max1 > min2) end local overlaps = function (self, another) local xAxisOverlap = _axisOverlap( self.x, another.x, self.x + self.width, another.x + another.w...
mit
hypnoscope/let-s-code-an-indie-game
episode_35/src/math/rectangle.lua
22
1539
local vector = require("src.math.vector") local rectangle = {} local _axisOverlap = function (min1, min2, max1, max2) return (min1 < max2 and max1 > min2) end local overlaps = function (self, another) local xAxisOverlap = _axisOverlap( self.x, another.x, self.x + self.width, another.x + another.w...
mit
Arcscion/Shadowlyre
scripts/globals/weaponskills/nightmare_scythe.lua
18
1635
----------------------------------- -- Nightmare Scythe -- Scythe weapon skill -- Skill Level: 100 -- Blinds enemy. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers: STR:60% ; M...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/VeLugannon_Palace/mobs/Zipacna.lua
16
1991
----------------------------------- -- Area: VeLugannon Palace -- NPC: Zipacna ----------------------------------- require("scripts/globals/pathfind"); local path = { -202, 0, 391, -209, 0, 387, -214, 0, 381, -238, 0, 380, -256, 4, 381, -261, 8, 400, -257, 12, 417, -240, 16, 420, -257, 12, 417, -261, 8, 400, -256, 4...
gpl-3.0
N0U/Zero-K
LuaUI/Configs/marking_menu_menu_armcom.lua
3
3705
local menu_armcom = { items = { { angle = 0, unit = "staticmex", label = "Economy", items = { { angle = 45, unit = "energysingu" }, { angle= 90, unit = "energyfusion", }, { angle= 135, unit = "energygeo", }, --...
gpl-2.0
jono659/enko
scripts/zones/The_Celestial_Nexus/mobs/Exoplates.lua
13
2870
----------------------------------- -- Area: The Celestial Nexus -- NPC: Exoplates -- Zilart Mission 16 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); function onMobInitialize(mob) mob:addMod(MOD_REGAIN, 50); ...
gpl-3.0
jono659/enko
scripts/zones/Dynamis-Valkurm/mobs/Avatar_Icon.lua
17
2181
----------------------------------- -- Area: Dynamis Valkurm -- NPC: Manifest_Icon ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Valkurm/TextIDs"); ---...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Port_Jeuno/npcs/Chudigrimane.lua
30
1173
----------------------------------- -- Area: Port Jeuno -- NPC: Chudigrimane -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Action --------------------------...
gpl-3.0
tdzl2003/fbmake
fbmake/options.lua
1
7833
-- NOTICE: -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTOR...
bsd-3-clause
Arcscion/Shadowlyre
scripts/globals/allyassist.lua
7
2378
ALLY_ASSIST_PLAYER = 1; ALLY_ASSIST_RANDOM = 2; function startAllyAssist(entity, assistMode) -- print("Ally Assist Initiated"); if (assistMode == nil) then assistMode = ALLY_ASSIST_PLAYER; end local mobs; local players; local allies = {} if (entity:getBattlefield() ~= nil) then ...
gpl-3.0
Mickey32111/MickAntiCheat
lua/autorun/server/sv_mac.lua
1
8862
print("[MAC] MickAntiCheat is ACTIVE!") QAC = true ----------------------------- Config ----------------------------------\ local DoWeBanTheseNiggas = true -- Ban when detected? local crash = false -- Crashes when they are detected. local whitelist = true -- Will use whitelist local time = 0 -- Ban ...
mit
marvinkopf/cuberite
Server/Plugins/APIDump/Hooks/OnChunkGenerated.lua
36
2855
return { HOOK_CHUNK_GENERATED = { CalledWhen = "After a chunk was generated. Notification only.", DefaultFnName = "OnChunkGenerated", -- also used as pagename Desc = [[ This hook is called when world generator finished its work on a chunk. The chunk data has already been generated and is about to be stor...
apache-2.0
Arcscion/Shadowlyre
scripts/zones/Southern_San_dOria/npcs/Atelloune.lua
3
2710
----------------------------------- -- Area: Southern San d'Oria -- NPC: Atelloune -- Starts and Finishes Quest: Atelloune's Lament -- @zone 230 -- !pos 122 0 82 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
Tikiwinkie/overthebox-feeds
luci-mod-admin-full/luasrc/controller/admin/index.lua
30
1093
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.index", package.seeall) function index() local root = node() if not root.target then root.target = alias("admin") root.index = true end local page = node("admin") page....
gpl-3.0
monsieurzhang/OpenNMT
tools/utils/tokenizer.lua
1
10455
local tokenizer = {} local unicode = require('tools.utils.unicode') local case = require ('tools.utils.case') local separators = require('tools.utils.separators') local alphabet = require('tools.utils.alphabets') local alphabet_list = {} for k,_ in pairs(alphabet.ranges) do table.insert(alphabet_list, k) end local...
mit
N0U/Zero-K
LuaRules/Gadgets/unit_is_on_fire.lua
4
7675
-- $Id: unit_is_on_fire.lua 3309 2008-11-28 04:25:20Z google frog $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Units on fire", desc = "Aa...
gpl-2.0
jono659/enko
scripts/globals/effects/vit_down.lua
19
1091
----------------------------------- -- -- EFFECT_VIT_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if((target:getStat(MOD_VIT) - effect...
gpl-3.0
dlan-fr/ofxLua
luaExample/bin/data/scripts/graphicsExample.lua
1
2518
print("Hello World!") counter = 0 bSmooth = false ---------------------------------------------------- function setup() of.setWindowTitle("graphics example") print("script setup") of.setCircleResolution(50) of.background(255, 255, 255, 255) of.setWindowTitle("graphics example") of.setFrameRate(60) -- if vert...
bsd-3-clause
zhangxiangxiao/nn
LookupTable.lua
23
2654
local LookupTable, parent = torch.class('nn.LookupTable', 'nn.Module') LookupTable.__version = 4 function LookupTable:__init(nIndex, nOutput) parent.__init(self) self.weight = torch.Tensor(nIndex, nOutput) self.gradWeight = torch.Tensor(nIndex, nOutput):zero() self:reset() end function LookupTable:back...
bsd-3-clause
LouisK130/Orange-Cosmos-Roleplay
ocrp/gamemode/server/map.lua
1
9013
local v33xAndv4b1DisplayCars = {{Position = Vector(6847, -4751, 56), Ang = Angle(0, 90, 0), Model = "models/tdmcars/aud_rs4avant.mdl"}, {Position = Vector(4251, -5309, 56), Ang = Angle(0, 180, 0), Model = "models/tdmcars/for_mustanggt.mdl"}, {Position = Vector(5706, -5299, 56), Ang = Angle(0, 180, 0), M...
mit
Arcscion/Shadowlyre
scripts/zones/Fort_Ghelsba/Zone.lua
13
1601
----------------------------------- -- -- Zone: Fort_Ghelsba (141) -- ----------------------------------- package.loaded["scripts/zones/Fort_Ghelsba/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Fort_Ghelsba/TextIDs"); --------------------------------...
gpl-3.0
ANONYMOUSE4/DevABBAS_ALSAIDI
plugins/save.lua
1
23212
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY ABBAS ALSAIDI ▀▄ ▄▀ ▀▄ ▄▀ WRITER ABBAS ▀▄ ▄▀ ▀▄ ▄▀ Dev@Abbas9_9 ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄▀▀▄▄▀...
gpl-2.0
spawnazzo/luci
contrib/luadoc/lua/luadoc/util.lua
93
5826
------------------------------------------------------------------------------- -- General utilities. -- @release $Id: util.lua,v 1.16 2008/02/17 06:42:51 jasonsantos Exp $ ------------------------------------------------------------------------------- local posix = require "nixio.fs" local type, table, string, io, as...
apache-2.0
jono659/enko
scripts/globals/spells/bluemagic/blitzstrahl.lua
9
1931
----------------------------------------- -- Spell: Blitzstrahl -- Deals lightning damage to an enemy. Additional effect: "Stun" -- Spell cost: 70 MP -- Monster Type: Arcana -- Spell Type: Magical (Lightning) -- Blue Magic Points: 4 -- Stat Bonus: DEX+3 -- Level: 44 -- Casting Time: 4.5 seconds -- Recast Time...
gpl-3.0
jono659/enko
scripts/zones/Southern_San_dOria/npcs/Foletta.lua
36
1433
----------------------------------- -- Area: Southern San d'Oria -- NPC: Foletta -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests...
gpl-3.0
jono659/enko
scripts/zones/Lower_Jeuno/npcs/Derrick.lua
12
4331
----------------------------------- -- Area: Lower Jeuno -- NPC: Derrick -- Involved in Quests and finish : Save the Clock Tower -- @zone 245 -- @pos -32 -1 -7 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; -----...
gpl-3.0
jono659/enko
scripts/zones/Windurst_Waters_[S]/npcs/Aystise.lua
38
1045
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Aystise -- Type: Standard NPC -- @zone: 94 -- @pos -69.805 -4.5 68.078 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----...
gpl-3.0
jono659/enko
scripts/zones/Ghoyus_Reverie/Zone.lua
36
1119
----------------------------------- -- -- Zone: Ghoyus_Reverie -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Ghoyus_Reverie/TextIDs"] = nil; require("scripts/zones/Ghoyus_Reverie/TextIDs"); ----------------------------------- -- onInitialize -...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/items/ear_of_grilled_corn.lua
12
1288
----------------------------------------- -- ID: 4334 -- Item: ear_of_grilled_corn -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 4 -- Health Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
Qusic/Companionship
assets.lua
1
1737
IconAssets = group{ quality=9.95 } Icon = image{ "assets/icon.png" } MainAssets = group{ quality=9.90 } Backgrounds = { image{ { "assets/background00.png", "assets/background01.png" } }, image{ { "assets/background10.png", "assets/background11.png" } }, image{ { "assets/background20.png", "assets/background21.png" ...
mit
Cyumus/GarryWare13
gamemode/cl_init.lua
1
4121
//////////////////////////////////////////////// // GarryWare Gold // // by Hurricaaane (Ha3) // // and Kilburn_ // // Fixed by Thadah // // http://www.youtube.com/user/Hurricaaane // //------------------------...
gpl-2.0
ra-kalai/lem
test/signal.lua
1
1584
#!bin/lem -- -- This file is part of LEM, a Lua Event Machine. -- Copyright 2013 Asbjørn Sloth Tønnesen -- -- 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, or...
lgpl-3.0
jono659/enko
scripts/zones/Provenance/Zone.lua
17
1255
----------------------------------- -- -- Zone: Provenance (222) -- ----------------------------------- package.loaded["scripts/zones/Provenance/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Provenance/TextIDs"); ----------------------------------- -- onInitialize -----------...
gpl-3.0
Bombo/Restacker
libs/LibAddonMenu-2.0/controls/iconpicker.lua
8
13896
--[[iconpickerData = { type = "iconpicker", name = "My Icon Picker", tooltip = "Color Picker's tooltip text.", choices = {"texture path 1", "texture path 2", "texture path 3"}, choicesTooltips = {"icon tooltip 1", "icon tooltip 2", "icon tooltip 3"}, --(optional) getFunc = function() return db.var end, setFunc =...
mit
Configi/configi
lib/luacheck/unicode_printability_boundaries.lua
3
7727
-- Autogenerated using data from https://www.unicode.org/Public/11.0.0/ucd/UnicodeData.txt return {0,32,127,160,173,174,888,890,896,900,907,908,909,910,930,931,1328,1329,1367,1369,1419,1421,1424,1425,1480,1488,1515,1519,1525,1542,1564,1566,1757,1758,1806,1808,1867,1869,1970,1984,2043,2045,2094,2096,2111,2112,2140,2142,...
mit
rtsisyk/tarantool
src/lua/log.lua
1
1968
-- log.lua -- local ffi = require('ffi') ffi.cdef[[ typedef void (*sayfunc_t)(int level, const char *filename, int line, const char *error, const char *format, ...); void say_set_log_level(int new_level); extern sayfunc_t _say; extern void say_logrotate(int); enum say_level { ...
bsd-2-clause
jono659/enko
scripts/zones/Apollyon/mobs/Ice_Elemental.lua
119
2423
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); --------------------------...
gpl-3.0
jono659/enko
scripts/zones/Newton_Movalpolos/npcs/Moblin_Showman.lua
9
1026
----------------------------------- -- Area: Newton Movalpolos -- NPC: Moblin Showman - Bugbear Matman -- @pos 124.544 19.988 -60.670 12 ----------------------------------- package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Newton_Movalp...
gpl-3.0
jono659/enko
scripts/globals/spells/foe_requiem_iv.lua
11
1623
----------------------------------------- -- Spell: Foe Requiem IV ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/items/bowl_of_seafood_stew.lua
12
1463
----------------------------------------- -- ID: 4561 -- Item: Bowl of Seafood Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 20 -- Dexterity 1 -- Vitality 5 -- Defense % 25 -- Defense Cap 120 ----------------------------------------- require("scripts/globals/status"); ----...
gpl-3.0
jono659/enko
scripts/zones/Northern_San_dOria/Zone.lua
10
4482
----------------------------------- -- -- Zone: Northern_San_dOria (231) -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/globals/events/harvest_festivals"); require("scripts/globals/zone"); require("scripts/globals/settings"); require(...
gpl-3.0
jono659/enko
scripts/zones/Southern_San_dOria/npcs/HomePoint#3.lua
12
1261
----------------------------------- -- Area: Southern San dOria -- NPC: HomePoint#3 -- @pos 140 -2 123 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Southern_San_dOria/TextIDs"); require(...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/The_Garden_of_RuHmet/mobs/Aw_zdei.lua
17
2169
----------------------------------- -- Area: The Garden of Ru'Hmet -- MOB: Aw'Zdei -- Animation Sub 0 Pot Form -- Animation Sub 1 Pot Form (reverse eye position) -- Animation Sub 2 Bar Form -- Animation Sub 3 Ring Form ----------------------------------- require("scripts/globals/status"); ---------------------------...
gpl-3.0
hypnoscope/let-s-code-an-indie-game
episode_10/src/logic/rooms/map.lua
4
1312
local room = require("src.logic.rooms.room") local slime = require("src.mobs.slime") local map = {} local draw = function (self, view) self.rooms[self.roomIndex]:draw(view) love.graphics.printf( "Room " .. self.roomIndex, 350, 20, 100, "center" ) end local currentRoom = function (self) r...
mit
hypnoscope/let-s-code-an-indie-game
episode_12/src/logic/rooms/map.lua
4
1312
local room = require("src.logic.rooms.room") local slime = require("src.mobs.slime") local map = {} local draw = function (self, view) self.rooms[self.roomIndex]:draw(view) love.graphics.printf( "Room " .. self.roomIndex, 350, 20, 100, "center" ) end local currentRoom = function (self) r...
mit
GloryFish/arrow_chase
conf.lua
1
1509
-- -- conf.lua -- arrow_chase -- -- Created by Jay Roberts on 2010-09-29. -- Copyright 2010 GloryFish.org. All rights reserved. -- function love.conf(t) t.modules.joystick = false -- Enable the joystick module (boolean) t.modules.audio = true -- Enable the audio module (boolean) t.modules.ke...
mit
Arcscion/Shadowlyre
scripts/zones/Windurst_Woods/npcs/Samigo-Pormigo.lua
3
2715
----------------------------------- -- Area: Windurst Woods -- NPC: Samigo-Pormigo -- Type: Guildworker's Union Representative -- !pos -9.782 -5.249 -134.432 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/globals/keyitems"); require("scripts/glob...
gpl-3.0
jono659/enko
scripts/zones/Selbina/npcs/Explorer_Moogle.lua
12
1767
----------------------------------- -- Area: Selbina -- NPC: Explorer Moogle ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/t...
gpl-3.0
flexiant/fco-trigger-examples
triggers/automatic_server_shutdown_trigger/automatic_server_shutdown_trigger.lua
1
3164
-- (c) 2013 Flexiant Ltd -- Released under the Apache 2.0 Licence - see LICENCE for details function automatic_server_shutdown_trigger(p) if(p == nil) then return { ref = "automatic_server_shutdown_trigger", name = "Automatic Server Shutdown", description = "Shutdowns the server after stated period of time...
apache-2.0
jono659/enko
scripts/zones/Qufim_Island/npcs/Trodden_Snow.lua
13
4765
----------------------------------- -- Area: Qufim Island -- NPC: Trodden Snow -- Mission: ASA - THAT_WHICH_CURDLES_BLOOD -- Mission: ASA - SUGAR_COATED_DIRECTIVE -- @zone 126 -- @pos -19 -17 104 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------...
gpl-3.0
N0U/Zero-K
LuaRules/Gadgets/unit_priority.lua
5
25161
-- $Id$ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- -- Copyright (C) 2009. -- Licensed under the terms of the GNU GPL, v2 or later. -- -----------------------------------------------------------...
gpl-2.0
ANONYMOUSE4/DevABBAS_ALSAIDI
plugins/ABBAS_ALSAIDI (2).lua
1
2882
--[[ BY ABBAS ALSAIDI WRITER ABBAS Dev@Abbas9_9 --]] local function get_variables_hash(msg) if msg.to.type == 'chat' or msg.to.type == 'channel' then retu...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Bastok_Mines/npcs/Abd-al-Raziq.lua
3
2668
----------------------------------- -- Area: Bastok Mines -- NPC: Abd-al-Raziq -- Type: Alchemy Guild Master -- !pos 126.768 1.017 -0.234 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Mines/TextIDs")...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Beaucedine_Glacier/mobs/Calcabrina.lua
3
2068
----------------------------------- -- Area: Beaucedine Glacier -- NM: Calcabrina ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------- -- onMobInitialize ----------------------------------- funct...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Abyssea-Tahrongi/npcs/qm21.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
kostyll/node9
fs/module/sys.lua
3
4844
local M = {} local scall = import("syscall") -- configure & cache call records local s_open = sreq.open local s_create = sreq.create local s_dup = sreq.dup local s_fildes = sreq.fildes local s_seek = sreq.seek local s_iounit = sreq.iounit local s_read = sreq.read local s_readn = sreq.readn local s_pread = sreq.pread ...
mit
rtsisyk/tarantool
test/engine/update.test.lua
2
3571
test_run = require('test_run') inspector = test_run.new() engine = inspector:get_cfg('engine') -- update (str) space = box.schema.space.create('test', { engine = engine }) index = space:create_index('primary', { type = 'tree', parts = {1, 'string'} }) for key = 1, 100 do space:replace({tostring(key)}) end for key = 1,...
bsd-2-clause
N0U/Zero-K
LuaRules/Gadgets/unit_starlight_satellite_capture.lua
5
1259
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
jono659/enko
scripts/zones/Xarcabard/npcs/Tememe_WW.lua
30
3041
----------------------------------- -- Area: Xarcabard -- NPC: Tememe, W.W. -- Type: Border Conquest Guards -- @pos -133.678 -22.517 112.224 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require...
gpl-3.0
sbodenstein/nn
Copy.lua
18
1142
local Copy, parent = torch.class('nn.Copy', 'nn.Module') function Copy:__init(intype, outtype, forceCopy, dontCast) intype = intype or torch.Tensor.__typename outtype = outtype or torch.Tensor.__typename self.dontCast = dontCast parent.__init(self) self.gradInput = torch.getmetatable(intype).new() ...
bsd-3-clause
N0U/Zero-K
LuaUI/Widgets/gui_simple_settings.lua
4
6542
function widget:GetInfo() return { name = "Simple Settings", desc = "Creates and manages the simple settings for simple settings mode.", author = "GoogleFrog", date = "1 June 2017", license = "GNU GPL, v2 or later", layer = 0, enabled = true, handler = true, } end local t...
gpl-2.0
jono659/enko
scripts/globals/spells/Vital_Etude.lua
11
1611
----------------------------------------- -- Spell: Vital Etude -- Static VIT Boost, BRD 70 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- fun...
gpl-3.0
longtomjr/ProjectPorcupine
Assets/StreamingAssets/LUA/Overlay.lua
8
1991
-- Example of overlay function -- Input: tile, the current tile for which the -- overlay wants to display the data -- Input: world, world class -- Return: an integer (by default should be scaled between 0 and 255) function oxygenValueAt(tile) if tile == nil then return 0 end room = tile.room if ...
gpl-3.0
jono659/enko
scripts/zones/Batallia_Downs/Zone.lua
4
3870
----------------------------------- -- -- Zone: Batallia_Downs (105) -- ----------------------------------- package.loaded[ "scripts/zones/Batallia_Downs/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require( "scripts/zones/Batallia_Downs/TextIDs...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Southern_San_dOria/npcs/Esmallegue.lua
3
1528
----------------------------------- -- Area: Southern San d'Oria -- NPC: Esmallegue -- General Info NPC -- @zone 230 -- !pos 0 2 -83 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/Tex...
gpl-3.0
Arcscion/Shadowlyre
scripts/commands/hp.lua
22
1359
--------------------------------------------------------------------------------------------------- -- func: hp <amount> <player> -- desc: Sets the GM or target players health. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, param...
gpl-3.0
N0U/Zero-K
lups/ParticleClasses/UnitPieceLight.lua
5
9908
-- $Id: UnitPieceLight.lua 3171 2008-11-06 09:06:29Z det $ ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- local UnitPieceLight = {} UnitPi...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Buburimu_Peninsula/npcs/Signpost.lua
13
1438
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Signpost ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Buburimu_Peninsula/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/mobskills/high-tension_discharger.lua
15
1365
--------------------------------------------------- -- High-Tension_Discharger -- Description: Discharges a powerful current that deals Lightning damage to players in a fan-shaped area. -- Additional effect: Stun -- Type: Magical --------------------------------------------- require("scripts/globals/monstertpmoves"); ...
gpl-3.0
jono659/enko
scripts/zones/RuLude_Gardens/npcs/Dugga.lua
34
1074
---------------------------------- -- 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/globals/items/cheval_salmon.lua
12
1344
----------------------------------------- -- ID: 4379 -- Item: cheval_salmon -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Charisma -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
markofu/scripts
nmap/nmap/nselib/base64.lua
5
4678
--- -- Base64 encoding and decoding. Follows RFC 4648. -- -- @author Philip Pickering <pgpickering@gmail.com> -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html -- thanks to Patrick Donnelly for some optimizations local bin = require "bin" local stdnse = require "stdnse" local string = require "strin...
gpl-2.0
nimaghorbani/user101
plugins/helprealm.lua
5
1238
do function run(msg, matches) return 'These commands only works in bots private \n Hammer \n /owners group_id [kick|ban|unban] user_id \n /owners 1234567 kick 1234567 \n \n cleaning \n /owners group_id clean [modlist|rules|about] \n /owners 1234567 clean modlist \n \n setting flood sensitivity \n /owners group_id ...
gpl-2.0
jono659/enko
scripts/zones/Grand_Palace_of_HuXzoi/mobs/Ix_aern_mnk.lua
22
2773
----------------------------------- -- Area: Grand Palace of HuXzoi -- NPC: Ix_aern_mnk -- ID: 16916815 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) ...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/North_Gustaberg/npcs/Cavernous_Maw_2.lua
3
1882
----------------------------------- -- Area: North Gustaberg -- NPC: Cavernous Maw -- !pos -78 -0.5 600 106 -- Teleports Players to Abyssea - Grauberg ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setting...
gpl-3.0
joewalker/prosody-modules
mod_http_muc_log/mod_http_muc_log.lua
1
10015
local st = require "util.stanza"; local mt = require"util.multitable"; local datetime = require"util.datetime"; local jid_split = require"util.jid".split; local nodeprep = require"util.encodings".stringprep.nodeprep; local uuid = require"util.uuid".generate; local it = require"util.iterators"; local gettime = require"s...
mit
Arcscion/Shadowlyre
scripts/zones/Caedarva_Mire/npcs/Kwadaaf.lua
3
1411
----------------------------------- -- Area: Caedarva Mire -- NPC: Kwadaaf -- Type: Entry to Alzadaal Undersea Ruins -- !pos -639.000 12.323 -260.000 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitem...
gpl-3.0
n1ghtmare/Algorithm-Implementations
Maximum_Subarray/Lua/Yonaba/maximum_subarray_test.lua
26
1897
-- Tests for maximum_subarray.lua local gss = require 'maximum_subarray' 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 +...
mit
Arcscion/Shadowlyre
scripts/zones/Port_San_dOria/npcs/Comittie.lua
3
1143
----------------------------------- -- Area: Port San d'Oria -- NPC: Comittie -- Type: Standard NPC -- @zone 232 -- !pos -6.570 -9.8 -147.952 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require("scri...
gpl-3.0
jono659/enko
scripts/zones/Windurst_Waters_[S]/npcs/Ranpi-Monpi.lua
38
1048
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ranpi-Monpi -- Type: Standard NPC -- @zone: 94 -- @pos -115.452 -3 43.389 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -...
gpl-3.0
jono659/enko
scripts/globals/items/cup_of_healing_tea.lua
35
1373
----------------------------------------- -- ID: 4286 -- Item: cup_of_healing_tea -- Food Effect: 240Min, All Races ----------------------------------------- -- Magic 10 -- Vitality -1 -- Charisma 3 -- Magic Regen While Healing 2 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
jono659/enko
scripts/zones/Port_San_dOria/npcs/Milva.lua
36
1839
----------------------------------- -- Area: Port San d'Oria -- NPC: Milva -- Only sells when San d'Oria has control of Sarutabaruta ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require(...
gpl-3.0
jono659/enko
scripts/zones/Dynamis-Xarcabard/mobs/Duke_Scox.lua
19
1250
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Duke Scox ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function on...
gpl-3.0
n1ghtmare/Algorithm-Implementations
Lempel_Ziv_Welch/Lua/Yonaba/lzw_test.lua
26
1030
-- Tests for lzw.lua local lzw = require 'lzw' 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/Phomiuna_Aqueducts/npcs/qm1.lua
34
1033
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm1 (???) -- Notes: Opens east door @ F-7 -- @pos -44.550 -24.601 106.495 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,tra...
gpl-3.0
N0U/Zero-K
LuaRules/Configs/dynamic_comm_defs.lua
2
55076
-- mission editor compatibility Spring.GetModOptions = Spring.GetModOptions or function() return {} end local skinDefs local SKIN_FILE = "LuaRules/Configs/dynamic_comm_skins.lua" if VFS.FileExists(SKIN_FILE) then skinDefs = VFS.Include(SKIN_FILE) else skinDefs = {} end local LEVEL_BOUND = math.floor(tonumber(Spring...
gpl-2.0
jono659/enko
scripts/zones/Pashhow_Marshlands/npcs/Mesachedeau_RK.lua
30
3070
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Mesachedeau, R.K. -- Type: Outpost Conquest Guards -- @pos 470.843 23.465 415.520 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
jono659/enko
scripts/zones/Port_Bastok/npcs/Bagnobrok.lua
36
1585
----------------------------------- -- Area: Port Bastok -- NPC: Bagnobrok -- Only sells when Bastok controls Movalpolos -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bastok/Tex...
gpl-3.0