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 |
|---|---|---|---|---|---|
MNKgod/darkstar | scripts/zones/Davoi/npcs/Zantaviat.lua | 19 | 2246 | -----------------------------------
-- Area: Davoi
-- NPC: Zantaviat
-- Involved in Mission: The Davoi Report
-- @pos 215 0.1 -10 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globa... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Southern_San_dOria/npcs/Collione.lua | 36 | 1684 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Collione
-- General Info NPC
-- @zone 230
-- @pos 10 2 -66
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Windurst_Waters/npcs/Dabido-Sorobido.lua | 38 | 1046 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dabido-Sorobido
-- Type: Standard NPC
-- @zone: 238
-- @pos -93.586 -4.499 19.321
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
---... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Port_San_dOria/npcs/HomePoint#3.lua | 17 | 1251 | -----------------------------------
-- Area: Port San dOria
-- NPC: HomePoint#3
-- @pos -6 -13 -150 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/gl... | gpl-3.0 |
sh2d/padrinoma | lua-classes/test_cls_spot.lua | 1 | 1090 | -- -*- coding: utf-8 -*-
local unicode = require('unicode')
local cls_spot = require('cls_pdnm_spot')
local Tconcat = table.concat
local Tinsert = table.insert
local Ulower = unicode.utf8.lower
local p = cls_spot:new()
do
local fin = assert(io.open(arg[1], 'r'))
p:read_patterns(fin)
fin:close()
end
p:set_sp... | agpl-3.0 |
MNKgod/darkstar | scripts/zones/Windurst_Waters/npcs/Maqu_Molpih.lua | 30 | 1701 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Maqu Molpih
-- Only sells when Windurst controlls Aragoneu Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
require("scripts... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Cape_Teriggan/npcs/Voranbo-Natanbo_WW.lua | 28 | 3136 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Voranbo-Natanbo, W.W.
-- Type: Outpost Conquest Guards
-- @pos -185 7 -63 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conque... | gpl-3.0 |
gatgui/lwc | src/test/test.lua | 1 | 2356 | -- Copyright (C) 2009, 2010 Gaetan Guidet
--
-- This file is part of lwc.
--
-- lwc 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 2.1 of the License, or (at
-- your option) any lat... | lgpl-3.0 |
MNKgod/darkstar | scripts/globals/items/bibikibo.lua | 18 | 1257 | -----------------------------------------
-- ID: 4314
-- Item: Bibikibo
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/wings_of_fury.lua | 19 | 1479 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: Wings of Fury BCNM20
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems"... | gpl-3.0 |
ejoncas/kong | kong/cli/db.lua | 22 | 1420 | #!/usr/bin/env lua
local Faker = require "kong.tools.faker"
local constants = require "kong.constants"
local cutils = require "kong.cli.utils"
local IO = require "kong.tools.io"
local lapp = require("lapp")
local args = lapp(string.format([[
For development purposes only.
Seed the database with random data or drop i... | apache-2.0 |
AccroGaming/Accro-DarkRP | DarkRP/gamemode/fadmin/playeractions/freeze/sv_init.lua | 3 | 2167 | local function Freeze(ply, cmd, args)
if not args[1] then return end
local targets = FAdmin.FindPlayer(args[1])
if not targets or #targets == 1 and not IsValid(targets[1]) then
FAdmin.Messages.SendMessage(ply, 1, "Player not found")
return
end
local time = tonumber(args[2] or 0)
local timeText = time == 0 a... | mpl-2.0 |
MNKgod/darkstar | scripts/globals/moghouse.lua | 30 | 4976 | --
-- Mog House related functions
--
require("scripts/globals/status")
------------------------------------
-- Mog Locker constants
------------------------------------
MOGLOCKER_START_TS = 1009810800 -- unix timestamp for 2001/12/31 15:00
MOGLOCKER_ALZAHBI_VALID_DAYS = 7
MOGLOCKER_ALLAREAS_VALID_DAYS = 5
MOGLOCKER_A... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Kazham/npcs/Roropp.lua | 15 | 8715 | -----------------------------------
-- Area: Kazham
-- NPC: Roropp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
require("scripts/globals/pathfind");
local path = {
16.031977, -8.000000, -106.132980,
... | gpl-3.0 |
xinyadu/nqg | paragraph/onmt/modules/WordEmbedding.lua | 4 | 1532 | --[[ nn unit. Maps from word ids to embeddings. Slim wrapper around
nn.LookupTable to allow fixed and pretrained embeddings.
--]]
local WordEmbedding, parent = torch.class('onmt.WordEmbedding', 'nn.Container')
--[[
Parameters:
* `vocabSize` - size of the vocabulary
* `vecSize` - size of the embedding
* `preTrai... | mit |
MNKgod/darkstar | scripts/zones/Dynamis-Jeuno/mobs/Goblin_Statue.lua | 4 | 3540 | -----------------------------------
-- Area: Dynamis Jeuno
-- NPC: Goblin Statue
-- Map1 Position: http://images3.wikia.nocookie.net/__cb20090312005127/ffxi/images/b/bb/Jeu1.jpg
-- Map2 Position: http://images4.wikia.nocookie.net/__cb20090312005155/ffxi/images/3/31/Jeu2.jpg
-- Vanguard Position: http://faranim.li... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Castle_Zvahl_Baileys/npcs/Treasure_Chest.lua | 19 | 3207 | -----------------------------------
-- Area: Castle Zvahl Baileys
-- NPC: Treasure Chest
-- @zone 161
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Baileys/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
re... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Norg/npcs/Jaucribaix.lua | 17 | 9779 | -----------------------------------
-- Area: Norg
-- NPC: Jaucribaix
-- Starts and Finishes Quest: Forge Your Destiny, The Sacred Katana, Yomi Okuri, A Thief in Norg!?
-- @pos 91 -7 -8 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Nadee_Periyaha.lua | 17 | 1493 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Nadee Periyaha
-- Standard Info NPC
-- @pos -10.802 0.000 -1.198 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/que... | gpl-3.0 |
vahed2719/vahed | plugins/pokedex.lua | 626 | 1668 | do
local images_enabled = true;
local function get_sprite(path)
local url = "http://pokeapi.co/"..path
print(url)
local b,c = http.request(url)
local data = json:decode(b)
local image = data.image
return image
end
local function callback(extra)
send_msg(extra.receiver, extra.text, ok_cb, false)
end
lo... | gpl-2.0 |
MNKgod/darkstar | scripts/zones/Mhaura/npcs/HomePoint#1.lua | 17 | 1239 | -----------------------------------
-- Area: Mhaura
-- NPC: HomePoint#1
-- @pos -12.750 -15.791 87.286 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/homepoi... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fh.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 110 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Port_Jeuno/npcs/Leffquen.lua | 27 | 1076 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Leffquen
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Jeuno/TextIDs");... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Sealions_Den/bcnms/one_to_be_feared.lua | 17 | 2401 | -----------------------------------
-- Area: Sealion's Den
-- Name: one_to_be_feared
-- bcnmID : 992
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Sealions_Den/Text... | gpl-3.0 |
dev-joker-dev/Joker-Developer | plugins/banhammer.lua | 4 | 12626 | --[[
# For More Information ....!
# Developer : Aziz < @devss_bot > #Dev
# our channel: @help_tele
]]
local function pre_process(msg)
local data = load_data(_config.moderation.data)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins... | gpl-2.0 |
MNKgod/darkstar | scripts/globals/items/wild_melon.lua | 35 | 1197 | -----------------------------------------
-- ID: 4597
-- Item: wild_melon
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -6
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Prillaure.lua | 38 | 1040 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Prillaure
-- Type: Event Scene Replayer
-- @pos -143.000 0.999 9.000 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_U... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Northern_San_dOria/npcs/Phaviane.lua | 38 | 1024 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Phaviane
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -4.000 0.000 -28.000
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
... | gpl-3.0 |
agramonte/FuseQuick | QuickFuseExample/resources/quicklua/marmalade/QBrowser.lua | 6 | 1729 | --[[/*
* (C) 2012-2013 Marmalade.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish,... | mit |
MNKgod/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Luck_Rune.lua | 34 | 1080 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos -54.755 7.647 -379.945 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-------------------------------------
require("scripts/... | gpl-3.0 |
DhavalKapil/elasticsearch-lua | src/elasticsearch/endpoints/Snapshot/Delete.lua | 2 | 1936 | -------------------------------------------------------------------------------
-- Importing modules
-------------------------------------------------------------------------------
local SnapshotEndpoint = require "elasticsearch.endpoints.Snapshot.SnapshotEndpoint"
-----------------------------------------------------... | mit |
vahed2719/vahed | plugins/channels.lua | 300 | 1680 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
ahjolinna/PKGBUILD | mpv-ahjolinna-build-git/the conf folder/mpv/etc/scripts/stats.lua | 2 | 8770 | -- Display some stats.
--
-- You can invoke the script with "i" by default or create a different key
-- binding in input.conf using "<yourkey> script_binding stats".
--
-- The style is configurable through a config file named "lua-settings/stats.conf"
-- located in your mpv directory.
--
-- Please note: not every prope... | gpl-2.0 |
MNKgod/darkstar | scripts/zones/Sauromugue_Champaign_[S]/npcs/Bulwark_Gate.lua | 45 | 1825 | -----------------------------------
-- Area: Sauromugue Champaign [S]
-- NPC: Bulwark Gate
-- @pos -445 0 342
-- Quest NPC
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/campaign");
require("scrip... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Northern_San_dOria/npcs/Cheupirudaux.lua | 44 | 2147 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Cheupirudaux
-- Type: Woodworking Guildmaster NPC
-- Involved in Quest: It's Raining Mannequins!
-- @pos -138 12 250 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Windurst_Woods/npcs/Mheca_Khetashipah.lua | 38 | 1046 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mheca Khetashipah
-- Type: Standard NPC
-- @zone: 241
-- @pos 66.881 -6.249 185.752
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
---... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/mobskills/Chemical_Bomb.lua | 18 | 1026 | ---------------------------------------------
-- Chemical_Bomb
--
-- Description: slow+ elegy
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------
function onMobS... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Windurst_Waters/npcs/Chomoro-Kyotoro.lua | 36 | 1589 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Chomoro-Kyotoro
-- Involved in Quest: Making the Grade
-- @zone = 238
-- @pos = 133 -5 167
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
... | gpl-3.0 |
kidaa/FFXIWindower | addons/scoreboard/player.lua | 1 | 6017 | --[[
Object to encapsulate Player battle data
For each mob fought, a separate player instance will be stored. Therefore
there will be multiple Player instances for each actual player in the game.
This allows for easier mob filtering.
]]
local Player = {}
function Player:new (o)
o = o or {}
assert(o.nam... | mit |
MNKgod/darkstar | scripts/zones/Selbina/npcs/Yulon-Polon.lua | 19 | 3643 | -----------------------------------
-- Area: Selbina
-- NPC: Yulon-Polon
-- Type: Title Change NPC
-- @pos 45.998 -16.273 15.739 248
-----------------------------------
require("scripts/globals/titles");
local title2 = { CORDON_BLEU_FISHER , ECOLOGIST , LIL_CUPID , ACE_ANGLER , GOLD_HOOK , MYTHRIL_HOOK , SILVER_... | gpl-3.0 |
eyohansa/wesnoth | data/multiplayer/eras.lua | 26 | 3479 | local helper = wesnoth.require "lua/helper.lua"
local T = helper.set_wml_tag_metatable {}
local res = {}
res.quick_4mp_leaders = function(args)
local make_4mp_leaders_quick = wesnoth.get_variable("make_4mp_leaders_quick")
if make_4mp_leaders_quick == nil then
make_4mp_leaders_quick = wesnoth.game_config.mp_settin... | gpl-2.0 |
MNKgod/darkstar | scripts/globals/weaponskills/leaden_salute.lua | 18 | 4486 | -----------------------------------
-- Leaden Salute
-- Sword weapon skill
-- Skill Level: N/A
-- Delivers a Twofold attack. Damage varies with TP. Death Penalty: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Corsair) quest.
-- Aligned with the Shadow Gorget, Soil Gorge... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ulamaal.lua | 19 | 2322 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ulamaal
-- Type: Standard NPC
-- @pos 93.512 -7.5 -128.530 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require... | gpl-3.0 |
DhavalKapil/elasticsearch-lua | src/elasticsearch/endpoints/Indices/DeleteMapping.lua | 2 | 1930 | -------------------------------------------------------------------------------
-- Importing modules
-------------------------------------------------------------------------------
local Endpoint = require "elasticsearch.endpoints.Endpoint"
------------------------------------------------------------------------------... | mit |
MNKgod/darkstar | scripts/zones/Kuftal_Tunnel/npcs/qm2.lua | 17 | 1031 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: ??? (qm2)
-- Note: Used to spawn Cancer & Bastok mission 8-2
-- @pos -25.238 -12.785 -148.393 174
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/zon... | gpl-3.0 |
shagu/pfUI | env/locales_koKR.lua | 1 | 112812 | pfUI_locale["koKR"] = {}
pfUI_locale["koKR"]["class"] = {
["흑마법사"] = "WARLOCK",
["전사"] = "WARRIOR",
["사냥꾼"] = "HUNTER",
["마법사"] = "MAGE",
["사제"] = "PRIEST",
["드루이드"] = "DRUID",
["성기사"] = "PALADIN",
["주술사"] = "SHAMAN",
["도적"] = "ROGUE",
}
pfUI_locale["koKR"]["bagtypes"] = {
["화살통"] = "QUIVER",
["... | mit |
MNKgod/darkstar | scripts/globals/spells/armys_paeon_v.lua | 31 | 1389 | -----------------------------------------
-- Spell: Army's Paeon V
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Jugner_Forest_[S]/mobs/Decrepit_Gnole.lua | 19 | 1544 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Decrepit Gnole
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("transformTime", os.time())
end;
---------------------------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Toraimarai_Canal/TextIDs.lua | 9 | 1157 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6425; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6430; -- Obtained: <item>.
GIL_OBTAINED = 6431; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6433; -- Obtained... | gpl-3.0 |
cornernote/minetest-modulator_game | mods/technical/technic/water_mill.lua | 2 | 4089 | minetest.register_alias("water_mill", "technic:water_mill")
minetest.register_craft({
output = 'technic:water_mill',
recipe = {
{'default:stone', 'default:stone', 'default:stone'},
{'default:wood', 'technic:diamond', 'default:wood'},
{'default:stone', 'moreores:copper_ingot', 'default:stone'},
}
})
minetest.... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Promyvion-Dem/mobs/Memory_Receptacle.lua | 16 | 6823 | -----------------------------------
-- Area: Promyvion-Dem
-- MOB: Memory Receptacle
-----------------------------------
package.loaded["scripts/zones/Promyvion-Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require( "scripts/zones/Promyvion-Dem/TextIDs" );
-... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/spells/foe_lullaby.lua | 10 | 1208 | -----------------------------------------
-- Spell: Foe Lullaby
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/mobskills/High-Tension_Discharger.lua | 18 | 1253 | ---------------------------------------------------
-- High-Tension_Discharger
-- Description:
-- Type: Magical
-- additional effect : Stun
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
-----... | gpl-3.0 |
pouria3463/fashist | bot/seedbot.lua | 1 | 10235 | 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 = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
ejoncas/kong | spec/plugins/acl/access_spec.lua | 2 | 6029 | local spec_helper = require "spec.spec_helpers"
local http_client = require "kong.tools.http_client"
local cjson = require "cjson"
local STUB_GET_URL = spec_helper.STUB_GET_URL
describe("ACL Plugin", function()
setup(function()
spec_helper.prepare_db()
spec_helper.insert_fixtures {
api = {
{n... | apache-2.0 |
ultijlam/tidy-plates-threat-plates | Widgets/TargetArtWidget.lua | 1 | 1088 | -----------------------
-- Target Art Widget --
-----------------------
local path = "Interface\\AddOns\\TidyPlates_ThreatPlates\\Widgets\\TargetArtWidget\\"
-- Target Art
local function enabled()
local db = TidyPlatesThreat.db.profile.targetWidget
return db.ON
end
local function UpdateTargetFrameArt(frame, unit)
... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Lower_Jeuno/npcs/Bluffnix.lua | 17 | 5314 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Bluffnix
-- Starts and Finishes Quests: Gobbiebags I-X
-- @pos -43.099 5.900 -114.788 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-----------... | gpl-3.0 |
GODILOVEYOUME2/black | libs/dateparser.lua | 502 | 6212 | local difftime, time, date = os.difftime, os.time, os.date
local format = string.format
local tremove, tinsert = table.remove, table.insert
local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable
local dateparser={}
--we shall use the host OS's... | gpl-3.0 |
KingArmin/TeleIran | libs/dateparser.lua | 502 | 6212 | local difftime, time, date = os.difftime, os.time, os.date
local format = string.format
local tremove, tinsert = table.remove, table.insert
local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable
local dateparser={}
--we shall use the host OS's... | agpl-3.0 |
syj2010syj/project_index_v2.0_editor | Lua/tableLibrary.lua | 1 | 1877 |
--表中是否有指定值
table.has = function(t, v)
if type(t) ~= "table" then return false end
for _,tv in pairs(t) do
if tv == v then
return true
elseif type(tv) == "table" and table.has(tv, v) then
return true
end
end
... | apache-2.0 |
cornernote/minetest-modulator_game | mods/technical/technic/init.lua | 1 | 2954 | -- Minetest 0.4.2 rc1: technic
minetest.register_alias("rebar", "technic:rebar")
minetest.register_alias("concrete", "technic:concrete")
minetest.register_alias("concrete_post", "technic:concrete_post")
minetest.register_alias("iron_chest", "technic:iron_chest")
minetest.register_alias("iron_locked_chest", "technic:ir... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/The_Boyahda_Tree/Zone.lua | 9 | 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 |
MNKgod/darkstar | scripts/zones/Zeruhn_Mines/npcs/Grounds_Tome.lua | 34 | 1121 | -----------------------------------
-- Area: Zeruhn Mines
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(pl... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Mog_Garden/npcs/Porter_Moogle.lua | 41 | 1524 | -----------------------------------
-- Area: Mog Garden
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 280
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Mog_Garden/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mog_Garden/TextIDs");
requ... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Riverne-Site_A01/mobs/Heliodromos.lua | 31 | 1721 | -----------------------------------
-- Area: Riverne Site A01
-- MOB: Heliodromos
-----------------------------------
-----------------------------------
function onMobRoam(mob)
local Heliodromos_Table =
{
16900110,
16900111,
16900112
};
local Heliodromos_PH_Table =
{
16900107,
16900108,
16900109... | gpl-3.0 |
goldshied/GOLD-SHIED | plugins/plugins.lua | 64 | 6122 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
MNKgod/darkstar | scripts/globals/magicburst.lua | 18 | 3419 | require("scripts/globals/status")
SC_NONE = 0 -- Lv0 None
SC_TRANSFIXION = 1 -- Lv1 Light
SC_COMPRESSION = 2 -- Lv1 Dark
SC_LIQUEFACTION = 3 -- Lv1 Fire
SC_SCISSION = 4 -- Lv1 Earth
SC_REVERBERATION = 5 -- Lv1 Water
SC_DETONATION = 6 -- Lv1 Wind
SC_INDURATION = 7 -- Lv1 Ice
S... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Ilrusi_Atoll/npcs/Ancient_Lockbox.lua | 36 | 1212 | -----------------------------------
-- Area:
-- NPC: ancient lockbox
-- @zone illrusi atoll
-- @pos
-----------------------------------
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/globals/bc... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/spells/jubaku_ni.lua | 18 | 1698 | -----------------------------------------
-- Spell: Jubaku: Ni
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------... | gpl-3.0 |
mohammadclashclash/dark99 | bot/utils.lua | 309 | 23029 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
MNKgod/darkstar | scripts/globals/spells/bluemagic/eyes_on_me.lua | 18 | 1618 | -----------------------------------------
-- Spell: Eyes On Me
-- Deals dark damage to an enemy
-- Spell cost: 112 MP
-- Monster Type: Demons
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 4
-- Stat Bonus: HP-5, MP+15
-- Level: 61
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 seconds
-- Magic Burst... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5c5.lua | 17 | 1981 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Gate: Magical Gizmo
-- Involved In Mission: The Horutoto Ruins Experiment
-- @pos 419 0 -27 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
brunominervino/forgottenserver | data/npc/scripts/promotion.lua | 21 | 1054 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
fun... | gpl-2.0 |
tatsuy/ardupilot | Tools/CHDK-Scripts/kap_uav.lua | 96 | 28513 | --[[
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
@title KAP UAV 3.1
@param i Shot Interval (sec)
@default i 15
@range i 2 120
@param s Total Shots (0=infinite)
@default s 0
@range ... | gpl-3.0 |
kidaa/FFXIWindower | res/statuses.lua | 1 | 2637 | -- Automatically generated file: Statuses
return {
[0] = {id=0,en="Idle"},
[1] = {id=1,en="Engaged"},
[2] = {id=2,en="Dead"},
[3] = {id=3,en="Engaged dead"},
[4] = {id=4,en="Event"},
[5] = {id=5,en="Chocobo"},
[33] = {id=33,en="Resting"},
[34] = {id=34,en="Locked"},
[38] = {id=38,en... | mit |
MNKgod/darkstar | scripts/globals/items/bowl_of_ulbuconut_milk.lua | 36 | 1165 | -----------------------------------------
-- ID: 5976
-- Item: Bowl of Ulbuconut Milk
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Charisma +3
-- Vitality -2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/items/grape_daifuku.lua | 35 | 1862 | -----------------------------------------
-- ID: 6343
-- Item: grape_daifuku
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP + 20 (Pet & Master)
-- Vitality + 3 (Pet & Master)
-- Master MAB + 3 , Pet MAB + 14
-- Accuracy + 10% Cap: 66 (Pet & Master) Pet Cap: 75
------------------------... | gpl-3.0 |
ejoncas/kong | spec/plugins/mashape-analytics/alf_serializer_spec.lua | 7 | 4084 | local fixtures = require "spec.plugins.mashape-analytics.fixtures.requests"
local ALFSerializer = require "kong.plugins.log-serializers.alf"
-- @see http://lua-users.org/wiki/CopyTable
local function deepcopy(orig)
local copy = {}
if type(orig) == "table" then
for orig_key, orig_value in next, orig, nil do
... | apache-2.0 |
MNKgod/darkstar | scripts/globals/spells/bluemagic/sandspin.lua | 18 | 1849 | -----------------------------------------
-- Spell: Sandspin
-- Deals earth damage to enemies within range. Additional Effect: Accuracy Down
-- Spell cost: 10 MP
-- Monster Type: Amorphs
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 2
-- Stat Bonus: VIT+1
-- Level: 1
-- Casting Time: 1.5 seconds
-- Rec... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Temenos/bcnms/Temenos_Eastern_Tower.lua | 19 | 1487 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
if (GetMobAction(16928844) > 0) then DespawnMob(16928844);end
if (GetMobAction(16928853) > 0) then DespawnMob(16928853);en... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/mobskills/Barbed_Crescent.lua | 43 | 1031 | ---------------------------------------------------
-- Barbed Crescent
-- Damage. Additional Effect: Accuracy Down.
-- Area of Effect is centered around caster.
-- The Additional Effect: Accuracy Down may not always process.
-- Duration: Three minutes ?
---------------------------------------------------
require("scri... | gpl-3.0 |
floreal/libretro-lutro | deps/luajit/src/jit/dis_x86.lua | 74 | 29330 | ----------------------------------------------------------------------------
-- LuaJIT x86/x64 disassembler module.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------------... | mit |
MNKgod/darkstar | scripts/zones/Port_Windurst/npcs/Ada.lua | 38 | 1030 | -----------------------------------
-- Area: Port Windurst
-- NPC: Ada
-- Type: Standard NPC
-- @zone: 240
-- @pos -79.803 -6.75 168.652
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-------------------... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Empyreal_Paradox/npcs/Transcendental.lua | 17 | 1684 | -----------------------------------
-- Area: Empyreal_Paradox
-- NPC: Transcendental
-----------------------------------
package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Empyreal_Paradox/TextIDs");
... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Port_Bastok/npcs/Dalba.lua | 31 | 11049 | -----------------------------------
-- Area: Port Bastok
-- NPC: Dalba
-- Type: Past Event Watcher
-- @zone: 236
-- @pos: -174.101 -7 -19.611
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
require("scripts/globals/quest... | gpl-3.0 |
Cavitt/otclient_mapgen | modules/corelib/ui/tooltip.lua | 10 | 2508 | -- @docclass
g_tooltip = {}
-- private variables
local toolTipLabel
local currentHoveredWidget
-- private functions
local function moveToolTip(first)
if not first and (not toolTipLabel:isVisible() or toolTipLabel:getOpacity() < 0.1) then return end
local pos = g_window.getMousePosition()
pos.y = pos.y + 1
lo... | mit |
laszloth/awesomewm-config | helpmod/helpmod.lua | 1 | 15550 | local helpmod = {}
helpmod.cmd = require("helpmod.helpmod-cmd")
helpmod.cfg = require("helpmod.helpmod-cfg")
helpmod.fnc = require("helpmod.helpmod-fnc")
helpmod.sound_info = {}
helpmod.widgets = {}
helpmod.t_bus = {
pci = "PCI",
usb = "USB",
bluetooth = "BLUETOOTH",
}
-- {{{ Private
local awful = requi... | gpl-2.0 |
MNKgod/darkstar | scripts/zones/Apollyon/mobs/Apollyon_Scavenger.lua | 16 | 1411 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Act... | gpl-3.0 |
glenn-edgar/lua_frame_work | user_libraries/expat/scripts/xmlToTable.lua | 1 | 6067 | ---
---
---
--- file: xmlToTable.lua
--- The purpose of this file is to transform an xml definition
--- into a lua table frame work
---
---
---
---
---
xmlUtil = {}
xmlUtil.stackTable = {}
xmlUtil.localTable = {}
function xmlUtil.processStartElement(parser, elementName, attributes)
local temp = {}
if ... | mit |
MNKgod/darkstar | scripts/zones/Crawlers_Nest/npcs/qm1.lua | 14 | 1043 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: ??? - Guardian Crawler (spawn 1)
-- @pos 124.335 -34.609 -75.373 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Crawlers_Nest/Tex... | gpl-3.0 |
cornernote/minetest-modulator_game | mods/doors/gates/init.lua | 2 | 9645 | -- xDoors mod by xyz
-- xFences mod by xyz
-- gates edit of xdoors by GloopMaster
-- gates nodebox by splizard
minetest.register_node("gates:gate_wood", {
description = "Wooden Gate",
drawtype = "nodebox",
tile_images = {"default_wood.png"},
paramtype = "light",
paramtype2 = "facedir"... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Northern_San_dOria/npcs/Macuillie.lua | 17 | 2674 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Macuillie
-- Type: Guildworker's Union Representative
-- @zone: 231
-- @pos -191.738 11.001 138.656
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/keyit... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Beadeaux/npcs/Haggleblix.lua | 19 | 7223 | -----------------------------------
-- Area: Beadeaux
-- NPC: Haggleblix
-- Type: Dynamis NPC
-- @pos -255.847 0.595 106.485 147
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
MNKgod/darkstar | scripts/globals/spells/bluemagic/body_slam.lua | 28 | 1739 | -----------------------------------------
-- Spell: Body Slam
-- Delivers an area attack. Damage varies with TP
-- Spell cost: 74 MP
-- Monster Type: Dragon
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: VIT+1, MP+5
-- Level: 62
-- Casting Time: 1 seconds
-- Recast Time: 27.75 seconds
... | gpl-3.0 |
shakesoda/luajit-opengl-example | init.lua | 1 | 2421 | local ffi = require "ffi"
local sdl = require "libs.sdl2.init"
local opengl = require "libs.opengl"
-- Make Sublime Text actually output things as they come.
io.stdout:setvbuf("no")
function main(flags)
sdl.init(sdl.INIT_EVERYTHING)
if flags.gl3 then
sdl.GL_SetAttribute(sdl.GL_CONTEXT_MAJOR_VERSION, 3)
sdl.GL_... | mit |
ahupowerdns/weakforced | gendata/gen_fail_reports.lua | 3 | 2255 | # This lua script generates random reports for wforce logins
counter = 0
one_counter = 0
wrk.headers["Content-Type"] = "application/json"
wrk.headers["Authorization"] = "Basic d2ZvcmNlOnN1cGVy"
wrk.method = 'POST'
wrk.path = "/?command=report"
dp_access = {
{protocol="http", device="Mozilla/5.0 (Macintosh; Intel M... | gpl-2.0 |
MNKgod/darkstar | scripts/zones/Beadeaux_[S]/mobs/Observant_Zekka.lua | 3 | 1035 | -----------------------------------
-- Area: Beadeaux (S)
-- NPC: Observant Zekka
-- ID: 17154359
-- @pos 128 0.4 161
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMo... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Lower_Jeuno/npcs/_6t2.lua | 19 | 3975 | -----------------------------------
-- Area: Lower Jeuno
-- Door: Merchant's House
-- Starts & Finishes Quest: Save My Son
-- Optional Involvement in Quest: Chocobo's Wounds, Path of the Beastmaster
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts... | gpl-3.0 |
MNKgod/darkstar | scripts/zones/Castle_Zvahl_Keep/npcs/Treasure_Chest.lua | 19 | 3200 | -----------------------------------
-- Area: Castle Zvahl Keep
-- NPC: Treasure Chest
-- @zone 162
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
jojoa1997/overcraft_origins | mods/compass/init.lua | 4 | 2036 |
local default_spawn_settings = minetest.setting_get("static_spawnpoint")
minetest.register_globalstep(function(dtime)
local players = minetest.get_connected_players()
for i,player in ipairs(players) do
local function has_compass(player)
for _,stack in ipairs(player:get_inventory():get_list("main")) do
if ... | lgpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.