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
excessive/ldex
assets/locales/pl.lua
1
1167
return { locale = "pl", name = "polski", audio_dir = "assets/audio/pl", quotes = { "\"", "\"" }, strings = { -- Main Menu ["new-game"] = { text = "Nowa gra" }, ["new-game-plus"] = { text = "Nowa gra +" }, ["load-game"] = { text = "Wczytaj grę" }, ["play-online"] = { text = "Graj o...
mit
roboplus12/ali
plugins/Fabanhammer.lua
14
11813
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
Kthulupwns/master
scripts/globals/items/porcupine_pie.lua
35
1945
----------------------------------------- -- ID: 5156 -- Item: porcupine_pie -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 55 -- Strength 6 -- Vitality 2 -- Intelligence -3 -- Mind 3 -- MP recovered while healing 2 -- Accuracy 5 -- Attack % 18 (cap 95) -- Ranged Attack % ...
gpl-3.0
nokute78/fluent-bit
lib/luajit-3065c9/dynasm/dasm_x86.lua
5
75390
------------------------------------------------------------------------------ -- DynASM x86/x64 module. -- -- Copyright (C) 2005-2022 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ local x64 = x64 -- Module i...
apache-2.0
kbeckmann/nodemcu-firmware
app/cjson/tests/bench.lua
145
3247
#!/usr/bin/env lua -- This benchmark script measures wall clock time and should be -- run on an unloaded system. -- -- Your Mileage May Vary. -- -- Mark Pulford <mark@kyne.com.au> local json_module = os.getenv("JSON_MODULE") or "cjson" require "socket" local json = require(json_module) local util = require "cjson.ut...
mit
shangwudong/MyNodeMcu
app/cjson/tests/bench.lua
145
3247
#!/usr/bin/env lua -- This benchmark script measures wall clock time and should be -- run on an unloaded system. -- -- Your Mileage May Vary. -- -- Mark Pulford <mark@kyne.com.au> local json_module = os.getenv("JSON_MODULE") or "cjson" require "socket" local json = require(json_module) local util = require "cjson.ut...
mit
PhilmacFLy/naev
docs/ai/examples/attacked.lua
19
1323
--[[ -- Based on when pilot is hit by something, then will attempt to retaliate --]] -- triggered when pilot is hit by something function attacked ( attacker ) task = ai.taskname() if task ~= "attack" and task ~= "runaway" then -- some taunting taunt( attacker ) -- now pilot fights back ...
gpl-3.0
Kthulupwns/master
scripts/zones/Ceizak_Battlegrounds/Zone.lua
34
1262
----------------------------------- -- -- Zone: Ceizak Battlegrounds -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Ceizak_Battlegrounds/TextIDs"] = nil; require("scripts/zones/Ceizak_Battlegrounds/TextIDs"); ----------------------------------- -...
gpl-3.0
Kthulupwns/master
scripts/zones/Rabao/npcs/Porter_Moogle.lua
41
1509
----------------------------------- -- Area: Rabao -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 247 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Rabao/TextIDs"); require("scripts/gl...
gpl-3.0
Kthulupwns/master
scripts/zones/King_Ranperres_Tomb/npcs/Tombstone.lua
9
2919
----------------------------------- -- Area: King Ranperre's Tomb -- NPC: Tombstone -- Involved in Quest: Grave Concerns -- @pos 1 0.1 -101 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
Kthulupwns/master
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cr.lua
17
2435
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cr (Magical Gizmo) #3 -- Involved In Mission: The Horutoto Ruins Experiment ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
GPUOpen-LibrariesAndSDKs/SeparableFilter11
amd_lib/premake/premake5_minimal.lua
1
2305
dofile ("../../premake/amd_premake_util.lua") workspace "AMD_LIB_Minimal" configurations { "Debug", "Release", "Release_MT" } platforms { "Win32", "x64" } location "../build" filename ("AMD_LIB_Minimal" .. _AMD_VS_SUFFIX) startproject "AMD_LIB_Minimal" filter "platforms:Win32" system "Windows"...
mit
Kthulupwns/master
scripts/globals/pets.lua
37
36137
----------------------------------- -- -- PETS ID -- ----------------------------------- ----------------------------------- -- PETTYPE ----------------------------------- PETTYPE_AVATAR = 0; PETTYPE_WYVERN = 1; PETTYPE_JUGPET = 2; PETTYPE_CHARMED_MOB = 3; PETTYPE...
gpl-3.0
6220119/google-diff-match-patch
lua/diff_match_patch.lua
265
73869
--[[ * Diff Match and Patch * * Copyright 2006 Google Inc. * http://code.google.com/p/google-diff-match-patch/ * * Based on the JavaScript implementation by Neil Fraser. * Ported to Lua by Duncan Cross. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
apache-2.0
gianlucaborello/sysdig
userspace/sysdig/chisels/topcontainers_cpu.lua
2
3592
--[[ Copyright (C) 2013-2014 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without e...
gpl-2.0
UltronTG/UltronTG
plugins/supergroup.lua
1
103118
--Begin supergrpup.lua --Check members #Add supergroup local function check_member_super(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg if success == 0 then send_large_msg(receiver, "Promote me to admin first!") end for k,v in pair...
gpl-2.0
Kthulupwns/master
scripts/zones/Windurst_Walls/npcs/Naih_Arihmepp.lua
38
1415
----------------------------------- -- Area: Windurst Walls -- NPC: Naih Arihmepp -- Type: Standard NPC -- @pos -64.578 -13.465 202.147 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requi...
gpl-3.0
m2fan/xx
plugins/stats.lua
1
3981
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
deckycoss/lass
lass/data/examples/triangles/src/PlayerInput.lua
2
1711
local lass = require("lass") local class = require("lass.class") local geometry = require("lass.geometry") local Collider = require("lass.builtins.physics.Collider") local PlayerInput = class.define(lass.Component, function(self, arguments) arguments.rotationSpeed = arguments.rotationSpeed or 1 arguments.controls =...
gpl-3.0
Kthulupwns/master
scripts/zones/Northern_San_dOria/npcs/Jeanvirgaud.lua
18
1838
----------------------------------- -- Area: Northern San d'Oria -- NPC: Jeanvirgaud -- Outpost Teleporter NPC -- @pos 45.559 -0.199 26.300 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest");...
gpl-3.0
Kthulupwns/master
scripts/zones/Maze_of_Shakhrami/npcs/Excavation_Point.lua
12
1625
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Excavation Point -- Used in Quest: The Holy Crest -- @pos 234 0.1 -110 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globals/e...
gpl-3.0
Kthulupwns/master
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
tectronics/microlua-sim
clp/mls/DebugWindow.lua
2
14454
------------------------------------------------------------------------------- -- Debug window. -- -- @class module -- @name clp.mls.DebugWindow -- @author Ced-le-pingouin <Ced.le.pingouin@gmail.com> ------------------------------------------------------------------------------- -- Copyright (C) 2009-2011 Cédric FLO...
gpl-3.0
Kthulupwns/master
scripts/zones/Ordelles_Caves/npcs/qm3.lua
19
1568
----------------------------------- -- Area: Ordelle's Caves -- NPC: ??? (qm3) -- Involved in Quest: A Squire's Test II -- @pos -139 0.1 264 193 ------------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ------------------------------------- require("scripts/globals/settings")...
gpl-3.0
Kthulupwns/master
scripts/zones/Bhaflau_Remnants/Zone.lua
36
1125
----------------------------------- -- -- Zone: Bhaflau_Remnants -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Bhaflau_Remnants/TextIDs"] = nil; require("scripts/zones/Bhaflau_Remnants/TextIDs"); ----------------------------------- -- onInitial...
gpl-3.0
Kthulupwns/master
scripts/zones/Beaucedine_Glacier/npcs/Trail_Markings.lua
13
2651
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Trail Markings -- Dynamis-Beaucedine Enter -- @pos -284 -39 -422 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setti...
gpl-3.0
Kthulupwns/master
scripts/zones/Sea_Serpent_Grotto/npcs/Grounds_Tome.lua
34
1151
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTr...
gpl-3.0
Kthulupwns/master
scripts/zones/The_Eldieme_Necropolis/npcs/_5f9.lua
34
1106
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 270 -34 -60 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs")...
gpl-3.0
aayushKumarJarvis/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
Kthulupwns/master
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
Kthulupwns/master
scripts/zones/Castle_Oztroja/npcs/_47x.lua
17
1245
----------------------------------- -- Area: Castle Oztroja -- NPC: _47x (Handle) -- Notes: Opens door _477 -- @pos -99 -71 -41 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/TextI...
gpl-3.0
dmccuskey/dmc-navigator
dmc_corona/lib/dmc_lua/lua_e4x.lua
47
18011
--====================================================================-- -- lua_e4x.lua -- -- Documentation: http://docs.davidmccuskey.com/display/docs/lua_e4x.lua --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2014 David McCuskey. All Rights Reserve...
mit
Kthulupwns/master
scripts/zones/Tavnazian_Safehold/npcs/Hieroglyphics.lua
17
2352
----------------------------------- -- Area: Tavnazian_Safehold -- NPC: Hieroglyphics -- Notes: Dynamis Tavnazia Enter -- @pos 3.674 -7.278 -27.856 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
FelixZhang00/ejoy2d
ejoy2d/particle.lua
22
3315
local debug = debug local ej = require "ejoy2d" local c = require "ejoy2d.particle.c" local shader = require "ejoy2d.shader" local pack = require "ejoy2d.simplepackage" local fw = require "ejoy2d.framework" local matrix = require "ejoy2d.matrix" local math = require "math" local particle_configs = {} local particle_gr...
mit
Kthulupwns/master
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
Kthulupwns/master
scripts/zones/Metalworks/Zone.lua
28
1683
----------------------------------- -- -- Zone: Metalworks (237) -- ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/zone"); require("scripts/globals/settings"); requi...
gpl-3.0
Kthulupwns/master
scripts/zones/Southern_San_dOria/npcs/Ferdoulemiont.lua
36
2182
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ferdoulemiont -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
Kthulupwns/master
scripts/zones/Bastok_Markets/npcs/Charging_Chocobo.lua
36
1678
----------------------------------- -- Area: Bastok Markets -- NPC: Charging Chocobo -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ...
gpl-3.0
Kthulupwns/master
scripts/zones/Windurst_Waters/npcs/Ahyeekih.lua
30
1695
----------------------------------- -- Area: Windurst Waters -- NPC: Ahyeekih -- Only sells when Windurst controls Kolshushu -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); require("scripts/globals/c...
gpl-3.0
BloodySucker/coller
jit/vmdef.lua
7
7368
-- This is a generated file. DO NOT EDIT! return { bcnames = "ISLT ISGE ISLE ISGT ISEQV ISNEV ISEQS ISNES ISEQN ISNEN ISEQP ISNEP ISTC ISFC IST ISF ISTYPEISNUM MOV NOT UNM LEN ADDVN SUBVN MULVN DIVVN MODVN ADDNV SUBNV MULNV DIVNV MODNV ADDVV SUBVV MULVV DIVVV MODVV POW CAT KSTR KCDATAKSHORTKNUM...
gpl-3.0
sailorproject/sailor
test/dev-app/controllers/test.lua
2
5849
local session = require "sailor.session" local validation = require "valua" local form = require "sailor.form" local sailor = require "sailor" local test = {} function test.index(page) local stringVariable = 'this variable is being passed from a controller to a view!' local anotherVar = 2342 -- this one too! ...
mit
kbeckmann/nodemcu-firmware
lua_examples/irsend.lua
88
1803
------------------------------------------------------------------------------ -- IR send module -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> -- -- Example: -- dofile("irsend.lua").nec(4, 0x00ff00ff) -----------------------------------------------------------------------...
mit
Kthulupwns/master
scripts/zones/Abyssea-Misareaux/Zone.lua
32
1543
----------------------------------- -- -- Zone: Abyssea - Misareaux -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Misareaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abysse...
gpl-3.0
Kthulupwns/master
scripts/zones/Port_Bastok/npcs/Sugandhi.lua
30
1587
----------------------------------- -- Area: Port Bastok -- NPC: Sugandhi -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); require("scripts/globals/shop"); ----------------------------------- -- onTra...
gpl-3.0
fhanik/snabbswitch
src/lib/checksum.lua
8
8063
module(...,package.seeall) -- This module exposes the interface: -- checksum.ipsum(pointer, length, initial) => checksum -- -- pointer is a pointer to an array of data to be checksummed. initial -- is an unsigned 16-bit number in host byte order which is used as -- the starting value of the accumulator. The result ...
apache-2.0
Kthulupwns/master
scripts/zones/Port_San_dOria/npcs/Apstaule.lua
36
1764
----------------------------------- -- Area: Port San d'Oria -- NPC: Apstaule -- Not used cutscenes: 541 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/quests"); r...
gpl-3.0
Kthulupwns/master
scripts/zones/Bastok_Mines/npcs/Sieglinde.lua
24
1809
----------------------------------- -- Area: Bastok Mines -- NPC: Sieglinde -- Alchemy Synthesis Image Support ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafti...
gpl-3.0
Kthulupwns/master
scripts/zones/Dynamis-Beaucedine/mobs/Serjeant_Tombstone.lua
16
3392
----------------------------------- -- Area: Dynamis Beaucedine -- NPC: Serjeant Tombstone -- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; -----...
gpl-3.0
Kthulupwns/master
scripts/zones/Windurst_Woods/npcs/Quesse.lua
36
1672
----------------------------------- -- Area: Windurst Woods -- NPC: Quesse -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/Tex...
gpl-3.0
Kthulupwns/master
scripts/zones/Temenos/mobs/Cryptonberry_Skulker.lua
17
1139
----------------------------------- -- Area: Temenos N T -- NPC: Cryptonberry_Skulker ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------...
gpl-3.0
roboplus12/ali
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
jp-bennett/packages
net/acme/files/acme-cbi.lua
4
4200
--[[ LuCI - Lua Configuration Interface Copyright 2016 Toke Høiland-Jørgensen <toke@toke.dk> # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; either version 3 of the License, or (at your option...
gpl-2.0
Daedeross/Subterra
src/migrations/0.4.0.lua
1
1772
for index, force in pairs(game.forces) do local technologies = force.technologies local recipes = force.recipes recipes["subterra-transport-belt-down"].enabled = technologies["underground-building-1"] and technologies["underground-building-1"].researched recipes["subterra-transport-belt-up"].enabled ...
mit
Kthulupwns/master
scripts/zones/Dynamis-Valkurm/mobs/Serjeant_Tombstone.lua
17
2167
----------------------------------- -- Area: Dynamis Valkurm -- NPC: Serjeant_Tombstone ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Valkurm/TextIDs");...
gpl-3.0
Kthulupwns/master
scripts/zones/Caedarva_Mire/npcs/Jazaraat_s_Headstone.lua
13
1058
----------------------------------- -- Area: Caedarva Mire -- NPC: Jazaraat's Headstone -- Involved in mission: The Lost Kingdom (TOAUM 13) -- @pos -389 6 -570 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; require("scripts/zones/Caedarva_Mire/TextIDs"); ...
gpl-3.0
Kthulupwns/master
scripts/zones/Windurst_Waters_[S]/npcs/Mhoti_Pyiahrs.lua
38
1045
----------------------------------- -- 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
Kthulupwns/master
scripts/zones/Southern_San_dOria/npcs/Katharina.lua
37
1095
----------------------------------- -- Area: Southern San d'Oria -- NPC: Katharina -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Southe...
gpl-3.0
Geigerkind/ModifiedPowerAuras
libs/LibStub/LibStub.lua
1
2413
-- $Id$ -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/addons/libstub/ for more info -- LibStub is hereby placed in the Public Domain -- Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE TH...
gpl-3.0
Kthulupwns/master
scripts/zones/Carpenters_Landing/Zone.lua
27
3518
----------------------------------- -- -- Zone: Carpenters_Landing (2) -- ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
Daedeross/Subterra
src/scripts/events/ui/do_player_drawing.lua
1
2040
local draw_nearby_boxes = require("__subterra__.scripts.events.ui.draw_nearby_boxes") local draw_radius = (subterra and subterra.config and subterra.config.HUD_DRAW_RADIUS) or 20 -- not sure why, but need this +1 to prevent flicker. TODO: smoothe out like radar updates. local duration = ((subterra and subterra.config...
mit
Kthulupwns/master
scripts/zones/The_Celestial_Nexus/mobs/Orbital.lua
19
2130
----------------------------------- -- Area: The Celestial Nexus -- NPC: Orbital -- 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); end...
gpl-3.0
Kthulupwns/master
scripts/zones/Port_Windurst/npcs/Guruna-Maguruna.lua
36
1747
----------------------------------- -- Area: Port Windurst -- NPC: Guruna-Maguruna -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurs...
gpl-3.0
Kthulupwns/master
scripts/zones/Qufim_Island/npcs/qm3.lua
17
4404
----------------------------------- -- Area: Qufim Island -- NPC: ??? (qm3) -- Mission: ACP - The Echo Awakens -- @zone 126 -- @pos -120.342 -19.471 306.661 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ------------------------------------- require("scripts/z...
gpl-3.0
Kthulupwns/master
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
Kthulupwns/master
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
Kthulupwns/master
scripts/globals/items/handful_of_roasted_almonds.lua
36
1079
----------------------------------------- -- ID: 5649 -- Item: Handful of Roasted Almonds -- Food Effect: 5Min, All Races ----------------------------------------- -- HP 30 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
MinoaveDev/EccoDev
scripts/npcs/gachapon1.lua
1
4031
--[[ Copyright (C) 2008-2011 Vana Development Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
gpl-2.0
Kthulupwns/master
scripts/zones/Lower_Jeuno/npcs/_l02.lua
36
1562
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -89.022 -0 -123.317 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
sarumont/vicious-fbsd
contrib/net.lua
5
4523
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- * (c) 2009, Henning Glawe <glaweh@debian.org> -- * (c) 2009, Lucas de Vries <lucas@glacicle.com> --------------------------------------------------- -- {{{ Grab en...
gpl-2.0
Kthulupwns/master
scripts/globals/items/dish_of_spaghetti_boscaiola.lua
35
1721
----------------------------------------- -- ID: 5192 -- Item: dish_of_spaghetti_boscaiola -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 18 -- Health Cap 120 -- Magic 35 -- Strength -5 -- Dexterity -2 -- Vitality 2 -- Mind 4 -- Magic Regen While Healing 1 ----------...
gpl-3.0
Kthulupwns/master
scripts/zones/Davoi/npcs/Storage_Hole.lua
19
1560
----------------------------------- -- Area: Davoi -- NPC: Storage Hole -- Involved in Quest: The Crimson Trial -- @pos -51 4 -217 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("sc...
gpl-3.0
Kthulupwns/master
scripts/zones/Bhaflau_Thickets/mobs/Colibri.lua
29
1752
----------------------------------- -- Area: Bhaflau Thickets -- MOB: Colibri ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobFight Action ----------------------------------- function onMobFight(mob, target) loc...
gpl-3.0
Kthulupwns/master
scripts/zones/Port_Jeuno/npcs/Chudigrimane.lua
29
1189
----------------------------------- -- 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
NightNord/ljd
test/primitive.lua
3
8790
function assignment() function generator() return 1, 2, 3 end a = 1 b, c, d = nil e, f, g = 1, 2, 3 local i, k, l = 3, 2, g + 1 local m, n, o, p = 1, generator() print (a, b, c, d, e, f, g, i, k, l) end function vararg(...) a = ... c, d = ... t = {...} s = {1, 2, 3, ...} local f, g, h = ... t.x =...
mit
Kthulupwns/master
scripts/zones/West_Ronfaure/npcs/Ballie_RK.lua
30
3051
----------------------------------- -- Area: West Ronfaure -- NPC: Ballie, R.K. -- Type: Border Conquest Guards -- @pos -560.292 -0.961 -576.655 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest");...
gpl-3.0
mgerhardy/scummvm
devtools/create_ultima/files/ultima6/scripts/md/look.lua
18
9304
function look_pocketwatch(obj) printl("THE_TIME_IS") local am = true local hour = clock_get_hour() local minute = clock_get_minute() if hour >= 12 then am = false end if hour > 12 then hour = hour - 12 end local time = "TIME_AM" if am == false then time = "TIME_PM" end prin...
gpl-2.0
Kthulupwns/master
scripts/globals/mobskills/Bilgestorm.lua
12
1250
--------------------------------------------- -- Bilgestorm -- -- Description: Deals damage in an area of effect. Additional effect: Lowers attack, accuracy, and defense -- Type: Physical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown -- Notes: Only used at low health.*Experienced the use at 75%...
gpl-3.0
Kthulupwns/master
scripts/zones/Windurst_Waters_[S]/npcs/Miah_Riyuh.lua
15
1044
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Miah Riyuh -- Type: Standard NPC -- @zone: 94 -- @pos 5.323 -2 37.462 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -----...
gpl-3.0
aayushKumarJarvis/Algorithm-Implementations
Breadth_First_Search/Lua/Yonaba/bfs_test.lua
26
2339
-- Tests for bfs.lua local BFS = require 'bfs' 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 same(t, p, comp) for k,v in ipairs(t) do if not comp(v, p[k]) then return false end end return true end ...
mit
probberechts/dotfiles
keyboard/hammerspoon/super.lua
2
5734
local eventtap = hs.eventtap local eventTypes = hs.eventtap.event.types local message = require('status-message') -- If 's' and 'd' are *both* pressed within this time period, consider this to -- mean that they've been pressed simultaneously, and therefore we should enter -- Super Duper Mode. local MAX_TIME_BETWEEN_SI...
mit
Kthulupwns/master
scripts/zones/Aht_Urhgan_Whitegate/npcs/Somnolent_Rooster.lua
34
1042
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Somnolent Rooster -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ...
gpl-3.0
pablojmartinez/theatreofpain
nutscript/gamemode/core/cl_skin.lua
6
2254
local SKIN = {} SKIN.fontFrame = "BudgetLabel" SKIN.fontTab = "nutSmallFont" SKIN.fontButton = "nutSmallFont" SKIN.Colours = table.Copy(derma.SkinList.Default.Colours) SKIN.Colours.Window.TitleActive = Color(0, 0, 0) SKIN.Colours.Window.TitleInactive = Color(255, 255, 255) SKIN.Colours.Button.Normal = Color(80,...
mit
Kthulupwns/master
scripts/zones/Bastok_Mines/npcs/Eulaphe.lua
28
2055
----------------------------------- -- Area: Bastok Mines -- NPC: Eulaphe -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ---------------------------...
gpl-3.0
cnsuperx/Cocos2d-x-2.2.5
samples/Lua/TestLua/Resources/luaScript/NodeTest/NodeTest.lua
7
20006
local kTagSprite1 = 1 local kTagSprite2 = 2 local kTagSprite3 = 3 local kTagSlider = 4 local s = CCDirector:sharedDirector():getWinSize() local scheduler = CCDirector:sharedDirector():getScheduler() local function getBaseLayer() local layer = CCLayer:create() Helper.initWithLayer(layer) return layer end ---...
mit
labelette91/domoticz-git
dzVents/runtime/persistence.lua
19
5741
-- Internal persistence library --[[ Provides ]] -- persistence.store(path, ...): Stores arbitrary items to the file at the given path -- persistence.load(path): Loads files that were previously stored with store and returns them --[[ Limitations ]] -- Does not export userdata, threads or most function values -- Func...
gpl-3.0
Kthulupwns/master
scripts/zones/Kazham/npcs/Kobhi_Sarhigamya.lua
34
1061
---------------------------------- -- Area: Kazham -- NPC: Kobhi Sarhigamya -- Type: Item Deliverer -- @zone: 250 -- @pos -115.29 -11 -22.609 -- ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); -------------------------...
gpl-3.0
Kthulupwns/master
scripts/zones/Dynamis-Valkurm/mobs/Avatar_Idol.lua
16
1126
----------------------------------- -- Area: Dynamis Valkurm -- NPC: Manifest_Idol ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("scripts/zones...
gpl-3.0
Ramel/videolan
share/lua/playlist/katsomo.lua
11
2907
--[[ Translate www.katsomo.fi video webpages URLs to the corresponding movie URL $Id$ Copyright © 2009 the VideoLAN team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 o...
gpl-2.0
gamedev2/cocos2d-x-2.2
samples/Lua/TestLua/Resources/luaScript/KeypadTest/KeypadTest.lua
8
1054
local function KeypadMainLayer() local pLayer = CCLayer:create() local s = CCDirector:sharedDirector():getWinSize() local label = CCLabelTTF:create("Keypad Test", "Arial", 28) pLayer:addChild(label, 0) label:setPosition( ccp(s.width/2, s.height-50) ) pLayer:setKeypadEnabled(true) -- crea...
mit
cnsuperx/Cocos2d-x-2.2.5
samples/Lua/TestLua/Resources/luaScript/KeypadTest/KeypadTest.lua
8
1054
local function KeypadMainLayer() local pLayer = CCLayer:create() local s = CCDirector:sharedDirector():getWinSize() local label = CCLabelTTF:create("Keypad Test", "Arial", 28) pLayer:addChild(label, 0) label:setPosition( ccp(s.width/2, s.height-50) ) pLayer:setKeypadEnabled(true) -- crea...
mit
Kthulupwns/master
scripts/zones/Northern_San_dOria/npcs/Arachagnon.lua
36
1818
----------------------------------- -- Area: Northern San d'Oria -- NPC: Arachagnon -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/...
gpl-3.0
PhilmacFLy/naev
dat/ai/tpl/merchant.lua
6
2280
include("dat/ai/include/basic.lua") -- Variables mem.enemy_close = 500 -- Distance enemy is too close for comfort -- Required control rate control_rate = 2 -- Required "control" function function control () task = ai.taskname() enemy = ai.getenemy() -- Runaway if enemy is near if task ~= "runaway" a...
gpl-3.0
ca25nada/spawncamping-wallhack
BGAnimations/ScreenSelectMusic overlay/profilecard.lua
1
24793
local t = Def.ActorFrame{ InitCommand = function(self) self:delayedFadeIn(6) end, OffCommand = function(self) self:sleep(0.05) self:smooth(0.2) self:diffusealpha(0) end } local frameX = SCREEN_CENTER_X/2 local frameY = SCREEN_CENTER_Y+100 local maxMeter = 30 local frameWidth = capWideScale(get43size(390)...
mit
alex-lawson/sb-automation
objects/wired/pipe/pipeend/pipeend.lua
1
3138
function init(virtual) if not virtual then self.convertLiquid = entity.configParameter("liquidConversions") pipes.init({liquidPipe}) self.usedNode = 0 end end -------------------------------------------------------------------------------- function main(args) pipes.update(entity.dt()) loca...
mit
Kthulupwns/master
scripts/globals/weaponskills/nightmare_scythe.lua
11
1605
----------------------------------- -- 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: ST...
gpl-3.0
Kthulupwns/master
scripts/globals/items/galkan_sausage_+3.lua
35
1364
----------------------------------------- -- ID: 5861 -- Item: galkan_sausage_+3 -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 6 -- Intelligence -7 -- Attack 12 -- Ranged Attack 12 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
Kthulupwns/master
scripts/zones/Beaucedine_Glacier/npcs/Torino-Samarino.lua
19
2892
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Torino-Samarino -- Type: Quest NPC -- Involved in Quests: Curses, Foiled A-Golem!?, Tuning Out -- @pos 105 -20 140 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; require("scripts/glob...
gpl-3.0
Kthulupwns/master
scripts/globals/abilities/alacrity.lua
28
1151
----------------------------------- -- Ability: Alacrity -- Reduces the casting and the recast time of your next black magic spell by 50%. -- Obtained: Scholar Level 25 -- Recast Time: Stratagem Charge -- Duration: 1 black magic spell or 60 seconds, whichever occurs first. -- -- Level |Charges |Recharge Time p...
gpl-3.0
Kthulupwns/master
scripts/zones/La_Theine_Plateau/npcs/Vicorpasse.lua
17
2125
----------------------------------- -- Area: La Theine Plateau -- NPC: Vicorpasse -- Involved in Mission: The Rescue Drill -- @pos -344 37 266 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
Kthulupwns/master
scripts/zones/Monastic_Cavern/npcs/Magicite.lua
19
1595
----------------------------------- -- Area: Monastic Cavern -- NPC: Magicite -- Involved in Mission: Magicite -- @pos -22 1 -66 150 ----------------------------------- package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scri...
gpl-3.0