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
jshackley/darkstar
scripts/zones/Oldton_Movalpolos/npcs/Tarnotik.lua
19
1752
----------------------------------- -- Area: Oldton Movalpolos -- NPC: Tarnotik -- Type: Standard NPC -- @pos 160.896 10.999 -55.659 11 ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Oldton_Movalpolos/...
gpl-3.0
cellux/zzlua
zzlua.lua
2
1030
--[[ main ]]-- local function execute_chunk(chunk, err) if chunk then chunk() else error(err, 0) end end -- process options local arg_index = 1 local opt_e = false while arg_index <= #arg do if arg[arg_index] == '-e' then opt_e = true arg_index = arg_index + 1 local script =...
mit
badboyam/spider_bot
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
Samanj5/Spam-is-DEAD
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
BeyondTeam/TeleBeyond
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
agpl-3.0
abbasgh12345/OMEGAMEW
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
hacker44-h44/h44bot
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
Ombridride/minetest-minetestforfun-server
mods/snow/src/sled.lua
9
5998
--[[ --================= --====================================== LazyJ's Fork of Splizard's "Snow" Mod by LazyJ version: Umpteen and 7/5ths something or another. 2014_04_12 --====================================== --================= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ THE LIST OF CHANGES I'VE MADE ~~~~~~~~~~~~~~~~~~...
unlicense
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/GLProgramState.lua
3
2961
-------------------------------- -- @module GLProgramState -- @extend Ref -------------------------------- -- overload function: setUniformTexture(string, unsigned int) -- -- overload function: setUniformTexture(string, cc.Texture2D) -- -- @function [parent=#GLProgramState] setUniformTexture -- @p...
mit
jshackley/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Eaulevisat_RK.lua
28
3153
----------------------------------- -- Area: Eastern Altepa desert -- NPC: Eaulevisat, R.K. -- Outpost Conquest Guards -- @pos -257 8 -249 114 ------------------------------------ package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; -------------------------------------- require("scripts/glob...
gpl-3.0
katsyoshi/dotfiles
wezterm/wezterm.lua
1
5884
local wezterm = require 'wezterm' local os = require 'os' local act = wezterm.action local nvtop = { domain = "CurrentPaneDomain", args = {"nvtop"}, } local htop = { domain = "CurrentPaneDomain", args = {"htop"}, } local ytop = { domain = "CurrentPaneDomain", args = {"ytop", "-ps",}, } local cursols = { { key = "...
mit
LiberatorUSA/GUCEF
tools/DVPPackTool/premake5.lua
1
1745
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
apache-2.0
jshackley/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fi.lua
34
1105
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Odin's Gate -- @pos 100 -34 110 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs");...
gpl-3.0
jshackley/darkstar
scripts/zones/Castle_Oztroja/npcs/_47l.lua
17
1571
----------------------------------- -- Area: Castle Oztroja -- NPC: _47l (Torch Stand) -- Notes: Opens door _471 near password #3 -- @pos -45.228 -17.832 22.392 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
jshackley/darkstar
scripts/globals/effects/tabula_rasa.lua
37
3360
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local regen = effect:getSubPower(); local helix = effect:getPower(); if (target:hasStat...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/throwing/tnt_arrow.lua
9
7433
minetest.register_craftitem("throwing:arrow_tnt", { description = "TNT arrow", inventory_image = "throwing_arrow_tnt.png", }) minetest.register_node("throwing:arrow_tnt_box", { drawtype = "nodebox", node_box = { type = "fixed", fixed = { -- Shaft {-6.5/17, -1.5/17, -1.5/17, 6.5/17, 1.5/17, 1.5/17}, --...
unlicense
brads55/nexusmeter
NexusMeter_Config.lua
1
8135
-- Copyright (C) 2014 Bradley Smith <brad@brad-smith.co.uk> -- -- 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 requi...
apache-2.0
jshackley/darkstar
scripts/zones/Bastok_Markets/npcs/HomePoint#2.lua
17
1253
----------------------------------- -- Area: Bastok Markets -- NPC: HomePoint#2 -- @pos -328 -12 -33 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Markets/TextIDs"); require("scripts/g...
gpl-3.0
majello/google-diff-match-patch
lua/diff_match_patch_test.lua
264
39109
--[[ * Test Harness for 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...
apache-2.0
tridge/ardupilot
libraries/AP_Scripting/examples/OOP_example.lua
9
3279
-- this is an example of how to do object oriented programming in Lua function constrain(v, minv, maxv) -- constrain a value between two limits if v < minv then return minv end if v > maxv then return maxv end return v end --[[ a PI controller with feed-forward implemented as a Lua obje...
gpl-3.0
kidaa/turbo
spec/iostream_spec.lua
5
21560
--- Turbo.lua Unit test -- -- Copyright 2013 John Abrahamsen -- -- 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 appl...
apache-2.0
jshackley/darkstar
scripts/zones/Arrapago_Reef/npcs/qm2.lua
30
1330
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (Spawn Velionis(ZNM T1)) -- @pos 311 -3 27 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); require("scripts/glob...
gpl-3.0
Shrike78/Shilke2D
Shilke2D/Texture/TextureAtlasComposer.lua
1
2157
--[[--- TextureAtlasComposer implements ITextureAtlas and allows to work with different atlas textures without caring about how textures are grouped together. It's possible in this way to use logical atlas where texture are larger than Texture.MAX_WIDTH * Texture.MAX_HEIGHT --]] TextureAtlasComposer = class(nil, ITex...
mit
jshackley/darkstar
scripts/globals/treasure.lua
18
19457
------------------------------------------------- -- Treasure functions -- Info from: -- http://wiki.ffxiclopedia.org/wiki/Picking_your_Coffers_and_Chests -- http://ffxi.allakhazam.com/db/jobs.html?fjob=10&mid=1086187627165365190&num=150 ------------------------------------------------- require("sc...
gpl-3.0
LiberatorUSA/GUCEF
plugins/GUI/guidriverXWinGL/premake4.lua
1
2055
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
apache-2.0
tridge/ardupilot
libraries/AP_Scripting/examples/arming-check-wp1-takeoff.lua
18
1073
-- This script runs a custom arming check for index == 1 and it must be a takeoff missionn item local auth_id = arming:get_aux_auth_id() local MAV_CMD_NAV_TAKEOFF = 22 local MAV_CMD_NAV_VTOL_TAKEOFF = 84 function update() -- this is the loop which periodically runs if auth_id then local cmd_id = mission:get_cu...
gpl-3.0
xya/coroutines
examples/pingpong.lua
1
1966
-- Copyright (c) 2009, 2011, Pierre-Andre Saulais <pasaulais@free.fr> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions of source code must retain the above copyright -- ...
bsd-3-clause
Ombridride/minetest-minetestforfun-server
mods/runes/registration.lua
8
1235
-- Rune definitions : registration.lua runes.datas.items = { ["project"] = { description = "Projection rune", img = "runes_projection", type = "craftitem", needed_mana = { ["minor"] = 15, ["medium"] = 30, ["major"] = 45, }, }, ["damager"] = { description = "Damaging rune", img = "runes_damag...
unlicense
Ombridride/minetest-minetestforfun-server
minetestforfun_game/mods/farming/cucumber.lua
12
1435
--[[ Original textures from DocFarming mod https://forum.minetest.net/viewtopic.php?id=3948 ]] local S = farming.intllib -- cucumber minetest.register_craftitem("farming:cucumber", { description = S("Cucumber"), inventory_image = "farming_cucumber.png", on_place = function(itemstack, placer, pointed_thing) re...
unlicense
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Clainomille.lua
34
1302
----------------------------------- -- Area: Southern San d'Oria -- NPC: Clainomille -- Type: Standard NPC -- @zone: 230 -- @pos -72.771 0.999 -6.112 -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] =...
gpl-3.0
iofun/treehouse
luerl/d3efc4b5b22433b5dc80161e9f9c4b03.lua
1
2133
-- Each Supply Depot raises the Terran's population limit by eight. -- Our unit function table local this_unit = {} -- Where we are and fast we move local x, y, dx, dy -- Our name local name = "Terran_Supply_Depot" -- Our color local color = "blue" -- Our BWAPI unit type loc...
agpl-3.0
jshackley/darkstar
scripts/zones/Bastok_Mines/npcs/Parraggoh.lua
36
2331
----------------------------------- -- Area: Bastok Mines -- NPC: Parraggoh -- Finishes Quest: Beauty and the Galka ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/se...
gpl-3.0
zdimension/UniRaider
FreeRaider/FreeRaider/bin/Debug/scripts/strings/italian/global_items.lua
7
3026
-- OPENTOMB INVENTORY GLOBAL ITEM NAMES -- by Lwmte, Sep 2014 -------------------------------------------------------------------------------- -- In this file, we list all the global item names used across all games. -- Non-global item names should be eventually listed in level-specific scripts. -- Note that names lis...
gpl-2.0
Ombridride/minetest-minetestforfun-server
mods/pipeworks/vacuum_tubes.lua
7
4296
if pipeworks.enable_sand_tube then pipeworks.register_tube("pipeworks:sand_tube", { description = "Vacuuming Pneumatic Tube Segment", inventory_image = "pipeworks_sand_tube_inv.png", short = "pipeworks_sand_tube_short.png", noctr = { "pipeworks_sand_tube_noctr.png" }, plain = { "pipeworks_sand_tube_plai...
unlicense
goksie/newfies-dialer
lua/libs/example.lua
4
4800
-- -- Newfies-Dialer License -- http://www.newfies-dialer.org -- -- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this file, -- You can obtain one at http://mozilla.org/MPL/2.0/. -- -- Copyright (C) 2011-2014 Star2Billing S.L. -- --...
mpl-2.0
coolsvap/kubernetes
test/images/echoserver/template.lua
195
17200
-- vendored from https://raw.githubusercontent.com/bungle/lua-resty-template/1f9a5c24fc7572dbf5be0b9f8168cc3984b03d24/lib/resty/template.lua -- only modification: remove / from HTML_ENTITIES to not escape it, and fix the appropriate regex. --[[ Copyright (c) 2014 - 2017 Aapo Talvensaari All rights reserved. Redistribu...
apache-2.0
jshackley/darkstar
scripts/zones/Metalworks/npcs/Raibaht.lua
17
3140
----------------------------------- -- Area: Metalworks -- NPC: Raibaht -- Starts and Finishes Quest: Dark Legacy -- Involved in Quest: The Usual, Riding on the Clouds -- @pos -27 -10 -1 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; package.loaded["scripts/gl...
gpl-3.0
jshackley/darkstar
scripts/zones/Nashmau/npcs/Tsutsuroon.lua
38
1260
----------------------------------- -- Area: Nashmau -- NPC: Tsutsuroon -- Type: Tenshodo Merchant -- @pos -15.193 0.000 31.356 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
Shrike78/Shilke2D
Samples/BitmapData/hitTestEx.lua
1
5929
--[[ The sample shows the usage of BitmapData hitTest/hitTestEx. To better show collisions the viewport is scaled by a factor 2 in both directions. This functions allow to make a per pixel hit test of two MOAIImages (the extended version support also BitampRegions) given their relative position and a minimum alpha l...
mit
jshackley/darkstar
scripts/globals/items/plate_of_mushroom_risotto.lua
36
1383
----------------------------------------- -- ID: 4434 -- Item: Plate of Mushroom Risotto -- Food Effect: 3 Hr, All Races ----------------------------------------- -- MP 30 -- Strength -1 -- Vitality 3 -- Mind 3 -- MP Recovered while healing 2 ----------------------------------------- require("scripts/globals/status");...
gpl-3.0
ff94315/hiwifi-openwrt-HC5661-HC5761
staging_dir/target-mipsel_r2_uClibc-0.9.33.2/root-ralink/usr/lib/lua/ssl/https.lua
3
4086
---------------------------------------------------------------------------- -- LuaSec 0.4.1 -- Copyright (C) 2009-2011 PUC-Rio -- -- Author: Pablo Musa -- Author: Tomas Guisasola --------------------------------------------------------------------------- local socket = require("socket") local ssl = require("ssl") ...
gpl-2.0
georgekang/jit-construct
dynasm/dasm_arm64.lua
42
34807
------------------------------------------------------------------------------ -- DynASM ARM64 module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _...
bsd-2-clause
jshackley/darkstar
scripts/globals/spells/carnage_elegy.lua
18
1702
----------------------------------------- -- Spell: Battlefield Elegy ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,tar...
gpl-3.0
jshackley/darkstar
scripts/globals/items/marinara_pizza_+1.lua
14
1646
----------------------------------------- -- ID: 5744 -- Item: marinara_pizza +1 -- Food Effect: 4hours, All Races ----------------------------------------- -- Health Points 25 -- Attack +21% (cap 55) -- Accuracy +11% (cap 58) -- Undead Killer ----------------------------------------- require("scripts/globa...
gpl-3.0
marcparadise/chef-server
omnibus/tests/routing/default_org_route_test.lua
11
1660
-- Default Org tests. -- Default Org table.insert(shared_chef_tests, {"/nodes", {TEST_ORG, "erchef", "nodes"}}) table.insert(shared_chef_tests, {"/nodes/", {TEST_ORG, "erchef", "nodes"}}) table.insert(shared_chef_tests, {"/environments/envname/nodes", {TEST_ORG, "erchef", "...
apache-2.0
myth384/AdiButtonAuras
rules/Warrior.lua
1
3692
--[[ AdiButtonAuras - Display auras on action buttons. Copyright 2013-2014 Adirelle (adirelle@gmail.com) All rights reserved. This file is part of AdiButtonAuras. AdiButtonAuras 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 Softwa...
gpl-3.0
GradysGhost/gradysghost-admin-tools
config/awesome/rc.lua
1
16167
-- Standard awesome library require("awful") require("awful.autofocus") require("awful.rules") -- Theme handling library require("beautiful") -- Notification library require("naughty") -- Load Debian menu entries require("debian.menu") -- {{{ Error handling -- Check if awesome encountered an error during startup and ...
gpl-3.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua
3
1326
-------------------------------- -- @module TurnOffTiles -- @extend TiledGrid3DAction -------------------------------- -- @function [parent=#TurnOffTiles] turnOnTile -- @param self -- @param #cc.Vec2 vec2 -------------------------------- -- @function [parent=#TurnOffTiles] turnOffTile -- @param self -- @pa...
mit
jshackley/darkstar
scripts/globals/spells/dokumori_san.lua
18
1204
----------------------------------------- -- Spell: Dokumori: San ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targe...
gpl-3.0
jshackley/darkstar
scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_1.lua
17
3035
----------------------------------- -- Area: LaLoff Amphitheater -- Name: Ark Angels 1 (Hume) ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/mission...
gpl-3.0
jshackley/darkstar
scripts/globals/items/dried_date_+1.lua
35
1357
----------------------------------------- -- ID: 5574 -- Item: dried_date_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 12 -- Magic 22 -- Agility -1 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Woods/npcs/Kopua-Mobua_AMAN.lua
62
1375
----------------------------------- -- Area: Windurst Woods -- NPC: Kopua-Mobua A.M.A.N. -- Type: Mentor Recruiter -- @pos -23.134 1.749 -67.284 241 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------...
gpl-3.0
jshackley/darkstar
scripts/zones/Dynamis-Beaucedine/Zone.lua
28
2655
----------------------------------- -- -- Zone: Dynamis-Beaucedine -- ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Dynamis-Beaucedine/TextIDs"); ---------...
gpl-3.0
jshackley/darkstar
scripts/zones/Cloister_of_Frost/npcs/Cermet_Headstone.lua
17
2645
----------------------------------- -- Area: Cloister of Frost -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Ice Fragment) -- @pos 566 0 606 203 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
taoyunxing/trafficserver
lib/luajit/src/host/genminilua.lua
127
11962
---------------------------------------------------------------------------- -- Lua script to generate a customized, minified version of Lua. -- The resulting 'minilua' is used for the build process of LuaJIT. ---------------------------------------------------------------------------- -- Copyright (C) 2005-2015 Mike P...
apache-2.0
jshackley/darkstar
scripts/zones/Dynamis-San_dOria/bcnms/dynamis_sandoria.lua
22
1331
----------------------------------- -- Area: Dynamis San d'Oria -- Name: Dynamis San d'Oria ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[DynaSandoria]UniqueID",player:getDynamisUniqueID(1281)); SetSe...
gpl-3.0
jshackley/darkstar
scripts/zones/Dangruf_Wadi/TextIDs.lua
15
1316
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6543; -- Obtained: <item>. GIL_OBTAINED = 6544; -- Obtained <number> gil. KEYITEM_OBTAINED = 6546; -- Obtained...
gpl-3.0
wolf9s/packages
lang/luaexpat/files/compat-5.1r5/compat-5.1.lua
251
6391
-- -- Compat-5.1 -- Copyright Kepler Project 2004-2006 (http://www.keplerproject.org/compat) -- According to Lua 5.1 -- $Id: compat-5.1.lua,v 1.22 2006/02/20 21:12:47 carregal Exp $ -- _COMPAT51 = "Compat-5.1 R5" local LUA_DIRSEP = '/' local LUA_OFSEP = '_' local OLD_LUA_OFSEP = '' local POF = 'luaopen_' local LUA_PA...
gpl-2.0
jshackley/darkstar
scripts/commands/completemission.lua
25
1238
--------------------------------------------------------------------------------------------------- -- func: @completemission <logID> <missionID> <player> -- desc: Completes the given mission for the target player, if that mission is currently active. -----------------------------------------------------------------...
gpl-3.0
hockeychaos/Core-Scripts-1
CoreScriptsRoot/StarterScript.lua
1
3624
-- Creates all neccessary scripts for the gui on initial load, everything except build tools -- Created by Ben T. 10/29/10 -- Please note that these are loaded in a specific order to diminish errors/perceived load time by user local scriptContext = game:GetService("ScriptContext") local touchEnabled = game:GetService(...
apache-2.0
davidhealey/reascript
luaScripts/UACC/MIDI UACC Menu.lua
1
3863
--[[ * ReaScript Name: UACC Menu * Written: 27/06/2017 * Last Updated: 27/06/2017 * Author: David Healey --]] package.path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]] .."../?.lua;".. package.path require('daves reaper midi package v1-0') local ccNum = 32 local INSERT_BEFORE = 0; --Set to 1 if you want...
gpl-3.0
SLE-TheRealOne/Factorio-SwiftInserter
prototypes/entities.lua
1
1093
local swift = util.table.deepcopy(data.raw["inserter"]["fast-inserter"]) swift.name = "swiftSpeedInserter" swift.energy_source = { type = "electric", usage_priority = "secondary-input", drain = "0.8kW" } swift.name = "swift-inserter" swift.icon = "__SwiftInserter__/graphics/swift-inserter.png" swift.hand_base_pictur...
apache-2.0
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Hanaa_Punaa.lua
17
6224
----------------------------------- -- Area: Southern San d'Oria -- NPC: Hanaa Punaa -- Starts and Finishes: A Squire's Test, A Squire's Test II, A Knight's Test -- @zone 230 -- @pos ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; -----------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Woods/npcs/Illu_Bohjaa.lua
36
2170
----------------------------------- -- Area: Windurst Woods -- NPC: Illu Bohjaa -- Starts the repeatable quest "Creepy Crawlies" -- Working 100% ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/ques...
gpl-3.0
hockeychaos/Core-Scripts-1
PlayerScripts/StarterPlayerScripts/ControlScript/MasterControl.lua
1
4832
--[[ // FileName: MasterControl // Version 1.0 // Written by: jeditkacheff // Description: All character control scripts go thru this script, this script makes sure all actions are performed --]] -- [[ Constants ]]-- local ZERO_VECTOR3 = Vector3.new(0, 0, 0) local STATE_JUMPING = Enum.HumanoidStateType.Jumping loc...
apache-2.0
jshackley/darkstar
scripts/zones/Upper_Delkfutts_Tower/npcs/_4e1.lua
17
1206
----------------------------------- -- Area: Upper Delkfutt's Tower -- NPC: Door -- @pos 315 16 20 158 ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Upper...
gpl-3.0
catwell/mule
mulelib.lua
1
39048
require "helpers" local pp = require("purepack") require "conf" local function name(metric_,step_,period_) return string.format("%s;%s:%s",metric_, secs_to_time_unit(step_), secs_to_time_unit(period_)) end local nop = function() end local return_0 = function() return 0 ...
apache-2.0
jshackley/darkstar
scripts/globals/weaponskills/ascetics_fury.lua
18
4499
----------------------------------- -- Ascetics Fury -- Hand-to-Hand weapon skill -- Skill Level: N/A -- Chance of params.critical hit varies with TP. Glanzfaust: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Monk) quest. -- Aligned with the Flame Gorget & Light Gorget....
gpl-3.0
jshackley/darkstar
scripts/zones/Bastok_Markets/npcs/Harmodios.lua
34
2101
----------------------------------- -- Area: Bastok Markets -- NPC: Harmodios -- Standard Merchant NPC -- @pos -79.928 -4.824 -135.114 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); req...
gpl-3.0
drhelius/Gearboy
platforms/ios/dependencies/SDL-2.0.4-9174/premake/util/sdl_dependency_checkers.lua
7
7874
-- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for an...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/plantlife_modpack/woodsoils/generating.lua
9
4536
-- generating of forest soils local RaDiuS = { -- WE1 NS1 WE2 NS2 WE3 NS3 {-1,-2, -2,-2, -2,-3}, { 0,-2, -3,-1, -3,-2}, { 1,-2, -3, 0, -4,-1}, {-2,-1, -3, 1, -4, 0}, {-1,-1, -2, 2, -4, 1}, { 0,-1, -1, 3, -3, 2}, { 1,-1, 0, 3, -2, 3}, { 2,-1, 1, 3, -1, 4}, {-2, 0, 2, 2, 0, 4}, {-1...
unlicense
10sa/Advanced-Nutscript
nutscript/entities/weapons/nut_fists.lua
1
6044
AddCSLuaFile() if (CLIENT) then SWEP.PrintName = "주먹" SWEP.Slot = 1 SWEP.SlotPos = 1 SWEP.DrawAmmo = false SWEP.DrawCrosshair = false end SWEP.Author = "Chessnut" SWEP.Instructions = "왼쪽 클릭: [R 꾹 눌러 들기] 주먹질\n오른쪽 클릭: 문 두드리기/물건 들기" SWEP.Purpose = "무언가를 들고 치거나 문을 두드릴 수 있습니다." SWEP.Drop = false SWEP.ViewModelFOV = ...
mit
Keithenneu/Dota2-FullOverwrite
hero_think.lua
2
12234
------------------------------------------------------------------------------- --- AUTHOR: Nostrademous --- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite ------------------------------------------------------------------------------- _G._savedEnv = getfenv() module( "hero_think", package.seeall ) ...
gpl-3.0
knipferrc/dotfiles
nvim/lua/user/toggleterm.lua
4
1682
local status_ok, toggleterm = pcall(require, "toggleterm") if not status_ok then return end toggleterm.setup({ size = 20, open_mapping = [[<c-\>]], hide_numbers = true, shade_filetypes = {}, shade_terminals = true, shading_factor = 2, start_in_insert = true, insert_mappings = true, persist_size = true, dire...
mit
accelleon/LuaASM
encoder.lua
1
14881
-- AccelASM encoder -- The encoder works in 2 stages: -- Stage 1 doesn't actually output any bytecode -- instead it calculates offsets of labels -- Stage 2 outputs the bytecode and parses -- any non-constant expressions (i.e. expressions -- that require labels -- Table of ModR/M encodings -- { Encoding:string, Mod:num...
gpl-3.0
jshackley/darkstar
scripts/zones/Norg/npcs/Vuliaie.lua
19
1257
----------------------------------- -- Area: Norg -- NPC: Vuliaie -- Type: Tenshodo Merchant -- @pos -24.259 0.891 -19.556 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/sh...
gpl-3.0
jshackley/darkstar
scripts/zones/Quicksand_Caves/npcs/_5s8.lua
17
1276
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -334 0 659 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Cave...
gpl-3.0
bsnsk/vroom-hammerspoon
Spoons/HSearch.spoon/hs_datamuse.lua
4
3260
local obj={} obj.__index = obj obj.name = "thesaurusDM" obj.version = "1.0" obj.author = "ashfinal <ashfinal@gmail.com>" -- Internal function used to find our location, so we know where to load files from local function script_path() local str = debug.getinfo(2, "S").source:sub(2) return str:match("(.*/)") en...
mit
jshackley/darkstar
scripts/globals/abilities/fight.lua
18
1033
----------------------------------- -- Ability: Fight -- Commands your pet to attack the target. -- Obtained: Beastmaster Level 1 -- Recast Time: 10 seconds -- Duration: N/A ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ---------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/The_Shrouded_Maw/npcs/MementoCircle.lua
17
1427
----------------------------------- -- Area: The_Shrouded_Maw -- NPC: MementoCircle ----------------------------------- package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("scripts/glob...
gpl-3.0
SpRoXx/GTW-RPG
[resources]/GTWvehicleshop/vehicle_c.lua
2
19419
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.404rq.com/mta-se...
bsd-2-clause
BeyondTeam/TeleBeyond
plugins/arabic_lock.lua
234
1405
antiarabic = {}-- An empty table for solving multiple kicking problem do local function run(msg, matches) if is_momod(msg) then -- Ignore mods,owner,admins return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['lock_arabic'] then if data[tostring(msg.to.id)...
agpl-3.0
wjaede/ardupilot
Tools/CHDK-Scripts/Cannon SX260/3DR_EAI_SX260.lua
182
29665
--[[ KAP UAV Exposure Control Script v3.1 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script 3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot. Changelog: -Modified Tv, Av, and...
gpl-3.0
vasilish/torch-draw
main.lua
1
5910
-- local image = require('image') require('image') local optim = require('optim') local nn = require('nn') torch.setdefaulttensortype('torch.FloatTensor') torch.manualSeed(1) require('eve') local utils = require('utils') local opt_parser = require('opts') local options = opt_parser.parse(arg) local use_cuda = opti...
mit
elbamos/nn
LookupTable.lua
3
3381
local THNN = require 'nn.THNN' local LookupTable, parent = torch.class('nn.LookupTable', 'nn.Module') LookupTable.__version = 4 function LookupTable:__init(nIndex, nOutput, paddingValue) parent.__init(self) self.weight = torch.Tensor(nIndex, nOutput) self.gradWeight = torch.Tensor(nIndex, nOutput):zero() ...
bsd-3-clause
jshackley/darkstar
scripts/zones/Metalworks/npcs/Takiyah.lua
17
1292
----------------------------------- -- Area: Metalworks -- NPC: Takiyah -- Type: Regional Merchant ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); require(...
gpl-3.0
asmagill/hs._asm.luathread
luaskin/modules/keycodes/init.lua
6
1622
--- === hs.keycodes === --- --- Convert between key-strings and key-codes. Also provides funcionality for querying and changing keyboard layouts. --- hs.keycodes.map = {...} --- Constant --- A mapping from string representation of a key to its keycode, and vice versa. --- For example: keycodes[1] == "s", and keycodes[...
mit
hockeychaos/Core-Scripts-1
CoreScriptsRoot/Modules/VR/Dialog.lua
2
5894
--Dialog: 3D dialogs for ROBLOX in VR --written by 0xBAADF00D --6/30/2016 local CoreGui = game:GetService("CoreGui") local RobloxGui = CoreGui:WaitForChild("RobloxGui") local InputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Utility = require(RobloxGui.Modules.Se...
apache-2.0
jshackley/darkstar
scripts/zones/AlTaieu/npcs/_0x1.lua
17
2004
----------------------------------- -- Area: Al'Taieu -- NPC: Rubious Crystal (South Tower) -- @pos 0 -6.250 -736.912 33 ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; ----------------------------------- require("scripts/zones/AlTaieu/TextIDs"); require("scripts...
gpl-3.0
jshackley/darkstar
scripts/zones/PsoXja/npcs/_i94.lua
17
1263
----------------------------------- -- Area: Pso'Xja -- NPC: _i94 (Stone Gate) -- Notes: Blue Bracelet Door -- @pos -330.000 14.074 -261.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/TextIDs"...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/enchanting_etude.lua
18
1767
----------------------------------------- -- Spell: Enchanting Etude -- Static CHR Boost, BRD 22 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function o...
gpl-3.0
jshackley/darkstar
scripts/commands/promote.lua
26
1214
--------------------------------------------------------------------------------------------------- -- func: promote -- desc: Promotes the player to a new GM level. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameter...
gpl-3.0
10sa/Advanced-Nutscript
nutscript/gamemode/libs/sh_bar.lua
1
3696
--[[ Purpose: A library to draw bars on the HUD and add bars to the list. This is used since it will make it easier for bars to be organized in drawing, otherwise it would be random each frame and would look like it is flickering. It can also be used for plugins to display other stuff, such as the stamina plugin. -...
mit
jshackley/darkstar
scripts/globals/weaponskills/raging_axe.lua
30
1469
----------------------------------- -- Raging Axe -- Axe weapon skill -- Skill level: 5 -- Delivers a two-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- When stacked with Sneak Attack, both hits have a 100% chance of landing, though it is unclear if they both params.crit. -- Aligned with ...
gpl-3.0
LWJGL-CI/bgfx
scripts/codegen.lua
2
24783
-- Copyright 2019 云风 https://github.com/cloudwu . All rights reserved. -- License (the same with bgfx) : https://github.com/bkaradzic/bgfx/blob/master/LICENSE local codegen = {} local DEFAULT_NAME_ALIGN = 20 local DEFINE_NAME_ALIGN = 41 local function namealign(name, align) align = align or DEFAULT_NAME_ALIGN ret...
bsd-2-clause
jshackley/darkstar
scripts/globals/items/queens_crown.lua
34
1570
----------------------------------------- -- ID: 6064 -- Item: queens_crown -- Food Effect: 240 Min, All Races ----------------------------------------- -- MP+6% (Upper limit 55) -- INT+4 -- MND+3 -- CHR+2 -- STR-2 -- MAB+7 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cr.lua
17
2440
----------------------------------- -- 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
jshackley/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/MiliartTK.lua
27
5069
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Miliart T.K -- Type: Sigil NPC -- @pos 107 1 -31 80 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
ByteFun/Starbound_mods
smount/tech/mech/mount35/mount35.lua
10
34323
function checkCollision(position) local boundBox = mcontroller.boundBox() boundBox[1] = boundBox[1] - mcontroller.position()[1] + position[1] boundBox[2] = boundBox[2] - mcontroller.position()[2] + position[2] boundBox[3] = boundBox[3] - mcontroller.position()[1] + position[1] boundBox[4] = boundBox[4] - mcon...
gpl-2.0
jshackley/darkstar
scripts/zones/Bastok_Mines/npcs/Detzo.lua
17
2392
----------------------------------- -- Area: Bastok Mines -- NPC: Detzo -- Starts & Finishes Quest: Rivals ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles");...
gpl-3.0