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
soumith/gfx.js
clients/torch/js.lua
4
13146
-- -- A client to gfx.js -- require 'image' require 'pl' local json = require 'cjson' local Template = require('pl.text').Template local gm = require 'graphicsmagick' text.format_operator() local js = {} js.static = os.getenv('HOME') .. '/.gfx.js/static/data/' js.template = os.getenv('HOME') .. '/.gfx.js/templates/'...
mit
boyuegame/skynet
service/bootstrap.lua
29
1191
local skynet = require "skynet" local harbor = require "skynet.harbor" require "skynet.manager" -- import skynet.launch, ... local memory = require "memory" skynet.start(function() local sharestring = tonumber(skynet.getenv "sharestring") memory.ssexpand(sharestring or 4096) local standalone = skynet.getenv "stand...
mit
salamader/ffxi-a
scripts/zones/Temenos/mobs/Orichalcum_Quadav.lua
2
1618
----------------------------------- -- Area: Temenos -- NPC: Orichalcum Quadav ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------...
gpl-3.0
salamader/ffxi-a
scripts/zones/Gusgen_Mines/npcs/Clay.lua
3
1213
----------------------------------- -- Area: Gusgen Mines -- NPC: Clay -- involved in quest A Potter's Preference -- pos x:117 y:-21 z:432 ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/globals/settings"); package.loaded["scripts/zo...
gpl-3.0
poire-z/koreader
plugins/calibre.koplugin/parser.lua
7
2711
-- A parser for metadata.calibre local util = require("util") -- removes leading and closing characters and converts hex-unicodes local function replaceHexChars(s, n, j) local l = string.len(s) if string.sub(s, l, l) == "\"" then s = string.sub(s, n, string.len(s)-1) else s = string.sub(s, ...
agpl-3.0
KohaiKhaos/modified-MWDF
MWDF Project/Dwarf Fortress/hack/scripts/fix/population-cap.lua
2
1692
-- Tells mountainhomes your pop. to avoid overshoot --[====[ fix/population-cap ================== Run this after every migrant wave to ensure your population cap is not exceeded. The reason for population cap problems is that the population value it is compared against comes from the last dwarven caravan t...
mit
mahdikord/mahdib6
plugins/admin.lua
46
6101
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(receiver, '...
gpl-2.0
Baylamon/Illarion-Content
triggerfield/northernislands_air_661.lua
4
1249
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
salamader/ffxi-a
scripts/globals/shop.lua
4
2273
----------------------------------- -- Author: Dia -- -- Functions for Shop system ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/conquest"); ----------------------------------- -- Nations ----------------------------------- SANDORIA = 0; BASTOK = 1;...
gpl-3.0
remspoor/nodemcu-firmware
lua_modules/ds18b20/ds18b20.lua
10
3486
-------------------------------------------------------------------------------- -- DS18B20 one wire module for NODEMCU -- NODEMCU TEAM -- LICENCE: http://opensource.org/licenses/MIT -- Vowstar <vowstar@nodemcu.com> -- 2015/02/14 sza2 <sza2trash@gmail.com> Fix for negative values ---------------------------------------...
mit
disslove/J.R-Bot
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
salamader/ffxi-a
scripts/zones/QuBia_Arena/Zone.lua
2
1275
----------------------------------- -- -- Zone: QuBia_Arena (206) -- ----------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/QuBia_Arena/TextIDs"); ----------------------------------- -- onInitialize -------...
gpl-3.0
salamader/ffxi-a
scripts/zones/Lower_Jeuno/npcs/Alrauverat.lua
2
3648
----------------------------------- -- Area: Lower Jeuno -- NPC: Alrauverat -- @zone 245 -- @pos -101, 0, -182 ------------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/sta...
gpl-3.0
Piotr3k1447/forgottenserver
data/scripts/actions/others/melting_horn.lua
7
1516
local meltingHorn = Action() function meltingHorn.onUse(player, item, fromPosition, target, toPosition, isHotkey) if not player:isPremium() then player:sendCancelMessage(RETURNVALUE_YOUNEEDPREMIUMACCOUNT) return true end if player:hasMount(38) then player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You already ha...
gpl-2.0
Baylamon/Illarion-Content
monster/race_79_trolls/mountain.lua
2
1190
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
salamader/ffxi-a
scripts/zones/Davoi/npcs/_45h.lua
4
2048
----------------------------------- -- Area: Davoi -- NPC: Howling Pond -- Used In Quest: Whence Blows the Wind -- @zone 149 -- @pos 21 0 -258 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scri...
gpl-3.0
salamader/ffxi-a
scripts/zones/Lower_Jeuno/npcs/Aldo.lua
2
2083
----------------------------------- -- Area: Lower Jeuno -- NPC: Aldo -- Involved in Mission: Magicite, -- Return to Delkfutt's Tower (ZM) -- @zone 245 -- @pos 20, 3, -58 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
salamader/ffxi-a
scripts/zones/Abyssea-Attohwa/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
salamader/ffxi-a
scripts/zones/Garlaige_Citadel/npcs/_5k0.lua
2
1356
----------------------------------- -- Area: Garlaige Citadel -- NPC: Banishing Gate #1 -- @zone 200 -- @pos -201.000 -2.994 220 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Garlaige_Citadel/Text...
gpl-3.0
salamader/ffxi-a
scripts/zones/Port_Jeuno/npcs/Kindlix.lua
2
1446
----------------------------------- -- Area: Port Jeuno -- NPC: Kindlix -- Standard Merchant NPC -- @zone 246 -- @pos -18.82, 4, 23.302 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("...
gpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/API/VehicleData/GenericNetworkSignalData/050_VD_processing_wo_vehicle_data_in_preloaded.lua
1
3025
--------------------------------------------------------------------------------------------------- -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0173-Read-Generic-Network-Signal-data.md -- -- Description: Processing of RPC spec VD in case sdl_preloaded_pt file does not contain veh...
bsd-3-clause
ddumont/darkstar
scripts/zones/Mount_Kamihr/Zone.lua
30
1254
----------------------------------- -- -- Zone: Mount Kamihr -- ----------------------------------- package.loaded["scripts/zones/Mount_Kamihr/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Mount_Kamihr/TextIDs"); ----------------------------------- --...
gpl-3.0
Squeakz/darkstar
scripts/zones/Mount_Kamihr/Zone.lua
30
1254
----------------------------------- -- -- Zone: Mount Kamihr -- ----------------------------------- package.loaded["scripts/zones/Mount_Kamihr/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Mount_Kamihr/TextIDs"); ----------------------------------- --...
gpl-3.0
Squeakz/darkstar
scripts/zones/Windurst_Waters/npcs/Tosuka-Porika.lua
13
6103
----------------------------------- -- Area: Windurst Waters -- NPC: Tosuka-Porika -- Starts Quests: Early Bird Catches the Bookworm, Chasing Tales -- Involved in Quests: Hat in Hand, Past Reflections, Blessed Radiance -- Involved in Missions: Windurst 2-1, Windurst 7-1, Windurst 8-2, CoP 3-3 -- @pos -26 -...
gpl-3.0
ddumont/darkstar
scripts/zones/Selbina/npcs/Explorer_Moogle.lua
17
1855
----------------------------------- -- Area: Selbina -- NPC: Explorer Moogle ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/teleports"...
gpl-3.0
ddumont/darkstar
scripts/zones/Abyssea-Konschtat/npcs/qm13.lua
4
1983
----------------------------------- -- Zone: Abyssea-Konschtat -- NPC: qm13 (???) -- Spawns Eccentric Eve -- @pos ? ? ? 15 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action -------------------------------...
gpl-3.0
exgile/neural-style
neural_style.lua
19
11788
require 'torch' require 'nn' require 'image' require 'optim' local loadcaffe_wrap = require 'loadcaffe_wrapper' -------------------------------------------------------------------------------- local cmd = torch.CmdLine() -- Basic options cmd:option('-style_image', 'examples/inputs/seated-nude.jpg', 'Styl...
mit
felipejfc/n-wax
tools/Tests/scripts/tests/structTest.lua
1
3344
describe["Unpacking structs"] = function() before = function() Structs = wax.class["Structs"] end it["can upack a single value struct"] = function() local struct = wax.struct.unpack(Structs:numberFive()) expect( #struct ).should_be(1) expect( struct[1] ).should_be(5) end it["can upack a ...
mit
smartdevicelink/sdl_atf_test_scripts
test_scripts/Defects/8_2/3909_vrHelp_resumption_after_ResetGlobalProperties.lua
1
4250
--------------------------------------------------------------------------------------------------- -- Issue: https://github.com/smartdevicelink/sdl_core/issues/3909 --------------------------------------------------------------------------------------------------- -- Description: -- Check that vrHelp items are saved a...
bsd-3-clause
Squeakz/darkstar
scripts/zones/Dynamis-San_dOria/mobs/Wyrmgnasher_Bjakdek.lua
4
1086
----------------------------------- -- Area: Dynamis San d'Oria -- NPC: Wyrmgnasher Bjakdek -- Boss Trigger for Overlord's Tombstone ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ------------------------...
gpl-3.0
ddumont/darkstar
scripts/globals/spells/knights_minne_v.lua
27
1498
----------------------------------------- -- Spell: Knight's Minne V -- Grants Defense bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(cast...
gpl-3.0
jlcvp/otxserver
data/monster/quests/grave_danger/bosses/duke_krule.lua
2
4225
local mType = Game.createMonsterType("Duke Krule") local monster = {} monster.description = "a Duke Krule" monster.experience = 46300 monster.outfit = { lookType = 1221, lookHead = 8, lookBody = 8, lookLegs = 19, lookFeet = 79, lookAddons = 3, lookMount = 0 } monster.health = 50000 monster.maxHealth = 50000 mo...
gpl-2.0
yeewang/openwrt-luci
contrib/luasrcdiet/lua/optlex.lua
125
31588
--[[-------------------------------------------------------------------- optlex.lua: does lexer-based optimizations This file is part of LuaSrcDiet. Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net> The COPYRIGHT file describes the conditions under which this software may be distributed. See the Chan...
apache-2.0
ddumont/darkstar
scripts/zones/Lower_Jeuno/npcs/Sniggnix.lua
14
2347
----------------------------------- -- Area: Lower Jeuno -- NPC: Sniggnix -- Type: Standard NPC -- @zone 245 -- @pos -45.832 4.498 -135.029 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; -------------------...
gpl-3.0
Squeakz/darkstar
scripts/zones/Metalworks/npcs/_6ld.lua
13
1314
----------------------------------- -- Area: Metalworks -- Door: _6ld (President's Office) -- @pos 92 -19 0.1 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Metalworks/Text...
gpl-3.0
roysc/awesome
lib/wibox/layout/rotate.lua
2
3578
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2010 Uli Schlachter -- @release @AWESOME_VERSION@ -- @classmod wibox.layout.rotate --------------------------------------------------------------------------- local error = error local pairs = pairs loca...
gpl-2.0
pyrun/TileGameCoop
res/objects/enemy/cloud_walker/script.lua
1
2957
local object1 = -1 local object2 = -1 local object3 = -1 int_xpos = {} int_ypos = {} local counter = 0 local speed = 0.032 function vertexhit( id) if getVertexHit( id, 1) then setAnimationDirection( id, false) end if getVertexHit( id, 2) then setAnimationDirection( id, true) end down1 = getVertexHit( id, ...
gpl-3.0
felipejfc/n-wax
tools/Tests/scripts/tests/xmlTest.lua
17
4693
describe["XML parsing"] = function() it["parses empty tag"] = function() local result = wax.xml.parse("<name></name>") expect(type(result)).should_be("table") expect(type(result.name)).should_be("table") expect(result.text).should_be(nil) end it["parses tag with content"] = function() ...
mit
ddumont/darkstar
scripts/zones/Windurst_Waters/npcs/Angelica.lua
14
5826
----------------------------------- -- Area: Windurst Waters -- NPC: Angelica -- Starts and Finished Quest: A Pose By Any Other Name -- Working 100% -- @zone = 238 -- @pos = -70 -10 -6 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -------------------------------...
gpl-3.0
Squeakz/darkstar
scripts/zones/Lower_Jeuno/npcs/Caruvinda.lua
14
4407
----------------------------------- -- Area: Lower Jeuno -- NPC: Caruvinda -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/armorstorage"] = nil; ----------------------------------- require("scripts/globals/settings"); r...
gpl-3.0
ddumont/darkstar
scripts/globals/items/cone_of_homemade_gelato.lua
12
1875
----------------------------------------- -- ID: 5223 -- Item: cone_of_homemade_gelato -- Food Effect: 30Min, All Races ----------------------------------------- -- Intelligence 1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) --------------------------...
gpl-3.0
Squeakz/darkstar
scripts/zones/Leujaoam_Sanctum/instances/leujaoam_cleansing.lua
28
2422
----------------------------------- -- -- Assault: Leujaoam Cleansing -- ----------------------------------- require("scripts/globals/instance") local Leujaoam = require("scripts/zones/Leujaoam_Sanctum/IDs"); ----------------------------------- -- afterInstanceRegister ----------------------------------- function ...
gpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/AppServices/GetAppServiceData/017_H2M_MediaImage_success.lua
1
4775
--------------------------------------------------------------------------------------------------- -- Precondition: -- 1) Application with <appID> is registered on SDL. -- 2) Specific permissions are assigned for <appID> with GetAppServiceData -- 3) Application has published a MEDIA service -- 4) Application doe...
bsd-3-clause
Squeakz/darkstar
scripts/zones/Bastok_Markets/npcs/Sinon.lua
14
4321
----------------------------------- -- Area: Bastok Markets -- NPC: Sinon -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/armorstorage"); require("scrip...
gpl-3.0
nicesource/powersource
plugins/banhammer.lua
34
11497
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
jlcvp/otxserver
data/monster/raids/orc_helmet.lua
2
3360
local mType = Game.createMonsterType("Orc Helmet") local monster = {} monster.name = "Orc Warlord" monster.description = "an orc warlord" monster.experience = 670 monster.outfit = { lookType = 2, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.health = 950 monste...
gpl-2.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/Defects/8_1/3838/3838_5_SDL_does_not_send_UI.ClosePopUp_BOTH_mode_in_case_VR.PerformInteraction_without_choiceID.lua
1
4800
--------------------------------------------------------------------------------------------------- -- Issue: https://github.com/SmartDeviceLink/sdl_core/issues/3838 --------------------------------------------------------------------------------------------------- -- Description: Check that SDL does not send UI.CloseP...
bsd-3-clause
smartdevicelink/sdl_atf_test_scripts
test_scripts/RC/MultipleModules/ModulesAllocation/003_No_multipleAccess_AUTO_ALLOW_userLocation_is_driver.lua
1
4053
--------------------------------------------------------------------------------------------------- -- Proposal: -- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0221-multiple-modules.md -- Description: -- Check allocation/reallocation of RC module to mobile application in case: -- - RC modul...
bsd-3-clause
gamestdio/colyseus.lua
coronasdk-example/dmc_corona/lib/dmc_lua/lua_objects.lua
44
4827
--====================================================================-- -- dmc_lua/lua_objects.lua -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright (c) 2011-2015 David McCuskey Permission is hereby gran...
mit
jchuang1977/luci-1
modules/luci-base/luasrc/tools/webadmin.lua
59
2301
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.tools.webadmin", package.seeall) local util = require "luci.util" local uci = require "luci.model.uci" local ip = require "luci.ip" func...
apache-2.0
ddumont/darkstar
scripts/zones/Kazham/npcs/Bhi_Telifahgo.lua
17
1071
----------------------------------- -- Area: Kazham -- NPC: Bhi Telifahgo -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- f...
gpl-3.0
jlcvp/otxserver
data/monster/humanoids/shaper_matriarch.lua
2
3911
local mType = Game.createMonsterType("Shaper Matriarch") local monster = {} monster.description = "a shaper matriarch" monster.experience = 1650 monster.outfit = { lookType = 933, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.raceId = 1394 monster.Bestiary = { ...
gpl-2.0
ddumont/darkstar
scripts/zones/Gusgen_Mines/npcs/_5g0.lua
14
1099
----------------------------------- -- Area: Gusgen Mines -- NPC: _5g0 (Door C) -- @pos 44 -42.4 -25.5 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); -------------------------------...
gpl-3.0
hexafraction/minetest
games/minimal/mods/bucket/init.lua
1
2642
-- bucket (Minetest 0.4 mod) -- A bucket, which can pick up water and lava minetest.register_alias("bucket", "bucket:bucket_empty") minetest.register_alias("bucket_water", "bucket:bucket_water") minetest.register_alias("bucket_lava", "bucket:bucket_lava") minetest.register_craft({ output = 'bucket:bucket_empty 1', ...
gpl-3.0
Squeakz/darkstar
scripts/globals/abilities/box_step.lua
11
7890
----------------------------------- -- Ability: Box Step -- Lowers target's defense. If successful, you will earn two Finishing Moves. -- Obtained: Dancer Level 30 -- TP Required: 10% -- Recast Time: 00:05 -- Duration: First Step lasts 1 minute, each following Step extends its current duration by 30 seconds. ----------...
gpl-3.0
Squeakz/darkstar
scripts/zones/Metalworks/npcs/Franziska.lua
15
1120
----------------------------------- -- Area: Metalworks -- NPC: Franziska -- Type: Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); ----------------------------------- -- on...
gpl-3.0
Schwertspize/Essentials
homes.lua
1
2254
function HandleHomeCommand(Split, Player) username = Player:GetUUID() if Split[2] ~= nil and Player:HasPermission("es.home.unlimited") == true and file_exists(homeDir..'/'..username..'.'..Split[2]) == true then coords = lines_from(homeDir..'/'..username..'.'..Split[2]) Player:SendMessageSuccess('Teleporting you t...
apache-2.0
ddumont/darkstar
scripts/zones/Giddeus/npcs/Giddeus_Spring.lua
14
1425
----------------------------------- -- Area: Giddeus -- NPC: Giddeus Spring -- Involved in Quest "Water Way to Go" -- @pos -258 -2 -249 -- @zone 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requir...
gpl-3.0
Squeakz/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Yurim.lua
13
20071
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Yurim -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/zones/Tavnazian_Safehold/TextI...
gpl-3.0
kennethlombardi/moai-graphics
engine/editor/createHappyLayer.lua
1
1072
dofile("Pickle.lua") layer1 = { type = "Layer", name = "happyLayer.lua", visible = "true", propContainer = {}, position = {x = 0, y = 0, z = 0}, scripts = {"3DCameraMovement.lua"} }; --happy scale = 5; happy = { type = "Model", fileName = "happy_lowres_cleaned.obj", ...
mit
Squeakz/darkstar
scripts/zones/Northern_San_dOria/npcs/Beadurinc.lua
53
1875
----------------------------------- -- Area: Northern San d'Oria -- NPC: Beadurinc -- Type: Smithing Synthesis Image Support -- @pos -182.300 10.999 146.650 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
jlcvp/otxserver
data/monster/quests/the_curse_spreads/darkfang.lua
2
4316
local mType = Game.createMonsterType("Darkfang") local monster = {} monster.description = "a darkfang" monster.experience = 4000 monster.outfit = { lookType = 308, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.health = 4800 monster.maxHealth = 4800 monster.race...
gpl-2.0
Planimeter/grid-sdk
game/client/gui/hudchattextbox.lua
1
2462
--=========== Copyright © 2019, Planimeter, All rights reserved. ===========-- -- -- Purpose: Chat Text Box HUD -- --==========================================================================-- class "gui.hudchattextbox" ( "gui.textbox" ) local hudchattextbox = gui.hudchattextbox function hudchattextbox:hudchattextb...
mit
ddumont/darkstar
scripts/zones/The_Colosseum/Zone.lua
17
1094
----------------------------------- -- -- Zone: The_Colosseum -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/The_Colosseum/TextIDs"] = nil; require("scripts/zones/The_Colosseum/TextIDs"); ----------------------------------- -- onInitialize ----------------...
gpl-3.0
jlcvp/otxserver
data/monster/aquatics/deepling_warrior.lua
2
3244
local mType = Game.createMonsterType("Deepling Warrior") local monster = {} monster.description = "a deepling warrior" monster.experience = 1500 monster.outfit = { lookType = 441, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0, lookMount = 0 } monster.raceId = 769 monster.Bestiary = { ...
gpl-2.0
Squeakz/darkstar
scripts/zones/Selbina/npcs/Tilala.lua
13
1151
----------------------------------- -- Area: Selbina -- NPC: Tilala -- Guild Merchant NPC: Clothcrafting Guild -- @pos 14.344 -7.912 10.276 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("...
gpl-3.0
ddumont/darkstar
scripts/zones/Yuhtunga_Jungle/Zone.lua
12
4004
----------------------------------- -- -- Zone: Yuhtunga_Jungle (123) -- ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Yuhtunga_Jungle/TextIDs"); requ...
gpl-3.0
Squeakz/darkstar
scripts/zones/Windurst_Woods/npcs/Valeriano.lua
17
1692
----------------------------------- -- Area: Windurst_Woods -- NPC: Valeriano -- Standard Merchant NPC -- Working 100% -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst...
gpl-3.0
ddumont/darkstar
scripts/zones/Abyssea-Tahrongi/npcs/qm15.lua
14
1566
----------------------------------- -- Zone: Abyssea-Tahrongi -- NPC: ??? -- Spawns Lacovie -- @pos ? ? ? 45 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- function...
gpl-3.0
ddumont/darkstar
scripts/zones/Lower_Jeuno/npcs/Susu.lua
17
1634
----------------------------------- -- Area: Lower Jeuno -- NPC: Susu -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTrade Ac...
gpl-3.0
ddumont/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm7.lua
14
1348
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm7 (???) -- Spawns Veri Selen -- @pos ? ? ? 253 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) ...
gpl-3.0
Squeakz/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20u.lua
26
3263
----------------------------------- -- Area: Alzadaal Undersea Ruins -- Door: Gilded Gateway (Arrapago) -- @pos -580 0 -159 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("sc...
gpl-3.0
Squeakz/darkstar
scripts/globals/weaponskills/requiescat.lua
10
1317
----------------------------------- -- Requiescat -- Sword weapon skill -- Skill level: MERIT -- Delivers a five-hit attack. Attack power varies with TP. -- Element: None -- Modifiers: MND:73~85% -- 100%TP 200%TP 300%TP -- ALL 1.0 ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
legatvs/libquvi-scripts
share/media/audioboo.lua
3
2152
-- libquvi-scripts -- Copyright (C) 2011-2013 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GNU Affero General Public -- License as published by the Fre...
agpl-3.0
Squeakz/darkstar
scripts/zones/Port_Jeuno/npcs/qm1.lua
13
2489
----------------------------------- -- Area: Port Jeuno -- NPC: ??? -- Finish Quest: Borghertz's Hands (AF Hands, Many job) -- @zone 246 -- @pos -51 8 -4 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ----------------------...
gpl-3.0
ddumont/darkstar
scripts/zones/Bastok_Markets/npcs/Offa.lua
14
1306
----------------------------------- -- Area: Bastok Markets -- NPC: Offa -- Type: Quest NPC -- @pos -281.628 -16.971 -140.607 235 -- -- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = ni...
gpl-3.0
ddumont/darkstar
scripts/globals/items/mug_of_honeyed_egg.lua
12
1284
----------------------------------------- -- ID: 5739 -- Item: mug_of_honeyed_egg -- Food Effect: 30Min, All Races ----------------------------------------- -- MP 8 -- Intelligence 1 -- MP recovered while healing 1 ----------------------------------------- require("scripts/globals/status"); --------------------------...
gpl-3.0
ddumont/darkstar
scripts/zones/Port_Bastok/npcs/Klaus.lua
14
1029
----------------------------------- -- Area: Port Bastok -- NPC: Klaus -- Type: Standard NPC -- @pos -89.355 -3.611 -15.256 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Bastok/TextIDs"); ---------...
gpl-3.0
ddumont/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/_545.lua
17
1574
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Notes: Involved in Missions: THREE_PATHS ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requir...
gpl-3.0
ddumont/darkstar
scripts/zones/Windurst_Woods/npcs/Mheca_Khetashipah.lua
14
1059
----------------------------------- -- Area: Windurst Woods -- NPC: Mheca Khetashipah -- Type: Standard NPC -- @zone 241 -- @pos 66.881 -6.249 185.752 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -----...
gpl-3.0
Squeakz/darkstar
scripts/zones/Bastok_Markets/npcs/Raghd.lua
16
1292
----------------------------------- -- Area: Bastok Markets -- NPC: Raghd -- 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; require("scripts/zon...
gpl-3.0
ddumont/darkstar
scripts/zones/Port_Jeuno/npcs/Rinzei.lua
17
1375
----------------------------------- -- Area: Port Jeuno -- NPC: Rinzei -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); require("scripts/globals/quests"); ----------------...
gpl-3.0
Squeakz/darkstar
scripts/globals/items/pitcher_of_homemade_herbal_tea.lua
18
1116
----------------------------------------- -- ID: 5221 -- Item: pitcher_of_homemade_herbal_tea -- Food Effect: 30Min, All Races ----------------------------------------- -- Charisma 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
rodoviario/wordgrinder
tests/smartquotes-selection.lua
3
1035
require("tests/testsuite") DocumentSet.addons.smartquotes.singlequotes = false DocumentSet.addons.smartquotes.doublequotes = false DocumentSet.addons.smartquotes.notinraw = true Cmd.InsertStringIntoParagraph("'Hello, world!'") Cmd.SplitCurrentParagraph() Cmd.InsertStringIntoParagraph('"Hello, world!"') Cmd.SplitCurre...
mit
Squeakz/darkstar
scripts/zones/Kazham/npcs/Kakapp.lua
13
3339
----------------------------------- -- Area: Kazham -- NPC: Kakapp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- -- item ...
gpl-3.0
ddumont/darkstar
scripts/globals/abilities/thunder_shot.lua
9
2898
----------------------------------- -- Ability: Thunder Shot -- Consumes a Thunder Card to enhance lightning-based debuffs. Deals lightning-based magic damage -- Shock Effect: Enhanced DoT and MND- ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scri...
gpl-3.0
ddumont/darkstar
scripts/zones/Southern_San_dOria/npcs/Estiliphire.lua
14
1290
----------------------------------- -- Area: Southern Sandoria -- NPC: Estiliphire -- Type: Event Sideshow NPC -- @zone 230 -- @pos -41.550 1.999 -2.845 -- ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zone...
gpl-3.0
ddumont/darkstar
scripts/zones/Temenos/mobs/Skadi.lua
28
1192
----------------------------------- -- Area: Temenos N T -- NPC: Skadi ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------------------- --...
gpl-3.0
ddumont/darkstar
scripts/globals/items/sakura_biscuit.lua
12
1276
----------------------------------------- -- ID: 6010 -- Item: Sakura Biscuit -- Food Effect: 30Min, All Races ----------------------------------------- -- Intelligence 3 -- Charisma 2 -- Evasion +2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- ...
gpl-3.0
LuaDist2/validate-args
tests/default_spec.lua
1
2805
local va = require( 'validate.args' ) local validate = va.validate local validate_opts = va.validate_opts local setup = require 'setup' describe( "%pos", function () before_each( setup ) it( "%named", function () local template = { ['%named'] = function( k, v, vfargs ) return true, { opt...
gpl-3.0
smartdevicelink/sdl_atf_test_scripts
test_scripts/API/IsReady/TTS_IsReady/NotUsed/ATF_TTS_IsReady_NotRespond_Split_RPC_APPLINK_25139_WRONG_LANGUAGE.lua
1
52721
config.defaultProtocolVersion = 2 --------------------------------------------------------------------------------------------- ---------------------------- Required Shared libraries -------------------------------------- --------------------------------------------------------------------------------------------- lo...
bsd-3-clause
kennethlombardi/moai-graphics
engine/resources/lua/InputManager.lua
1
5323
local Input = {}; Input.Mouse = nil; Input.Keyboard = nil; Input.Android = nil; Key = {}; Key["backspace"] = 8; --Key["tab"] = 9; --Key["enter"] = 13; Key["shift"] = 16; --Key["ctrl"] = 17; --Key["alt"] = 18; Key["CTRL+S"] = 19;--Key["pause"] = 19; --Key["caps lock"] = 20 Key["esc"] = 27; Key["SPACE"] = 32; --Key["pag...
mit
NickSavage/koreader
frontend/apps/reader/modules/readergoto.lua
1
3673
local InputContainer = require("ui/widget/container/inputcontainer") local InputDialog = require("ui/widget/inputdialog") local UIManager = require("ui/uimanager") local Event = require("ui/event") local _ = require("gettext") local SkimToWidget = require("frontend/apps/reader/skimtowidget") local ReaderGoto = InputCo...
agpl-3.0
alepharchives/upb
dynasm/dynasm.lua
1
30427
------------------------------------------------------------------------------ -- DynASM. A dynamic assembler for code generation engines. -- Originally designed and implemented for LuaJIT. -- -- Copyright (C) 2005-2011 Mike Pall. All rights reserved. -- See below for full copyright notice. ----------------------------...
bsd-3-clause
ddumont/darkstar
scripts/globals/abilities/ebullience.lua
27
1106
----------------------------------- -- Ability: Ebullience -- Enhances the potency of your next black magic spell. -- Obtained: Scholar Level 55 -- Recast Time: Stratagem Charge -- Duration: 1 black magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge -- ----- -------- --...
gpl-3.0
ff-kbu/fff-luci
modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua
55
8246
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-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 htt...
apache-2.0
ddumont/darkstar
scripts/globals/items/plate_of_patlican_salata_+1.lua
12
1365
----------------------------------------- -- ID: 5583 -- Item: plate_of_patlican_salata_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Agility 5 -- Vitality -2 -- Evasion +7 -- hHP +3 ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
ddumont/darkstar
scripts/globals/mobskills/Gigaflare.lua
37
1686
--------------------------------------------- -- Gigaflare -- Family: Bahamut -- Description: Deals massive Fire damage to enemies within a fan-shaped area. -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: -- Notes: Used by Bahamut when at 10% of its HP, and can use anytime afterwards at will...
gpl-3.0
mohammadclashclash/.bnumk-j
plugins/invite.lua
7
1183
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
ddumont/darkstar
scripts/globals/items/serving_of_elysian_eclair.lua
12
1490
----------------------------------------- -- ID: 5560 -- Item: Serving of Elysian Eclair -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10 -- MP +15 -- Intelligence +2 -- HP Recoverd while healing 2 -- MP Recovered while healing 2 --------------------------------...
gpl-3.0