repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
nesstea/darkstar | scripts/zones/Port_Windurst/npcs/Paytah.lua | 13 | 1044 | -----------------------------------
-- Area: Port Windurst
-- NPC: Paytah
-- Type: Standard NPC
-- @zone: 240
-- @pos 77.550 -6 117.769
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
--------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 13 | 1058 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ragyaya
-- Type: Standard NPC
-- @zone: 94
-- @pos -95.376 -3 60.795
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
------... | gpl-3.0 |
ruisebastiao/nodemcu-firmware | lua_modules/ds3231/ds3231-web.lua | 84 | 1338 | require('ds3231')
port = 80
-- ESP-01 GPIO Mapping
gpio0, gpio2 = 3, 4
days = {
[1] = "Sunday",
[2] = "Monday",
[3] = "Tuesday",
[4] = "Wednesday",
[5] = "Thursday",
[6] = "Friday",
[7] = "Saturday"
}
months = {
[1] = "January",
[2] = "Febuary",
[3] = "March",
[4] = "Apri... | mit |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Absolute_Terror.lua | 7 | 1321 | ---------------------------------------------------
-- Absolute Terror
-- Causes Terror, which causes the victim to be stunned for the duration of the effect, this can not be removed.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
requ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Sickle_Slash.lua | 7 | 1264 | ---------------------------------------------------
-- Sickle Slash
-- Deals critical damage. Chance of critical hit varies with TP.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Lower_Jeuno/npcs/_l03.lua | 36 | 1560 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -81.310 0 -109.947
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/mind_blast.lua | 26 | 1989 | -----------------------------------------
-- Spell: Mind Blast
-- Deals lightning damage to an enemy. Additional effect: Paralysis
-- Spell cost: 82 MP
-- Monster Type: Demons
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: MP+5 MND+1
-- Level: 73
-- Casting Time: 3 seconds
-- Recast Time: 30 ... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/dark_bass.lua | 18 | 1328 | -----------------------------------------
-- ID: 4428
-- Item: dark_bass
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------... | gpl-3.0 |
dpino/snabbswitch | src/lib/lua/StackTracePlus.lua | 44 | 12501 | -- tables
local _G = _G
local string, io, debug, coroutine = string, io, debug, coroutine
-- functions
local tostring, print, require = tostring, print, require
local next, assert = next, assert
local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs
local error = error
assert(debug, "debug table must... | apache-2.0 |
dpino/snabbswitch | src/apps/ipv6/echo.lua | 3 | 4628 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- ICMPv6 echo request ("ping") responder (RFC 4443)
module(..., package.seeall)
local bit = require("bit")
local ffi = require("ffi")
local lib = require("core.lib")
local packet = require("core.packet")
local co... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Boyahda_Tree/Zone.lua | 11 | 1831 | -----------------------------------
--
-- Zone: The_Boyahda_Tree (153)
--
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/The_Bo... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Mog_Garden/Zone.lua | 32 | 1257 | -----------------------------------
--
-- Zone: Mog Garden (280)
--
-----------------------------------
package.loaded["scripts/zones/Mog_Garden/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mog_Garden/TextIDs");
-----------------------------------
--... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Fort_Ghelsba/npcs/Treasure_Chest.lua | 12 | 2560 | -----------------------------------
-- Area: Fort Ghelsba
-- NPC: Treasure Chest
-- @zone 141
-----------------------------------
package.loaded["scripts/zones/Fort_Ghelsba/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scripts/z... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sanraku.lua | 28 | 9794 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sanraku
-- Type: Zeni NM pop item and trophy management.
-- @pos -125.724 0.999 22.136 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
LordError/LordError1 | plugins/Boobs.lua | 150 | 1613 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
dpino/snabbswitch | src/program/snabbvmx/lwaftr/lwaftr.lua | 9 | 5997 | module(..., package.seeall)
local config = require("core.config")
local constants = require("apps.lwaftr.constants")
local ingress_drop_monitor = require("lib.timers.ingress_drop_monitor")
local lib = require("core.lib")
local counters = require("program.lwaftr.counters")
local lwutil = require("apps.lwaftr.lwutil")
l... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Jeuno/TextIDs.lua | 2 | 3021 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6382; -- Obtained: <item>.
GIL_OBTAINED = 6383; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6385; -- Obtained... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Temenos/mobs/Telchines_White_Mage.lua | 17 | 1139 | -----------------------------------
-- Area: Temenos N T
-- NPC: Telchines_White_Mage
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/APIDump/Hooks/OnBlockToPickups.lua | 36 | 2438 | return
{
HOOK_BLOCK_TO_PICKUPS =
{
CalledWhen = "A block is about to be dug ({{cPlayer|player}}, {{cEntity|entity}} or natural reason), plugins may override what pickups that will produce.",
DefaultFnName = "OnBlockToPickups", -- also used as pagename
Desc = [[
This callback gets called whenever a block is ... | apache-2.0 |
nesstea/darkstar | scripts/zones/Qufim_Island/npcs/Trodden_Snow.lua | 13 | 5395 | -----------------------------------
-- Area: Qufim Island
-- NPC: Trodden Snow
-- Mission: ASA - THAT_WHICH_CURDLES_BLOOD
-- Mission: ASA - SUGAR_COATED_DIRECTIVE
-- @zone 126
-- @pos -19 -17 104
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/sandspray.lua | 26 | 1404 | -----------------------------------------
-- Spell: Sandspray
-- Blinds enemies within a fan-shaped area originating from the caster
-- Spell cost: 43 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 2
-- Stat Bonus: VIT+1
-- Level: 66
-- Casting Time: 3 seconds
-- Recast Time: 90 second... | gpl-3.0 |
Mashape/kong | kong/resty/ctx.lua | 1 | 1736 | -- A module for sharing ngx.ctx between subrequests.
-- Original work by Alex Zhang (openresty/lua-nginx-module/issues/1057)
-- updated by 3scale/apicast.
--
-- Copyright (c) 2016 3scale Inc.
-- Licensed under the Apache License, Version 2.0.
-- License text: See LICENSE
--
-- Modifications by Kong Inc.
-- * updated ... | apache-2.0 |
niessner/Matterport | tasks/semantic_voxel_label/model.lua | 1 | 2351 |
-- from net-orig, add more to fc and make another deconv layer
require 'nn'
require 'cunn'
require 'cudnn'
local net = nn.Sequential()
local function MSRinit(net)
local function init(name)
for k,v in pairs(net:findModules(name)) do
local n = v.kT*v.kW*v.kH*v.nOutputPlane
v.weight:normal(0,math.sqrt(2/n))
... | mit |
nesstea/darkstar | scripts/zones/Dragons_Aery/mobs/Nidhogg.lua | 6 | 1819 | -----------------------------------
-- Area: Dragons Aery
-- HNM: Nidhogg
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
f... | gpl-3.0 |
mohammad43/TELEMOHAMMAD2016 | plugins/all.lua | 264 | 4202 | do
data = load_data(_config.moderation.data)
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_print... | gpl-2.0 |
johnrocamora/Weekday | main.lua | 1 | 3558 | -----------------------------------------------------------------------------------------
--
-- John Rocamora
-- johnrocamora AT gmail DOT com
-- Created Mar 2015
-- Copyright 2015
--
-----------------------------------------------------------------------------------------
--display.setStatusBar(display.HiddenStatusBa... | mit |
UnfortunateFruit/darkstar | scripts/zones/Metalworks/npcs/Pius.lua | 23 | 1832 | -----------------------------------
-- Area: Metalworks
-- NPC: Pius
-- Involved In Mission: Journey Abroad
-- @pos 99 -21 -12 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zon... | gpl-3.0 |
nesstea/darkstar | scripts/zones/The_Boyahda_Tree/mobs/Demonic_Rose.lua | 7 | 1449 | -----------------------------------
-- Area: The Boyahda Tree
-- MOB: Demonic Rose
-- Note: Placeholder V. Vivian
-----------------------------------
require("scripts/zones/The_Boyahda_Tree/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/system/_reports/system.lua | 2 | 5634 | --[[
##############################################################################
S V U I By: Failcoder
##############################################################################
##########################################################
LOCALIZED LUA FUNCTIONS
#################################################... | mit |
dpino/snabbswitch | lib/ljsyscall/test/bsd.lua | 18 | 16048 | -- General BSD tests
local function init(S)
local helpers = require "syscall.helpers"
local types = S.types
local c = S.c
local abi = S.abi
local bit = require "syscall.bit"
local ffi = require "ffi"
local t, pt, s = types.t, types.pt, types.s
local assert = helpers.assert
local function fork_assert(cond, err, ..... | apache-2.0 |
plajjan/snabbswitch | lib/luajit/dynasm/dasm_arm.lua | 15 | 34598 | ------------------------------------------------------------------------------
-- DynASM ARM module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _in... | apache-2.0 |
nesstea/darkstar | scripts/zones/Port_Bastok/npcs/_6k9.lua | 13 | 1032 | -----------------------------------
-- Area: Port Bastok
-- NPC: Door: Arrivals Entrance
-- @pos -80 1 -26 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Bastok/Text... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/system/core.lua | 2 | 30730 | --- SVUI is our global addon object.
-- SuperVillain UI Core Module.
-- @module SVUI_Core
-- @author Steven Jackson (2014)
-- @release 1.0.0
-- @usage
-- -- Every other file will set a reference to the addon using this variable. Here is how we set it.
--
-- -- METHOD 1 --------------------------------------------... | mit |
UnfortunateFruit/darkstar | scripts/zones/Bibiki_Bay/npcs/qm4.lua | 8 | 1450 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: ??? COP mission spawn Dalham
-- @pos
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bibiki_Bay/TextIDs");
------------------------------... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_QuestTracker/components/scenario.lua | 2 | 18331 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.se... | mit |
UnfortunateFruit/darkstar | scripts/zones/Port_Windurst/npcs/Chipmy-Popmy.lua | 17 | 1291 | -----------------------------------
-- Area: Port Windurst
-- NPC: Chipmy-Popmy
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
-----------------------------------
-- onTrade Action
-----------------------------------
function o... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/abilities/light_arts.lua | 28 | 1759 | -----------------------------------
-- Ability: Light Arts
-- Optimizes white magic capability while lowering black magic proficiency. Grants a bonus to divine, enhancing, enfeebling, and healing magic. Also grants access to Stratagems.
-- Obtained: Scholar Level 10
-- Recast Time: 1:00
-- Duration: 2:00:00
-----... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_San_dOria/npcs/Perdiouvilet.lua | 13 | 1735 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Perdiouvilet
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -59 -5 -29 232
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
p00ria/Signal | plugins/inpm.lua | 1114 | 3008 | 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 |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Achtelle1.lua | 72 | 1069 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Achtelle
-- @zone 80
-- @pos 108 2 -11
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Taulenne.lua | 34 | 4855 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Taulenne
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
package.loaded["scripts/globals/armorstorage"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/West_Sarutabaruta_[S]/Zone.lua | 28 | 1343 | -----------------------------------
--
-- Zone: West_Sarutabaruta_[S] (95)
--
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/West_Sarutabaruta_[S]/TextIDs")... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#1.lua | 12 | 1261 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#1
-- @pos -293.048 -10 -102.558 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Meriphataud_Mountains/npcs/qm1.lua | 17 | 1382 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: qm1 (???)
-- Involved in Quest: The Holy Crest
-- @pos 641 -15 7 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Me... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Mhaura/npcs/Zexu.lua | 13 | 1272 | -----------------------------------
-- Area: Mhaura
-- NPC: Zexu
-- Involved in Quests: The Sand Charm
-- @pos 30 -8 25 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/se... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Kazham-Jeuno_Airship/npcs/Joosef.lua | 30 | 2300 | -----------------------------------
-- Area: Kazham-Jeuno Airship
-- NPC: Joosef
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Kazham-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade Action
-... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Foss.lua | 12 | 2228 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Foss
-- Starts & Finishes Repeatable Quest: Buckets of Gold
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/global... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Bastok/npcs/Styi_Palneh.lua | 27 | 4322 | -----------------------------------
-- Area: Port Bastok
-- NPC: Styi Palneh
-- Title Change NPC
-- @pos 28 4 -15 236
-----------------------------------
require("scripts/globals/titles");
local title2 = { NEW_ADVENTURER , BASTOK_WELCOMING_COMMITTEE , BUCKET_FISHER , PURSUER_OF_THE_PAST , MOMMYS_HELPER , HOT_DOG ,
... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Ilrusi_Atoll/mobs/Cursed_Chest.lua | 8 | 1414 | -----------------------------------
-- Area: Illrusi atoll
-- MOB: Cursed Chest
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
e... | gpl-3.0 |
cdriget/DomoCharts | Virtual-Device/Button-3-Battery.lua | 1 | 4564 | --------------------------------------------------
-- Button : 3 => Battery
-- Author : Lazer
-- Version : 5.0
-- Date : September 2015
--------------------------------------------------
-- System variables
local debug = true
local selfID = fibaro:getSelfId()
local ip = fibaro:get(selfID, 'IPAddress')
local port ... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters/npcs/Maysoon.lua | 25 | 2162 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Maysoon
-- Starts and Finishes Quest: Hoist the Jelly, Roger
-- Involved in Quests: Cook's Pride
-- @zone 238
-- @pos -105 -2 69
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
----------------------... | gpl-3.0 |
Spartan322/finalfrontier | gamemode/sgui/page.lua | 3 | 1244 | -- Copyright (c) 2014 James King [metapyziks@gmail.com]
--
-- This file is part of Final Frontier.
--
-- Final Frontier is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Lesser General Public License as
-- published by the Free Software Foundation, either version 3 of
-- the Lic... | lgpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_Skins/components/addons/Recount.lua | 2 | 3978 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.selec... | mit |
nesstea/darkstar | scripts/zones/Port_Windurst/npcs/Nine_of_Clubs.lua | 13 | 1053 | -----------------------------------
-- Area: Port Windurst
-- NPC: Nine of Clubs
-- Type: Standard NPC
-- @zone: 240
-- @pos -229.699 -9 185.686
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_dynamicmemory/init.lua | 4 | 2667 | /*******************************
Dynamic Memory Gate
for Wiremod
(C) Sebastian J.
********************************/
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')
ENT.WireDebugName = "DynamicMemoryGate"
function ENT:Initialize()
self:PhysicsInit(SOLID_VPHYSICS)
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Quicksand_Caves/npcs/_5sc.lua | 19 | 1275 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -410 0 662 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Cave... | gpl-3.0 |
nesstea/darkstar | scripts/zones/The_Celestial_Nexus/mobs/Exoplates.lua | 7 | 3106 | -----------------------------------
-- Area: The Celestial Nexus
-- MOB: Exoplates
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
... | gpl-3.0 |
Mashape/kong | spec/02-integration/04-admin_api/03-consumers_routes_spec.lua | 1 | 35949 | local helpers = require "spec.helpers"
local cjson = require "cjson"
local escape = require("socket.url").escape
local Errors = require "kong.db.errors"
local utils = require "kong.tools.utils"
local function it_content_types(title, fn)
local test_form_encoded = fn("application/x-www-form-urlencoded")
local te... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Markets/npcs/Yafafa.lua | 36 | 1619 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Yafafa
-- Only sells when Bastok controls Kolshushu
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loade... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/cheese_sandwich_+1.lua | 35 | 1207 | -----------------------------------------
-- ID: 5687
-- Item: cheese_sandwich_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 10
-- Agility 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_hud_indicator_2/expression_parser.lua | 3 | 7102 | include( "util/tables.lua" )
include( "expressions/expr_tokenizer.lua" )
include( "expressions/expr_stack.lua" )
funcTable = {}
binaryFuncs = {}
--Runtime Code
EXPR_Parser = {}
EXPR_Parser.binaryFuncs = {}
EXPR_Parser.funcTable = {}
include( "expressions/libs/mathlib.lua" )
include( "expressions/libs/stringlib.lua" ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Cloister_of_Flames/npcs/Fire_Protocrystal.lua | 27 | 1942 | -----------------------------------
-- Area: Cloister of Flames
-- NPC: Fire Protocrystal
-- Involved in Quests: Trial by Fire, Trial Size Trial by Fire
-- @pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
AxTo/Sensor-Elevators | AxToElevatorRightWing.lua | 1 | 2397 | --Owned by AxTo, developed by micheel6
p = peripheral.wrap("right")
function update()
--We get the players x,y,z cords with the function called blub(no reason to call it that I just dont have creative names)
x = p.getPlayerData(blub()).position.x
z = p.getPlayerData(blub()).position.z
y = p.... | mit |
Disslove-bot/Max3-BOT | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Metalworks/npcs/Invincible_Shield.lua | 13 | 1440 | -----------------------------------
-- Area: Metalworks
-- NPC: Invincible Shield
-- Type: Ballista
-- @pos -51.083 -11 2.126 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zo... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Rabao/npcs/Shiny_Teeth.lua | 36 | 1675 | -----------------------------------
-- Area: Rabao
-- NPC: Shiny Teeth
-- Standard Merchant NPC
-- @pos -30 8 99 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Rabao/Text... | gpl-3.0 |
ruisebastiao/nodemcu-firmware | tools/cross-lua.lua | 19 | 1145 | local args = { ... }
local b = require "tools.build"
local builder = b.new_builder( ".build/cross-lua" )
local utils = b.utils
local sf = string.format
builder:init( args )
builder:set_build_mode( builder.BUILD_DIR_LINEARIZED )
local output = 'luac.cross'
local cdefs = '-DLUA_CROSS_COMPILER -O2'
-- Lua source files ... | mit |
nesstea/darkstar | scripts/zones/Sauromugue_Champaign/npcs/Stone_Monument.lua | 13 | 1290 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 77.544 -2.746 -184.803 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/dancing_edge.lua | 30 | 1413 | -----------------------------------
-- Dancing Edge
-- Dagger weapon skill
-- Skill level: 200
-- Delivers a fivefold attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Will stack with Trick Attack.
-- Aligned with the Breeze Gorget & Soil Gorget.
-- Aligned with the Breeze Belt & Soil ... | gpl-3.0 |
error454/SteamShiva | Resources/Scripts/Steam_State_Running_onEnter.lua | 1 | 1424 | --------------------------------------------------------------------------------
-- State............ : Running
-- Author........... :
-- Description...... :
--------------------------------------------------------------------------------
---------------------------------------------------------------------------... | mit |
kitala1/darkstar | scripts/zones/Mhaura/npcs/Zexu.lua | 17 | 1287 | -----------------------------------
-- Area: Mhaura
-- NPC: Zexu
-- Involved in Quests: The Sand Charm
-- @pos 30 -8 25 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/... | gpl-3.0 |
xsolinsx/AISashaAPI | plugins/bot.lua | 1 | 4643 | local function enable_channel(chat_id)
local lang = get_lang(chat_id)
if not config.disabled_channels then
config.disabled_channels = { }
end
if config.disabled_channels[chat_id] == nil then
return langs[lang].botOn
end
config.disabled_channels[chat_id] = false
... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Port_Jeuno/npcs/Horst.lua | 12 | 3529 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Horst
-- Type: Abyssea Warp NPC
-- @pos -54.379 0.001 -10.061 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
-... | gpl-3.0 |
adiyoss/DeepWDM | back_end/data.lua | 1 | 3101 | --require('mobdebug').start()
require ('torch')
require ('nn')
require ('rnn')
dofile ('utils.lua')
----------------------------------------------------------------------
-- parse command line arguments
if not opt then
print('==> processing options')
cmd = torch.CmdLine()
cmd:text()
cmd:text('Loading data'... | mit |
kitala1/darkstar | scripts/zones/Cloister_of_Frost/npcs/Ice_Protocrystal.lua | 12 | 1847 | -----------------------------------
-- Area: Cloister of Frost
-- NPC: Ice Protocrystal
-- Involved in Quests: Trial by Ice, Trial Size Trial by Ice
-- @pos 558 0 596 203
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
-------------------------------------
... | gpl-3.0 |
crabman77/minetest-minetestforfun-server | mods/biome_lib/init.lua | 8 | 28634 | -- Plantlife library mod by Vanessa Ezekowitz
--
-- License: WTFPL
--
-- I got the temperature map idea from "hmmmm", values used for it came from
-- Splizard's snow mod.
--
-- Various settings - most of these probably won't need to be changed
biome_lib = {}
plantslib = setmetatable({}, { __index=function(t,k) prin... | unlicense |
sylvanaar/IDLua | testdata/non-test-system-files/lua5.1-tests/gc.lua | 19 | 7014 | print('testing garbage collection')
collectgarbage()
_G["while"] = 234
limit = 5000
contCreate = 0
print('tables')
while contCreate <= limit do
local a = {}; a = nil
contCreate = contCreate+1
end
a = "a"
contCreate = 0
print('strings')
while contCreate <= limit do
a = contCreate .. "b";
a = string.gsub... | apache-2.0 |
kitala1/darkstar | scripts/zones/East_Ronfaure/TextIDs.lua | 5 | 1413 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6393; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6396; -- Obtained: <item>.
GIL_OBTAINED = 6397; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6399; -- Obt... | gpl-3.0 |
kitala1/darkstar | scripts/globals/weaponskills/heavy_swing.lua | 30 | 1339 | -----------------------------------
-- Heavy Swing
-- Staff weapon skill
-- Skill Level: 5
-- Deacription:Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP... | gpl-3.0 |
tetoali605/THETETOO_A7A | plugins/dev.lua | 5 | 1861 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : المطور ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄... | gpl-2.0 |
LuaDist2/opencl | test/test.lua | 2 | 1609 | ------------------------------------------------------------------------------
-- Testing tools.
-- Copyright © 2013–2015 Peter Colberg.
-- Distributed under the MIT license. (See accompanying file LICENSE.)
------------------------------------------------------------------------------
require("strict")
pcall(require... | mit |
kitala1/darkstar | scripts/zones/Batallia_Downs/npcs/Luck_Rune.lua | 34 | 1079 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos -362.167 -12.199 157.158 105
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-------------------------------------
require("scripts/... | gpl-3.0 |
fqrouter/luci | modules/admin-full/luasrc/controller/admin/index.lua | 79 | 1245 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.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$
]]--
mod... | apache-2.0 |
kitala1/darkstar | scripts/globals/spells/thunderstorm.lua | 31 | 1165 | --------------------------------------
-- Spell: Thunderstorm
-- Changes the weather around target party member to "thundery."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua | 38 | 1026 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Eumoa-Tajimoa
-- Type: Standard NPC
-- @zone: 48
-- @pos 19.275 -1 55.182
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
leezhongshan/skynet | examples/login/gated.lua | 57 | 2201 | local msgserver = require "snax.msgserver"
local crypt = require "crypt"
local skynet = require "skynet"
local loginservice = tonumber(...)
local server = {}
local users = {}
local username_map = {}
local internal_id = 0
-- login server disallow multi login, so login_handler never be reentry
-- call by login server
... | mit |
crabman77/minetest-minetestforfun-server | mods/soundset/init.lua | 5 | 6485 | minetest.log("action","[mod soundset] Loading...")
soundset = {}
soundset.file = minetest.get_worldpath() .. "/sounds_config.txt"
soundset.gainplayers = {}
local tmp = {}
tmp["music"] = {}
tmp["ambience"] = {}
tmp["other"] = {}
local function save_sounds_config()
local input = io.open(soundset.file, "w")
if input ... | unlicense |
Teaonly/easyLearning.js | snd/data/classnumber.lua | 1 | 1377 | local classToNumber = function(className)
if ( className == 'aeroplane') then
return 1
end
if ( className == 'bicycle') then
return 2
end
if ( className == 'bird' ) then
return 3
end
if ( className == 'boat' ) then
return 4
end
if ( className == 'bott... | mit |
nicodinh/cuberite | lib/tolua++/src/bin/lua/compat.lua | 23 | 4095 | -------------------------------------------------------------------
-- Real globals
-- _ALERT
-- _ERRORMESSAGE
-- _VERSION
-- _G
-- assert
-- error
-- metatable
-- next
-- print
-- require
-- tonumber
-- tostring
-- type
-- unpack
-------------------------------------------------------------------
-- collectgarbage
--... | apache-2.0 |
apletnev/koreader | spec/unit/screenshoter_spec.lua | 5 | 1680 | describe("ReaderScreenshot module", function()
local DocumentRegistry, ReaderUI, lfs, UIManager, Event
local sample_epub = "spec/front/unit/data/leaves.epub"
local readerui
setup(function()
require("commonrequire")
DocumentRegistry = require("document/documentregistry")
ReaderUI ... | agpl-3.0 |
kitala1/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/MieuseloirBEnchelles1.lua | 36 | 1055 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Miuseloir B Enchelles
-- @zone 80
-- @pos 120 0 104
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Wahraga.lua | 19 | 1177 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Wahraga
-- Guild Merchant: Alchemist Guild
-- @pos -76.836 -6.000 140.331 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
eniallator/L-system-Computercraft | lSystemLib/parser.lua | 1 | 4037 | local parser = {}
local tabInsert = table.insert
local tabRemove = table.remove
local tabConcat = table.concat
local function consumeToken(tList, tType, tCont, hard)
if #tList > 0 then -- Sanity check
local nToken = tabRemove(tList, 1)
local lkTb = {}
if type(tType) == "string" then
tType = {tTyp... | gpl-3.0 |
selaselah/thrift | lib/lua/TMemoryBuffer.lua | 100 | 2266 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
kitala1/darkstar | scripts/globals/mobskills/Luminous_Lance.lua | 19 | 1379 | ---------------------------------------------
-- Luminous Lance
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-------------------------------------------... | gpl-3.0 |
LuaDist2/lua_cliargs | src/cliargs/core.lua | 3 | 15828 | -- luacheck: ignore 212
local _
local disect = require('cliargs.utils.disect')
local lookup = require('cliargs.utils.lookup')
local filter = require('cliargs.utils.filter')
local shallow_copy = require('cliargs.utils.shallow_copy')
local create_printer = require('cliargs.printer')
local config_loader = require('cliarg... | mit |
kitala1/darkstar | scripts/zones/Newton_Movalpolos/npcs/Treasure_Coffer.lua | 12 | 3317 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Treasure Coffer
-- @zone 12
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pihra_Rhebenslo.lua | 36 | 4463 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Pihra_Rhebenslo
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/a... | gpl-3.0 |
d-o/LUA-LIB | src/rinLibrary/rinDebug.lua | 2 | 12433 | -------------------------------------------------------------------------------
-- Offer functions for converting variables into strings for debugging
-- @module rinLibrary.rinDebug
-- @author Darren Pearson
-- @copyright 2013 Rinstrum Pty Ltd
----------------------------------------------------------------------------... | gpl-3.0 |
Synxis/bgfx | scripts/genie.lua | 5 | 9858 | --
-- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
--
newoption {
trigger = "with-amalgamated",
description = "Enable amalgamated build.",
}
newoption {
trigger = "with-ovr",
description = "Enable OculusVR integration.",
}
newoptio... | bsd-2-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.