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 |
|---|---|---|---|---|---|
MNKgod/darkstar | scripts/zones/Windurst_Woods/npcs/Nalta.lua | 38 | 1033 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nalta
-- Type: Conquest Troupe
-- @zone: 241
-- @pos 19.140 1 -51.297
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
----------------... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/items/bowl_of_adamantoise_soup.lua | 35 | 1607 | -----------------------------------------
-- ID: 5210
-- Item: Bowl of Adamantoise Soup
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength -7
-- Dexterity -7
-- Agility -7
-- Vitality -7
-- Intelligence -7
-- Mind -7
-- Charisma -7
---------------------------------------... | gpl-3.0 |
DhavalKapil/elasticsearch-lua | tests/endpoints/RenderSearchTemplateTest.lua | 2 | 1230 | -- Importing modules
local RenderSearchTemplate = require "elasticsearch.endpoints.RenderSearchTemplate"
local parser = require "elasticsearch.parser"
local MockTransport = require "lib.MockTransport"
local getmetatable = getmetatable
-- Setting up environment
local _ENV = lunit.TEST_CASE "tests.endpoints.RenderSearch... | mit |
MNKgod/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/qm6.lua | 31 | 1733 | ----------------------------------
-- Area: Fort Karugo Narugo [S]
-- NPC: ???
-- Type: Quest
-- @zone: 96
-- @pos -63 -75 4
--
-----------------------------------
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
require("scripts/global... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Garlaige_Citadel/npcs/_5k0.lua | 17 | 1366 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: Banishing Gate #1
-- @pos -201.000 -2.994 220 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Garlaige_Citadel/TextIDs");
... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Rabao/npcs/Generoit.lua | 37 | 1363 | -----------------------------------
-- Area: Rabao
-- NPC: Generoit
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
-- onTrade Actio... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/spells/dragonfoe_mambo.lua | 18 | 1581 | -----------------------------------------
-- Spell: Dragonfoe Mambo
-- Grants evasion bonus to all members.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cast... | gpl-3.0 |
dev-joker-dev/Joker-Developer | plugins/arbic_lock.lua | 4 | 1513 | --[[
# For More Information ....!
# Developer : Aziz < @devss_bot > #Dev
# our channel: @help_tele
]]
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.mod... | gpl-2.0 |
MNKgod/darkstar | scripts/zones/Southern_San_dOria/npcs/Guilboire.lua | 36 | 1435 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Guilboire
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/ques... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Spire_of_Vahzl/npcs/_0n2.lua | 51 | 1327 | -----------------------------------
-- Area: Spire_of_vahlz
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Vahzl/TextIDs");
---------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fq.lua | 34 | 2568 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: West Plate
-- @pos 150 -32 14 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--------------------------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Metalworks/npcs/Tomasa.lua | 34 | 1476 | -----------------------------------
-- Area: Metalworks
-- NPC: Tomasa
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Metalworks/TextIDs");
--... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Konschtat_Highlands/npcs/Plaiaude.lua | 28 | 1794 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Plaiaude
-- Type: Chocobo Renter
-- @pos 244.705 24.034 296.973 108
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/glob... | gpl-3.0 |
Kisaua/nodemcu-firmware | lua_examples/u8glib/u8g_bitmaps.lua | 43 | 2050 |
-- setup I2c and connect display
function init_i2c_display()
-- SDA and SCL can be assigned freely to available GPIOs
local sda = 5 -- GPIO14
local scl = 6 -- GPIO12
local sla = 0x3c
i2c.setup(0, sda, scl, i2c.SLOW)
disp = u8g.ssd1306_128x64_i2c(sla)
end
-- setup SPI and connect display
... | mit |
ejoncas/kong | kong/api/crud_helpers.lua | 20 | 3661 | local responses = require "kong.tools.responses"
local validations = require "kong.dao.schemas_validation"
local app_helpers = require "lapis.application"
local utils = require "kong.tools.utils"
local _M = {}
function _M.find_api_by_name_or_id(self, dao_factory, helpers)
local fetch_keys = {
[validations.is_va... | apache-2.0 |
sujeet14108/luci | libs/luci-lib-httpclient/luasrc/httpclient/receiver.lua | 78 | 5842 | -- Copyright 2009 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
require "nixio.util"
local nixio = require "nixio"
local httpc = require "luci.httpclient"
local ltn12 = require "luci.ltn12"
local print, tonumber, require, unpack = print, tonumber, require, unpack
module "l... | apache-2.0 |
MNKgod/darkstar | scripts/zones/LaLoff_Amphitheater/bcnms/divine_might.lua | 17 | 3593 | -----------------------------------
-- Area: LaLoff Amphitheater
-- Name: Divine Might
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/missions");
... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Northern_San_dOria/npcs/Dauperiat.lua | 17 | 3329 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Dauperiat
-- Starts and Finishes Quest: Blackmail (R)
-- @zone 231
-- @pos
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Mhaura/npcs/Wilhelm.lua | 27 | 2363 | -----------------------------------
-- Area: Mhaura
-- NPC: Wilhelm
-- Type: Standard NPC
-- @pos -22.746 -5 17.157 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/armor_upgrade");
---------------------------... | gpl-3.0 |
cornernote/minetest-modulator_game | mods/nature/farming/potatoes.lua | 1 | 1996 | minetest.register_craftitem("farming:potatoe_seed", {
description = "Potatoe Seeds",
inventory_image = "farming_potatoe_seed.png",
on_place = function(itemstack, placer, pointed_thing)
local above = minetest.env:get_node(pointed_thing.above)
if above.name == "air" then
above.name = "farming:potatoe_1"
mine... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Empyreal_Paradox/mobs/Promathia_2.lua | 15 | 2388 | -----------------------------------
-- Area: Empyreal Paradox
-- NPC: Promathia (phase 2)
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-----------------------------------
-- onMobInitialize Action
--------... | gpl-3.0 |
sujeet14108/luci | applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua | 52 | 7621 | -- Copyright 2014 Roger D <rogerdammit@gmail.com>
-- Licensed to the public under the Apache License 2.0.
m = Map("mjpg-streamer", "MJPG-streamer", translate("mjpg streamer is a streaming application for Linux-UVC compatible webcams"))
--- General settings ---
section_gen = m:section(TypedSection, "mjpg-streamer", t... | apache-2.0 |
MNKgod/darkstar | scripts/zones/Lufaise_Meadows/npcs/Jersey.lua | 19 | 1808 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Jersey
-- Type: Outpost Vendor
-- @pos -548.706 -7.197 -53.897 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("script... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Windurst_Walls/npcs/HomePoint#3.lua | 17 | 1252 | -----------------------------------
-- Area: Windurst Walls
-- NPC: HomePoint#3
-- @pos 31 -6.5 -40 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Walls/TextIDs");
require("scripts/gl... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/items/meatloaf_+1.lua | 39 | 1388 | -----------------------------------------
-- ID: 5690
-- Item: Meatloaf +1
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Needs verification
-- Strength 6
-- Agility 2
-- Intelligence -2
-- Attack 25% Cap 85
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
hakeran/mohammad-feri | plugins/invite.lua | 393 | 1225 | 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 |
vahed2719/vahed | plugins/tweet.lua | 634 | 7120 | local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
local client = OAuth.new(consumer_key,
consumer_secret,
... | gpl-2.0 |
RTBHOUSE/fbcunn | fbcunn/SpatialConvolutionCuFFT.lua | 8 | 9961 | -- Copyright 2004-present Facebook. All Rights Reserved.
local mk = require('multikey')
-- Hoist this in a global buffer module
cudaTensorBuffers = {}
FFTConvolution = 'FFTConvolutionBuffer'
FFTConvolutionTranspose = 'FFTConvolutionTransposeBuffer'
FFTInputBufferType = 0
FFTInputTransposeBufferType = 1
FFTOutputBuffe... | bsd-3-clause |
sshling/ABTestingGateway | lib/abtesting/adapter/policygroup.lua | 4 | 5543 | ---
-- @classmod abtesting.adapter.policy
-- @release 0.0.1
local modulename = "abtestingAdapterPolicyGroup"
local _M = { _VERSION = "0.0.1" }
local mt = { __index = _M }
local ERRORINFO = require('abtesting.error.errcode').info
local policyModule = require('abtesting.adapter.policy')
local fields = requi... | mit |
MNKgod/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e6.lua | 43 | 1693 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Right) - Dem
-- @pos -243.723 -41.482 -289.937 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Hall_of_Transf... | gpl-3.0 |
alireza1998/black-devil | bot/seedbot.lua | 1 | 9014 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
MNKgod/darkstar | scripts/globals/weaponskills/catastrophe.lua | 14 | 2223 | -----------------------------------
-- Catastrophe
-- Scythe weapon skill
-- Skill Level: N/A
-- Drain target's HP. Bec de Faucon/Apocalypse: Additional effect: Haste
-- This weapon skill is available with the stage 5 relic Scythe Apocalypse or within Dynamis with the stage 4 Bec de Faucon.
-- Also available with... | gpl-3.0 |
sujeet14108/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunks.lua | 68 | 2343 | -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require("luci.asterisk")
cbimap = Map("asterisk", "Trunks")
cbimap.pageaction = false
local sip_peers = { }
cbimap.uci:foreach("asterisk", "sip",
function(s)
if s.type == "peer" then
s.name =... | apache-2.0 |
MNKgod/darkstar | scripts/zones/Windurst_Waters/npcs/Angelica.lua | 36 | 5295 | -----------------------------------
-- 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 |
MNKgod/darkstar | scripts/zones/Temenos/mobs/Enhanced_Vulture.lua | 16 | 1435 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Vulture
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
---------------------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Apollyon/bcnms/NW_Apollyon.lua | 19 | 1065 | -----------------------------------
-- Area: Appolyon
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[NW_Apollyon]UniqueID",Genera... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Aydeewa_Subterrane/mobs/Pandemonium_Warden.lua | 21 | 12117 | -----------------------------------
-- Area: Aydeewa Subterrane
-- ZNM: Pandemonium_Warden
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
-------------... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/abilities/shield_bash.lua | 25 | 2038 | -----------------------------------
-- Ability: Shield Bash
-- Delivers an attack that can stun the target. Shield required.
-- Obtained: Paladin Level 15, Valoredge automaton frame Level 1
-- Recast Time: 3:00 minutes (3:00 for Valoredge version)
-- Duration: Instant
-----------------------------------
require("scrip... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/items/pixie_mace.lua | 41 | 1075 | -----------------------------------------
-- ID: 17414
-- Item: Pixie Mace
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
--------------------------------... | gpl-3.0 |
cornernote/minetest-modulator_game | mods/blocks/homedecor/init.lua | 1 | 30841 | -- Home Decor mod by VanessaE
-- 2012-06-12
--
-- Mostly my own code, with bits and pieces lifted from Minetest's default
-- lua files, from ironzorg's flowers mod
--
-- See also, foldingdoors.lua (borrowed heavily from Minetest's default
-- doors mod)
--
-- This mod requires the presence of the "unifieddyes" mod, whi... | gpl-3.0 |
dretay/seneschal | server/nginx/lua/pl/comprehension.lua | 39 | 9077 | --- List comprehensions implemented in Lua.
--
-- See the [wiki page](http://lua-users.org/wiki/ListComprehensions)
--
-- local C= require 'pl.comprehension' . new()
--
-- C ('x for x=1,10') ()
-- ==> {1,2,3,4,5,6,7,8,9,10}
-- C 'x^2 for x=1,4' ()
-- ==> {1,4,9,16}
-- C '{x,x^2} for x=1,4' ()
-- ==... | gpl-2.0 |
paidi/oxnn | util/models_common.lua | 3 | 3891 | -- Author: Tomas Kocisky
--
--[[ Example use:
--
--
local oxnnmc = require 'oxnn.util.models_common'
local cmd = oxnnmc.cmd
oxnn.Optimizer.AddCmdOptions(cmd)
cmd:option('-something', 20, '....')
...
oxnnmc.Init() -- initializes CUDA, OpenMP,...
... load model and change params ...
local loadmodel = oxnn.Optimizer.... | bsd-3-clause |
MNKgod/darkstar | scripts/zones/Windurst_Walls/npcs/Yoran-Oran.lua | 19 | 5384 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Yoran-Oran
-- Type: Standard NPC
-- @zone: 239
-- @pos -109.987 -14 203.338
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Western_Adoulin/npcs/HomePoint#2.lua | 19 | 1187 | -----------------------------------
-- Area: Western_Adoulin
-- NPC: HomePoint#2
-- @pos
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Western_Adoulin/TextIDs");
require("scripts/globals/homepoint");
--... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/weaponskills/quietus.lua | 30 | 1643 | -----------------------------------
-- Quietus
-- Scythe weapon skill
-- Skill Level: N/A
-- Delivers a triple damage attack that ignores target's defense. Amount ignored varies with TP. Redemption: Aftermath.
-- Available only when equipped with Redemption (85)/(90)/(95)/(99) or Penitence +1/+2/+3/Umiliati.
-- A... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Bastok_Mines/npcs/_6i8.lua | 17 | 1287 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Door
-- Involved in Quest: A Thief in Norg!?
-- @pos 70 7 2 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("sc... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Kazham/npcs/Toeh_Leddenbah.lua | 15 | 1101 | -----------------------------------
-- Area: Kazham
-- NPC: Toeh Leddenbah
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
--------------------------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/AlTaieu/npcs/HomePoint#3.lua | 17 | 1228 | -----------------------------------
-- Area: AlTaieu
-- NPC: HomePoint#3
-- @pos
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/homepoint");
--------------------------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/AlTaieu/mobs/Absolute_Virtue.lua | 23 | 2388 | -----------------------------------
-- Area: Al'Taieu
-- HNM: Absolute Virtue
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobSpawn Action
-------------------------------... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/spells/bio_ii.lua | 18 | 2117 | -----------------------------------------
-- Spell: Bio II
-- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-------------------... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/spells/spirited_etude.lua | 18 | 1765 | -----------------------------------------
-- Spell: Spirited Etude
-- Static MND Boost, BRD 24
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onM... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_4f3.lua | 16 | 2013 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: _4f3
-- Notes: Tonberry Priest Room (Offers Tonberry Hate Reset)
-- @pos 60.001 -1.653 -147.755 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
fuhongxue/Tui-x | HelloTuiLua/res/main/json.lua | 60 | 15380 | -----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.40
-- This module is released under the MIT License (MIT).
-- Please see L... | mit |
MNKgod/darkstar | scripts/zones/Bastok_Markets/npcs/Ellard.lua | 19 | 2634 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Ellard
-- Type: Guildworker's Union Representative
-- @zone: 235
-- @pos -214.355 -7.814 -63.809
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/keyitems");
require("scrip... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/items/date.lua | 36 | 1140 | -----------------------------------------
-- ID: 5566
-- Item: Date
-- Food Effect: 5 Mins, All Races
-----------------------------------------
-- Intelligence 1
-- Agility -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
WibbenZ/forgottenserver | data/creaturescripts/scripts/droploot.lua | 3 | 1205 | function onDeath(player, corpse, killer, mostDamage, unjustified, mostDamage_unjustified)
if player:hasFlag(PlayerFlag_NotGenerateLoot) or player:getVocation():getId() == VOCATION_NONE then
return true
end
local amulet = player:getSlotItem(CONST_SLOT_NECKLACE)
if amulet and amulet.itemid == ITEM_AMULETOFLOSS and... | gpl-2.0 |
MNKgod/darkstar | scripts/zones/Bastok_Mines/npcs/Roh_Latteh.lua | 34 | 2602 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Roh Latteh
-- Involved in Quest: Mom, The Adventurer?
-- Finishes Quest: The Signpost Marks the Spot
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
dretay/seneschal | server/nginx/lua/pl/pretty.lua | 11 | 8318 | --- Pretty-printing Lua tables.
-- Also provides a sandboxed Lua table reader and
-- a function to present large numbers in human-friendly format.
--
-- Dependencies: `pl.utils`, `pl.lexer`
-- @module pl.pretty
local append = table.insert
local concat = table.concat
local utils = require 'pl.utils'
local lexer = requi... | gpl-2.0 |
MNKgod/darkstar | scripts/zones/Lower_Jeuno/npcs/Chululu.lua | 17 | 5655 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Chululu
-- Starts and Finishes Quests: Collect Tarut Cards, Rubbish Day
-- Optional Cutscene at end of Quest: Searching for the Right Words
-- @pos -13 -6 -42 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextID... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Caedarva_Mire/npcs/Kwadaaf.lua | 19 | 1350 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Kwadaaf
-- Type: Entry to Alzadaal Undersea Ruins
-- @pos -639.000 12.323 -260.000 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitem... | gpl-3.0 |
brunominervino/forgottenserver | data/npc/lib/npcsystem/keywordhandler.lua | 19 | 5024 | -- Advanced NPC System by Jiddo
if KeywordHandler == nil then
KeywordNode = {
keywords = nil,
callback = nil,
parameters = nil,
children = nil,
parent = nil
}
-- Created a new keywordnode with the given keywords, callback function and parameters and without any childNodes.
function KeywordNode:new(keys,... | gpl-2.0 |
feynmanliang/bachbot | scripts/harm_model/train.lua | 1 | 7783 | require 'torch'
require 'nn'
require 'optim'
require 'HarmModel'
require 'util.DataLoader'
local utils = require 'util.utils'
local unpack = unpack or table.unpack
local cmd = torch.CmdLine()
-- Dataset options
cmd:option('-input_h5', '../../scratch/concat_corpus.h5')
cmd:option('-input_json', '../../scratch/concat... | mit |
MNKgod/darkstar | scripts/zones/Bastok_Mines/npcs/Wahid.lua | 34 | 1939 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Wahid
-- Start & Finishes Quest: The Siren's Tear
-- @zone: 234
-- @pos 26.305 -1 -66.403
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Mhaura/npcs/Radhika.lua | 19 | 1058 | -----------------------------------
-- Area: Mhaura
-- NPC: Radhika
-- Type: Standard NPC
-- @pos 34.124 -8.999 39.629 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
---------------------------... | gpl-3.0 |
DhavalKapil/elasticsearch-lua | src/elasticsearch.lua | 2 | 1208 | --- The elasticsearch module
--
-- Requirements:
-- lua >= 5.1
--
-- @module elasticsearch
-- @author Dhaval Kapil
-------------------------------------------------------------------------------
-- Importing modules
-------------------------------------------------------------------------------
local Client = require... | mit |
syj2010syj/project_index_v2.0_editor | Lua/BJ.lua | 1 | 375307 |
--===========================================================================
-- Blizzard.j ( define Jass2 functions that need to be in every map script )
--===========================================================================
-------------------------------------------------------------------------
... | apache-2.0 |
MNKgod/darkstar | scripts/zones/Port_San_dOria/npcs/Bricorsant.lua | 36 | 1376 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Bricorsant
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Te... | gpl-3.0 |
kidaa/FFXIWindower | addons/libs/strings.lua | 1 | 16568 | --[[
A few string helper functions.
]]
_libs = _libs or {}
_libs.strings = true
_libs.functions = _libs.functions or require('functions')
_libs.math = _libs.math or require('maths')
_meta = _meta or {}
debug.setmetatable('', {
__index = function(str, k)
return string[k] or type(k) == 'number' and str... | mit |
MNKgod/darkstar | scripts/globals/spells/bluemagic/flying_hip_press.lua | 27 | 1410 | -----------------------------------------
-- Spell: Flying Hip Press
-- Deals wind damage to enemies within range
-- Spell cost: 125 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+1
-- Level: 58
-- Casting Time: 5.75 seconds
-- Recast Time: 34.5 seconds
... | gpl-3.0 |
Cavitt/otclient_mapgen | modules/game_interface/widgets/uiitem.lua | 7 | 3091 | function UIItem:onDragEnter(mousePos)
if self:isVirtual() then return false end
local item = self:getItem()
if not item then return false end
self:setBorderWidth(1)
self.currentDragThing = item
g_mouse.pushCursor('target')
return true
end
function UIItem:onDragLeave(droppedWidget, mousePos)
if self:i... | mit |
padrinoo1/telesim | plugins/anti_spam.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
MNKgod/darkstar | scripts/zones/RuAun_Gardens/mobs/Suzaku.lua | 12 | 1981 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Suzaku
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobIniti... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Batallia_Downs/npcs/qm3.lua | 17 | 1858 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm3 (???)
-- Involved in Mission 9-1 (San dOria)
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Batallia_Downs/TextIDs");
require(... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Apollyon/mobs/Kaiser_Behemoth.lua | 4 | 1445 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Apollyon/TextIDs");
------------------... | gpl-3.0 |
ldcastanheira/points | src/tasklist.lua | 1 | 1789 |
tasklist = newclass("tasklist")
group = function(id, t, gid, grouplist, allocatedgroup, alarm)
local gtu
local brokenlink = alarm and (alarm.brokenlink or alarm.all) and printf or function() end
if not grouplist[gid] then
brokenlink("Could not link %s task to %s task\n", id, gid)
return
end
if allocatedgro... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Bearclaw_Pinnacle/bcnms/flames_for_the_dead.lua | 17 | 1786 | -----------------------------------
-- Area: Bearclaw_Pinnacle
-- Name: flames_for_the_dead
-- bcnmID : 640
-- enemy: Snoll_Tzar 16801793 16801794 16801795 group 176
-----------------------------------
package.loaded["scripts/zones/Bearclaw_Pinnacle/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
AccroGaming/Accro-DarkRP | DarkRP/gamemode/fpp/FPP_DefaultBlockedModels.lua | 1 | 2146 | /*
DEFAULT BLOCKED MODELS
THIS FILE WILL ONLY BE RUN ONCE, WHICH IS THE FIRST TIME YOU INSTALL FPP, OR AFTER THE SQLITE DATABASE IS RESET
DO NOT EDIT THIS FILE AS IT IS USELESS
GO TO Q>UTILITIES>FPP ADMIN SETTINGS > BLOCKED MODEL OPTIONS TO ADD OR REMOVE BLOCKED MODELS
*/
local defaultblocked = {
"models/props_indus... | mpl-2.0 |
MNKgod/darkstar | scripts/zones/Temenos/mobs/Goblin_Theurgist.lua | 16 | 1151 | -----------------------------------
-- Area: Temenos N T
-- NPC: Goblin_Theurgist
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
---------------------... | gpl-3.0 |
Zenfone2-Dev/kali-nethunter | nethunter-installer/update/system/bin/lualibs/getopt.lua | 26 | 3187 |
--[[This file is an adaptation from the following source:
https://github.com/attractivechaos/klib/blob/master/lua/klib.lua
]]
--[[
The MIT License
Copyright (c) 2011, Attractive Chaos <attractor@live.co.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software a... | gpl-2.0 |
dretay/seneschal | server/nginx/lua/pl/List.lua | 26 | 15827 | --- Python-style list class.
--
-- **Please Note**: methods that change the list will return the list.
-- This is to allow for method chaining, but please note that `ls = ls:sort()`
-- does not mean that a new copy of the list is made. In-place (mutable) methods
-- are marked as returning 'the list' in this documentati... | gpl-2.0 |
floreal/libretro-lutro | test/main.lua | 2 | 1308 | -- Lutro Tester
local availableStates = {
"graphics/print",
"graphics/rectangle",
"graphics/line",
"audio/play"
}
local states = {}
local currentState = 1
local currentTime = 0
local intervalTime = 2.5
function lutro.conf(t)
t.width = 640
t.height = 480
-- Initiate all available test states.
for i, state in i... | mit |
MNKgod/darkstar | scripts/zones/Port_Jeuno/npcs/Leyla.lua | 37 | 1442 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Leyla
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- o... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Korroloka_Tunnel/TextIDs.lua | 9 | 1276 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obt... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/spells/valor_minuet_ii.lua | 18 | 1591 | -----------------------------------------
-- Spell: Valor Minuet II
-- Grants Attack bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingC... | gpl-3.0 |
MrAL-i/SPIRAN | plugins/vote.lua | 4 | 2162 | do
local _file_votes = './data/votes.lua'
function read_file_votes ()
local f = io.open(_file_votes, "r+")
if f == nil then
print ('Created voting file '.._file_votes)
serialize_to_file({}, _file_votes)
else
print ('Values loaded: '.._file_votes)
f:close()
end
return loadfile (_file_votes)()... | gpl-2.0 |
cornernote/minetest-modulator_game | mods/doors/hatches/init.lua | 1 | 2227 | -- Local constants
-- This _has_ to be set to 2
local HATCH_OPENED = 2
-- This has to be != from HATCH_OPENED and is coded on 4 bits
local HATCH_CLOSED = 1
-- Local Functions
local on_hatch_punched = function(pos, node, puncher)
if (node.name ~= 'hatches:hatch_closed')
and (node.name ~= 'hatches:hatch_open... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/PsoXja/npcs/_09h.lua | 17 | 1223 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Avatars Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyite... | gpl-3.0 |
GhoulofGSG9/NS2_BalanceMod | lua/GhoulsBalance/AlienUpgradeSwap/AlienTeam.lua | 2 | 2134 | function AlienTeam:OnUpgradeChamberDestroyed(upgradeChamber)
if upgradeChamber:GetTechId() == kTechId.CarapaceShell then
self.updateAlienArmor = true
end
-- These is a list of all tech to check when a upgrade chamber is destroyed.
local checkForLostResearch =
{
[kTechId.RegenerationShell] = { "Shell", kTechI... | mit |
WibbenZ/forgottenserver | data/migrations/13.lua | 58 | 2963 | function onUpdateDatabase()
print("> Updating database to version 14 (account_bans, ip_bans and player_bans)")
db.query("CREATE TABLE IF NOT EXISTS `account_bans` (`account_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expires_at` bigint(20) NOT NULL, `banned_by` int(11) NOT... | gpl-2.0 |
MNKgod/darkstar | scripts/zones/Windurst_Woods/npcs/Samigo-Pormigo.lua | 17 | 2686 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Samigo-Pormigo
-- Type: Guildworker's Union Representative
-- @zone: 241
-- @pos -9.782 -5.249 -134.432
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/keyitems")... | gpl-3.0 |
syj2010syj/project_index_v2.0_editor | Lua/H007.lua | 1 | 41284 |
HeroName[7] = "茵蒂克丝"
HeroMain[7] = "智力"
HeroType[7] = |Eevi|
RDHeroType[7] = |h01Q|
IllHeroType[7] = |E037|
HeroTypePic[7] = "ReplaceableTextures\\CommandButtons\\BTNIndex.blp"
HeroSize[7] = 0.9
LearnSkillId = {|A168|, |A169|, |A16A|, |A16B|}
--魔法解析
InitSkill{
n... | apache-2.0 |
pouyaxboy/full2 | plugins/bot.lua | 32 | 2277 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
MNKgod/darkstar | scripts/globals/items/serving_of_icecap_rolanberry.lua | 35 | 1403 | -----------------------------------------
-- ID: 4556
-- Item: serving_of_icecap_rolanberry
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 19
-- Magic Cap 55
-- Intelligence 2
-- Wind Res 5
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
sujeet14108/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk.lua | 68 | 5120 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
cbimap = Map("asterisk", "asterisk", "")
asterisk = cbimap:section(TypedSection, "asterisk", "Asterisk General Options", "")
asterisk.anonymous = true
agidir... | apache-2.0 |
MNKgod/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm0_2.lua | 35 | 1151 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
... | gpl-3.0 |
ckjong/gentrify | Gentrify Lua/libraries/loveframes/objects/image.lua | 18 | 9950 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- get the current require path
local path = string.sub(..., 1, string.len(...) - string.len(".objects.image"))
local lovefr... | gpl-3.0 |
MrAL-i/SPIRAN | plugins/me.lua | 6 | 1299 | do function run(msg, matches)
if matches[1]:lower() == 'wai' and is_sudo(msg) then
return "You are SUDO"
end
if matches[1]:lower() == 'wai' and is_admin(msg) then
return "You are Admin"
end
if matches[1]:lower() == 'wai' and is_owner(msg) then
return "You are Group Leader"
... | gpl-2.0 |
jojoa1997/overcraft_origins | mods/default/crafting.lua | 1 | 13482 | -- mods/default/crafting.lua
--
-- Crafting definition
--
minetest.register_craft({
output = 'default:wood 4',
recipe = {
{'default:tree'},
}
})
minetest.register_craft({
output = 'default:junglewood 4',
recipe = {
{'default:jungletree'},
}
})
minetest.register_craft({
output = 'default:stick 4',
recipe... | lgpl-3.0 |
cornernote/minetest-modulator_game | mods/nature/farming/tomatoes.lua | 1 | 2402 | minetest.register_craftitem("farming:tomato_seed", {
description = "Tomato Seeds",
inventory_image = "farming_tomato_seed.png",
on_place = function(itemstack, placer, pointed_thing)
local above = minetest.env:get_node(pointed_thing.above)
if above.name == "air" then
above.name = "farming:tomato_1"
minetest... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Glowing_Pebbles.lua | 19 | 1307 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Glowing Pebbles
-- Type: Involved in Quest
-- @pos
-- player:startEvent(0x006a); Left over Cutscene
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.