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
pquentin/wesnoth
data/ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua
25
2603
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" return function(cfg) -- Calculate next waypoint and rating for all messengers -- Return next messenger to move and waypoint toward which it shoul...
gpl-2.0
Fatalerror66/ffxi-a
scripts/zones/Bastok_Markets_[S]/npcs/RedCanyon.lua
2
1043
----------------------------------- -- Area: Bastok Markets (S) -- NPC: NPC ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; require("scripts/zones/Bastok_Markets_[S]/TextIDs"); ----------------------------------- -- onTrade Action -----------------------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Tahrongi_Canyon/npcs/Stone_Monument.lua
2
1252
----------------------------------- -- Area: Tahrongi Canyon -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Tahrongi_Canyon/Tex...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Kuftal_Tunnel/mobs/Phantom_Worm.lua
6
1396
----------------------------------- -- Area: Kuftal Tunnel (173) -- Mob: Phantom Worm ----------------------------------- ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,killer) local npc = GetNPCByID(17490250); npc:hideNPC(900); local randpos =...
gpl-3.0
FilthyPeasantDEV/PokeBot
BizHawk-1.11.6/Lua/NES/SMB2U.lua
7
6148
-- Super Mario Bros. 2 USA - Grids & Contents (Unfinished) -- Super Mario Bros. 2 (U) (PRG0) [!].nes -- Written by QFox -- 31 July 2008 -- shows (proper!) grid and contents. disable grid by setting variable to false -- shows any non-air grid's tile-id -- Slow! Will be heavy on lighter systems local angrybirdo = fal...
mit
Fatalerror66/ffxi-a
scripts/zones/RuAun_Gardens/npcs/_3m0.lua
2
1084
----------------------------------- -- Area: Ru'Avitau Gate -- NPC: _3m0 -- @pos 0 -45 -113 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuAun_Gardens/TextIDs"); ------------------------------...
gpl-3.0
mohammadjkh/PowerTeam
bot.lua
1
11632
HTTP = require('socket.http') HTTPS = require('ssl.https') URL = require('socket.url') JSON = require('dkjson') redis = require('redis') clr = require 'term.colors' db = Redis.connect('127.0.0.1', 6379) --db:select(0) serpent = require('serpent') bot_init = function(on_reload) -- The function run when the bot is star...
gpl-2.0
Yhgenomics/premake-core
src/base/config.lua
9
15931
-- -- config.lua -- Premake configuration object API -- Copyright (c) 2011-2015 Jason Perkins and the Premake project -- local p = premake p.config = {} local project = p.project local config = p.config --- -- Helper function for getlinkinfo() and gettargetinfo(); builds the -- name parts for a configuration, ...
bsd-3-clause
Fatalerror66/ffxi-a
scripts/zones/Southern_San_dOria/npcs/Ailevia.lua
2
3177
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ailevia -- Adventurer's Assistant -- Only recieving Adv.Coupon and simple talk event are scripted -- This NPC participates in Quests and Missions -- @zone 230 -- @pos -8 1 1 ------------------------------------- package.loaded["scripts/z...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Coffer.lua
2
3922
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Treasure Coffer -- @zone 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"...
gpl-3.0
neilcook/weakforced
gendata/gen_success_reports.lua
3
4960
# This lua script generates random reports for wforce logins counter = 0 wrk.headers["Content-Type"] = "application/json" wrk.headers["Authorization"] = "Basic d2ZvcmNlOnN1cGVy" wrk.method = 'POST' wrk.path = "/?command=report" dp_access = { {protocol="http", device="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) ...
gpl-3.0
bawww/baw
plugins/stats.lua
1
4141
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
bawww/baw
plugins/owners.lua
1
12675
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
Fatalerror66/ffxi-a
scripts/zones/Metalworks/npcs/_6l1.lua
2
1026
----------------------------------- -- Area: Metalworks -- Door: "Blacksmith's Guild" -- @pos -95 2 29 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); ------------------------------...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/spells/ice_carol.lua
6
1498
----------------------------------------- -- Spell: Ice Carol -- Increases ice resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---------------...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/West_Ronfaure/npcs/qm1.lua
4
1441
----------------------------------- -- Area: West Ronfaure -- NPC: qm1 (???) -- Involved in Quest: The Dismayed Customer -- @pos -453 -20 -230 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/items/serving_of_crimson_jelly.lua
2
1365
----------------------------------------- -- ID: 5144 -- Item: serving_of_crimson_jelly -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 12 -- Magic Cap 85 -- Intelligence 6 -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/global...
gpl-3.0
tangzx/IntelliJ-EmmyLua
src/main/resources/std/Lua50/math.lua
2
4614
-- Copyright (c) 2018. tangzx(love.tangzx@qq.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); you may not -- use this file except in compliance with the License. You may obtain a copy of -- the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law ...
apache-2.0
kidaa/FFXIOrgins
scripts/globals/items/plate_of_tentacle_sushi_+1.lua
1
1761
----------------------------------------- -- ID: 5216 -- Item: plate_of_tentacle_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- HP 20 -- Dexterity 3 -- Agility 3 -- Mind -1 -- Accuracy % 19 (no cap on HQ) -- Ranged Accuracy % 19 (no cap on HQ) -- Double Attack 1 -----------------...
gpl-3.0
adminomega/omega
bot/utils.lua
646
23489
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
kidaa/FFXIOrgins
scripts/globals/items/plate_of_sole_sushi_+1.lua
1
1469
----------------------------------------- -- ID: 5163 -- Item: plate_of_sole_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Strength 5 -- Dexterity 6 -- Accuracy % 16 -- Ranged ACC % 16 -- Sleep Resist 5 ----------------------------------------- require("scripts/glo...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/spells/dokumori_ni.lua
8
1263
----------------------------------------- -- Spell: Dokumori: Ni ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function OnMagicCastingCheck(caster,target...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Port_Windurst/npcs/Aroro.lua
2
1822
----------------------------------- -- Area: Port Windurst -- NPC: Aroro -- Standard Merchant NPC -- @zone 240 -- @pos 18.629, -3.326, 76.404 -- Confirmed shop stock, August 2013 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; -----------------------------------...
gpl-3.0
Sumzary/yt2p
nativeapp/data/install.lua
1
4012
local cfg = require'manifestconfig' local WIN = jit.os == 'Windows' local OSX = jit.os == 'OSX' local SEP = WIN and '\\' or '/' local format, gsub = string.format, string.gsub local function capture(cmd) local f = io.popen(cmd) local s = f:read'*a' f:close() return gsub(gsub(gsub(s, '^%s+', ''), '%s+$', ''), '[\n\...
mit
infernal1200/infernal
plugins/twitter_send.lua
627
1555
do local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local client = OAuth.new(consumer_key, consumer_secret, { RequestToken = "https://api.twitter.com/oauth/request_token", AuthorizeUser = {"https://api.twitter.com/oauth/autho...
gpl-2.0
flyzjhz/openwrt-bb
feeds/luci/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config.lua
80
1153
--[[ LuCI - Lua Configuration Interface (c) 2009 Daniel Dickinson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- require("luci.controller.l...
gpl-2.0
Fatalerror66/ffxi-a
scripts/zones/Dynamis-Qufim/mobs/Antaeus.lua
2
2118
----------------------------------- -- Area: Dynamis Qufim -- NPC: Antaeus ----------------------------------- package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Qufim/TextIDs"); require("script...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Davoi/npcs/_45g.lua
4
2043
----------------------------------- -- Area: Davoi -- NPC: Groaning Pond -- Used In Quest: Whence Blows the Wind -- @zone 149 -- @pos 101 0 60 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scri...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Carpenters_Landing/npcs/Logging_Point.lua
6
1114
----------------------------------- -- Area: Carpenters Landing -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Carpenters_Landing/Text...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/moat_carp.lua
1
1264
----------------------------------------- -- ID: 4401 -- Item: moat_carp -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---------...
gpl-3.0
OmegaBolt/OpenRA
mods/ra/maps/allies-03a/allies03a.lua
18
9282
ProductionUnits = { "e1", "e1", "e2" } ProductionBuildings = { USSRBarracks1, USSRBarracks2 } TransportReinforcements = { "e1", "e1", "e1", "e2", "e2" } FirstUSSRBase = { USSRFlameTower1, USSRBarracks1, USSRPowerPlant1, USSRPowerPlant2, USSRConstructionYard1, USSRTechCenter, USSRBaseGuard1, USSRBaseGuard2, USSRBaseGuar...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/items/orange_kuchen_+1.lua
2
1267
----------------------------------------- -- ID: 4332 -- Item: orange_kuchen_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- MP % 13 (cap 80) -- MP Recovered While Healing 1 ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/spells/bluemagic/eyes_on_me.lua
4
1063
----------------------------------------- -- -- Eyes On Me -- ----------------------------------------- require("scripts/globals/magic"); require("scripts/globals/status"); require("scripts/globals/bluemagic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- funct...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Rabao/npcs/Waylea.lua
38
1048
----------------------------------- -- Area: Rabao -- NPC: Waylea -- Type: Reputation -- @zone: 247 -- @pos 12.384 4.658 -32.392 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ---------------------------------...
gpl-3.0
lundmark/lua_performance
guiddef.lua
1
2612
-- -- From guiddef.h -- local ffi = require "ffi" local C = ffi.C ffi.cdef[[ typedef struct { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID, UUID, *LPGUID; ]] ffi.cdef[[ typedef const GUID * LPCGUID; typedef const GUID * REFGUID; typedef GUID IID...
mit
kidaa/FFXIOrgins
scripts/globals/items/san_dorian_carrot.lua
1
1152
----------------------------------------- -- ID: 4389 -- Item: san_dorian_carrot -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Abyssea-Uleguerand/npcs/Veridical_Conflux.lua
18
1464
----------------------------------- -- Area: Abyssea -- NPC: Veridical Conflux -- Aybssea Teleport NPC ----------------------------------- package.loaded["scripts/globals/conflux"] = nil; require("scripts/globals/keyitems"); require("scripts/globals/conflux"); ----------------------------------- -- onTrad...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Southern_San_dOria/npcs/Alivatand.lua
2
2271
----------------------------------- -- Area: Southern San d`Oria -- NPC: Alivatand -- Type: Guildworkers Union Leather carft -- @zone: 230 -- @pos -179 0 15 ----------------------------------- -- Guild shops not implemented package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ------------------------...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua
23
1776
----------------------------------- -- Area: Northern San d'Oria -- NPC: Heruze-Moruze -- Involved in Mission: 2-3 Windurst -- @pos -56 -3 36 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"...
gpl-3.0
meshr-net/meshr_win32
usr/lib/lua/luadoc/taglet/standard.lua
93
16319
------------------------------------------------------------------------------- -- @release $Id: standard.lua,v 1.39 2007/12/21 17:50:48 tomas Exp $ ------------------------------------------------------------------------------- local assert, pairs, tostring, type = assert, pairs, tostring, type local io = require "io...
apache-2.0
Yhgenomics/premake-core
tests/actions/vstudio/vc2010/test_debug_settings.lua
9
2319
-- -- tests/actions/vstudio/vc2010/test_debug_settings.lua -- Validate handling of the working directory for debugging. -- Copyright (c) 2011-2013 Jason Perkins and the Premake project -- local suite = test.declare("vstudio_vs2010_debug_settings") local vc2010 = premake.vstudio.vc2010 local project = premak...
bsd-3-clause
Fatalerror66/ffxi-a
scripts/globals/mobskills/Antimatter.lua
8
1117
--------------------------------------------------- -- Antimatter -- -- Description: Single-target ranged Light damage (~700-1500), ignores Utsusemi. -- Type: Magical -- --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/script...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Yhoator_Jungle/npcs/Paurelde.lua
2
1473
----------------------------------- -- Area: Yhoator Jungle -- NPC: Paurelde -- Chocobo Vendor ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); ----------------------------------- -- onTrade Action ------------------------...
gpl-3.0
Yhgenomics/premake-core
tests/_tests.lua
7
5853
return { -- Base API tests "test_string.lua", "base/test_aliasing.lua", "base/test_configset.lua", "base/test_context.lua", "base/test_criteria.lua", "base/test_detoken.lua", "base/test_include.lua", "base/test_module_loader.lua", "base/test_option.lua", "base/test_os.lua", "base/test_override.l...
bsd-3-clause
ChaosForge/doomrl
bin/musichq.lua
2
2251
-- High quality remixes of the original Doom music are a courtesy of Sonic -- Clang ( http://sonicclang.ringdev.com/ ) used with permission. -- Doom the Roguelike theme, Unholy Cathedral, Final Showdown, Hells -- Weapons, Something Wicked, Of Skull And Bone, The Brick Song, and -- Too Hot Down Here tracks composed ...
gpl-2.0
jiang42/Algorithm-Implementations
Convex_hull/Lua/Yonaba/convex_hull.lua
26
1569
-- Convex hull algorithms implementation -- See : http://en.wikipedia.org/wiki/Convex_hull -- Calculates the signed area local function signedArea(p, q, r) local cross = (q.y - p.y) * (r.x - q.x) - (q.x - p.x) * (r.y - q.y) return cross end -- Checks if points p, q, r are oriented counter-clockwise ...
mit
actionless/awesome
tests/examples/text/gears/matcher/types.lua
4
2078
--DOC_HIDE --DOC_NO_USAGE local gears = {matcher = require("gears.matcher")} --DOC_HIDE local matcher = gears.matcher() --DOC_NEWLINE matcher:append_rule( "my.source", { rule = { my_any_rule = true, }, rule_every = { every1 = {1, 42}, every2 = {2, ...
gpl-2.0
Fatalerror66/ffxi-a
scripts/zones/Horlais_Peak/TextIDs.lua
4
1135
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6375; -- You cannot obtain the item <item> come back again after sorting your inventory FULL_INVENTORY_AFTER_TRADE = 6377; -- You cannot obtain the <item>. Try trading again after sorting your inventory ITEM_OBTAINED = 637...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Northern_San_dOria/npcs/_6f6.lua
2
1111
----------------------------------- -- Area: Northern San d'Oria -- Door: "Justi's Furniture" -- @zone 231 -- @pos -100.801, -3.888, 47.332 ---------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Northern_San_dOria/npcs/Narsaude.lua
36
1426
----------------------------------- -- Area: Northern San d'Oria -- NPC: Narsaude -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Tavnazian_Safehold/npcs/Travonce.lua
4
1048
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Travonce -- Type: Standard NPC -- @zone: 26 -- @pos: -89.068 -14.367 -0.030 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; -...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/nebimonite.lua
1
1351
----------------------------------------- -- ID: 4361 -- Item: nebimonite -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -3 -- Vitality 2 -- Defense % 12.9 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/truelove_chocolate.lua
1
1184
----------------------------------------- -- ID: 5231 -- Item: truelove_chocolate -- Food Effect: 4Hrs, All Races ----------------------------------------- -- MP 10 -- MP Recovered While Healing 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Lower_Jeuno/npcs/_6tb.lua
2
1085
----------------------------------- -- Area: Lower Jeuno -- Door: "Neptune's Spire" -- @zone 245 -- @pos 13.817, -1.650, -2.599 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scri...
gpl-3.0
njligames/Engine
cmake.in/ldoc.in/Thread.lua
4
2946
---- -- @file Thread ---- Brief description. -- Calculate the buffer size of this object. -- @return The buffer size. function Thread:calculateSerializeBufferSize() end ---- Brief description. -- Serialize this object. -- @param btSerializer the serializer which does the serialize. -- @return The buffer size. funct...
mit
tobspr/LUATowerDefense
towers/laser.lua
1
1582
LaserTower = Tower.create() LaserTower.__index = LaserTower LaserTower.radius = 190 LaserTower.cost = 900 LaserTower.name = "Laser Tower" LaserTower.shoot_speed = 3.0 function LaserTower.create() local instance = {} setmetatable(instance, LaserTower) return instance end function LaserTower.draw_inner_sha...
mit
Fatalerror66/ffxi-a
scripts/globals/items/gold_carp.lua
2
1257
----------------------------------------- -- ID: 4427 -- Item: gold_carp -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
Clavus/LD32
engine/util/gamestate.lua
2
3279
------------------------ -- Gamestate management functions. -- Based on [hump.gamestate](http://vrld.github.io/hump/#hump.gamestate). -- @util gamestate local gamestate = {} local __NULL__ = __NULL__ -- default gamestate produces error on every callback local state_init = setmetatable({leave = __NULL__}, {__index ...
mit
Fatalerror66/ffxi-a
scripts/globals/items/serving_of_bison_steak.lua
2
1715
----------------------------------------- -- ID: 5142 -- Item: serving_of_bison_steak -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 6 -- Agility 1 -- Intelligence -3 -- Attack % 18 -- Attack Cap 90 -- Ranged ATT % 18 -- Ranged ATT Cap 90 -- Lizard Killer 5 --------...
gpl-3.0
mosy210/G-H-O-S-T-BOT
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
flyzjhz/openwrt-bb
feeds/luci/applications/luci-pbx/luasrc/model/cbi/pbx-google.lua
146
5490
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx 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 ...
gpl-2.0
BTAxis/naev
dat/factions/spawn/proteron.lua
3
3439
include("dat/factions/spawn/common.lua") -- @brief Spawns a small patrol fleet. function spawn_patrol () local pilots = {} local r = rnd.rnd() if r < 0.5 then scom.addPilot( pilots, "Proteron Derivative", 20 ); elseif r < 0.8 then scom.addPilot( pilots, "Proteron Derivative", 20 ); ...
gpl-3.0
samueljackson92/scripts
love/roguelike/main.lua
1
1347
--Game variables must be above imports so they are avalible to all files Game = {} Game.viewSize = 512 Game.tileSize = 32 Game.logicalCellWidth = 8 Game.dimension = Game.viewSize * 1 Game.windowHeight = Game.viewSize + 70 Game.windowWidth = Game.viewSize Game.MAIN_MENU = true Game.PAUSED = false Game.viewX ...
mit
ESMAILESMAIL/farsi
plugins/inpm.lua
18
3002
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Lufaise_Meadows/npcs/Logging_Point.lua
4
1063
----------------------------------- -- Area: Lufaise Meadows -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Lufaise_Meadows/TextIDs"); ---------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/automatisation.lua
2
3637
----------------------------------- -- Author: Ezekyel -- this function is used for npcs that change position every vanadiel game day ----------------------------------- require("scripts/globals/harvest_festivals"); ----------------------------------- function OnGameDayAutomatisation() -- Storage Hole in Dav...
gpl-3.0
OmegaBolt/OpenRA
mods/ra/maps/soviet-04b/main.lua
15
4003
RunInitialActivities = function() Harvester.FindResources() Helper.Destroy() IdlingUnits() Trigger.AfterDelay(DateTime.Seconds(1), function() BringPatrol1() Trigger.AfterDelay(DateTime.Seconds(5), function() BringPatrol2() end) BuildBase() end) Utils.Do(Map.NamedActors, function(actor) if actor.Own...
gpl-3.0
evil-morfar/RCLootCouncil2
Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
1
59796
--- AceConfigDialog-3.0 generates AceGUI-3.0 based windows based on option tables. -- @class file -- @name AceConfigDialog-3.0 -- @release $Id: AceConfigDialog-3.0.lua 1277 2022-09-08 16:35:10Z nevcairiel $ local LibStub = LibStub local gui = LibStub("AceGUI-3.0") local reg = LibStub("AceConfigRegistry-3.0") local MA...
lgpl-3.0
kidaa/FFXIOrgins
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ahkk_Jharcham.lua
2
1993
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ahkk Jharcham -- Quest 'Keeping Notes' -- @pos 0.1 -1 -76 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require(...
gpl-3.0
Wedge009/wesnoth
data/ai/micro_ais/micro_ai_self_data.lua
15
3878
-- This set of functions provides a consistent way of storing Micro AI variables -- in the AI's persistent data variable. These need to be stored inside -- a [micro_ai] tag, so that they are bundled together for a given Micro AI -- together with an ai_id= key. Their existence can then be checked when setting -- up anot...
gpl-2.0
kidaa/FFXIOrgins
scripts/globals/spells/luminohelix.lua
1
1672
-------------------------------------- -- Spell: Luminohelix -- Deals light damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"...
gpl-3.0
evil-morfar/RCLootCouncil2
Libs/LibStub/LibStub.lua
184
1367
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/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 THIS AN SVN REVI...
lgpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Port_Windurst/npcs/Sattsuh_Ahkanpari.lua
36
1598
----------------------------------- -- Area: Port Windurst -- NPC: Sattsuh Ahkanpari -- Regional Marchant NPC -- Only sells when Windurst controlls Elshimo Uplands -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); p...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Windurst_Walls/npcs/Trail_Markings.lua
2
2791
----------------------------------- -- Area: Windurst Walls -- NPC: Trail Markings -- Dynamis-Windurst Enter -- @pos -216 0 -94 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Bibiki_Bay/Zone.lua
1
3756
----------------------------------- -- -- Zone: Bibiki_Bay (4) -- ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/zones/Bibiki_Bay/TextIDs"); ---...
gpl-3.0
mys007/nn
SpatialFullConvolution.lua
42
1589
local SpatialFullConvolution, parent = torch.class('nn.SpatialFullConvolution','nn.Module') function SpatialFullConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH) parent.__init(self) dW = dW or 1 dH = dH or 1 self.nInputPlane = nInputPlane self.nOutputPlane = nOutputPlane self.kW = kW ...
bsd-3-clause
kidaa/FFXIOrgins
scripts/zones/Southern_San_dOria/npcs/Emoussine.lua
2
1734
----------------------------------- -- Area: Southern San d'Oria -- NPC: Emoussine -- Chocobo Vendor -- zone 230 -- @pos -11 1 -100 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); ----------------------------------- -- on...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/items/sazanbaligi.lua
3
1198
----------------------------------------- -- ID: 5459 -- Item: Sazanbaligi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 4 -- Mind -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/abilities/addendum_white.lua
4
1065
----------------------------------- -- Ability: Addendum: White ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- OnUseAbility ----------------------------------- function OnAbilityCheck(player,target,ability) if player...
gpl-3.0
meshr-net/meshr_win32
usr/lib/lua/luci/model/cbi/firewall/forward-details.lua
2
3983
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id: forward-...
apache-2.0
rigeirani/1kh
plugins/inpm.lua
33
2992
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
Fatalerror66/ffxi-a
scripts/zones/Cape_Teriggan/Zone.lua
2
1925
----------------------------------- -- -- Zone: Cape_Teriggan (113) -- ----------------------------------- package.loaded[ "scripts/zones/Cape_Teriggan/TextIDs"] = nil; require("scripts/zones/Cape_Teriggan/TextIDs"); require("scripts/globals/icanheararainbow"); require("scripts/globals/weather"); -------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/items/bowl_of_optical_soup.lua
2
1509
----------------------------------------- -- ID: 4340 -- Item: bowl_of_optical_soup -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP % 6 (cap 75) -- Charisma -15 -- HP Recovered While Healing 5 -- Accuracy 15 -- Ranged Accuracy 15 ----------------------------------------- req...
gpl-3.0
LinJiarui/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
Fatalerror66/ffxi-a
scripts/zones/Selbina/npcs/Graegham.lua
2
1076
----------------------------------- -- Area: Selbina -- NPC: Graegham -- Type: Guild Merchant Fishing Guild -- @zone 248 -- @pos -12.423, -7.287, 8.665 ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Selbina/TextIDs"); ----------------------------------- --...
gpl-3.0
tltneon/nsplugins
plugins/crafting/entities/entities/nut_craftingtable.lua
2
1959
ENT.Type = "anim" ENT.PrintName = "Crafting Table" ENT.Author = "Black Tea" ENT.Spawnable = true ENT.AdminOnly = true ENT.Category = "NutScript" ENT.RenderGroup = RENDERGROUP_BOTH if (SERVER) then function ENT:Initialize() self:SetModel("models/props_c17/FurnitureTable002a.mdl") self:PhysicsInit(SOLID_VPHYSICS)...
gpl-2.0
Segs/Segs
Data/scripts/City_02_01/entities.lua
3
2082
--- Steel Canyon local spawnOnce = false -- Called after MOTD for now. function player_connected(id) --Id is player entity Id printDebug('player_connected Id: ' .. tostring(id)) Contacts.SpawnContacts('Steel Canyon') if spawnOnce == false then --spinners gather location data spinSpaw...
bsd-3-clause
tangzx/IntelliJ-EmmyLua
src/main/resources/std/Lua50/io.lua
2
7510
-- Copyright (c) 2018. tangzx(love.tangzx@qq.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); you may not -- use this file except in compliance with the License. You may obtain a copy of -- the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law ...
apache-2.0
actionless/awesome
tests/examples/wibox/layout/template.lua
5
3075
local file_path, image_path = ... require("_common_template")(...) local wibox = require( "wibox" ) local color = require( "gears.color" ) local beautiful = require( "beautiful" ) local unpack = unpack or table.unpack -- luacheck: globals unpack (compatibility with Lua 5.1) -- Create a generi...
gpl-2.0
Fatalerror66/ffxi-a
scripts/zones/Bastok_Markets_[S]/Zone.lua
2
1288
----------------------------------- -- -- Zone: Bastok_Markets_[S] (87) -- ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Markets_[S]/TextIDs"); ----------------------------------- -- o...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/mobskills/Lunar_Cry.lua
6
1077
--------------------------------------------------- -- Lunar Roar -- Fenrir removes two beneficial status effects from enemies within Area of Effect. --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpm...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Bastok_Mines/npcs/Selliste.lua
2
1060
----------------------------------- -- Area: Bastok Mines -- NPC: Selliste -- @zone 234 -- @pos 83.808, 6.999, -6.868 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/B...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/abilities/pets/sand_breath.lua
6
1257
--------------------------------------------------- -- Sand Breath --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); --------------------------------------------------- function OnAbility...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/weaponskills/spirits_within.lua
2
1163
----------------------------------- -- Spirits Within -- Sword weapon skill -- Spirits Within Sword Weapon Skill -- TrolandAdded by Troland -- Skill Level: 175 -- Delivers an unavoidable attack. Damage varies with HP and TP. -- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of ...
gpl-3.0
tltneon/nsplugins
plugins/talknpc/derma/sh_advhandler.lua
3
6229
local PLUGIN = PLUGIN nut.plugin = nut.plugin or {} nut.plugin.list = nut.plugin.list or {} --PrintTable(nut.plugin.list.quests) local questPLUGIN = nut.plugin.list.quests--nut.plugins.list( "quests" ) if not questPLUGIN then print( 'quest_honeya example will not work properly without "quest" plugin.' ) end /*-------...
gpl-2.0
zhangshiqian1214/skynet
lualib/skynet/db/redis/crc16.lua
30
2687
--/* -- This is the CRC16 algorithm used by Redis Cluster to hash keys. -- Implementation according to CCITT standards. -- -- This is actually the XMODEM CRC 16 algorithm, using the -- following parameters: -- -- Name : "XMODEM", also known as "ZMODEM", "CRC-16/ACORN" -- Width ...
mit
Clavus/LD32
game/words/E Words.lua
1
46625
return [[each eachwhere eadish eager eagerly eagerness eagle eagles eaglet eaglets eaglewood eaglewoods eagre eagres eanling ear earache earaches earbash earbashed earbashes earbashing earbob earbobs earcon earcons earded earding eardrop eardrops eardrum eardrums eards eared earflap earflaps earful earfuls earing earin...
mit
Fatalerror66/ffxi-a
scripts/zones/Port_Windurst/npcs/Pichichi.lua
36
2675
----------------------------------- -- Area: Port Windurst -- NPC: Pichichi ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/Port_W...
gpl-3.0
Fatalerror66/ffxi-a
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
kidaa/FFXIOrgins
scripts/zones/Windurst_Woods/npcs/Varun.lua
19
2170
----------------------------------- -- Area: Windurst Woods -- NPC: Varun -- Type: Standard NPC -- @zone: 241 -- @pos 7.800 -3.5 -10.064 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/z...
gpl-3.0