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
nyczducky/darkstar
scripts/zones/PsoXja/TextIDs.lua
7
1882
-- 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 = 6385; -- Obtained: <item> GIL_OBTAINED = 6386; -- Obtained <number> gil KEYITEM_OBTAINED = 6388; -- Obtain...
gpl-3.0
jbeich/Aquaria
files/scripts/maps/node_naija_mithalasend.lua
6
1070
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/zones/Lufaise_Meadows/npcs/Teldo-Moroldo_WW.lua
14
3342
----------------------------------- -- Area: Lufaise Meadows -- NPC: Teldo-Moroldo, W.W. -- Outpost Conquest Guards -- @pos -542.418 -7.124 -53.521 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conques...
gpl-3.0
sudheesh001/RFID-DBSync
cardpeek-0.8.3/dot_cardpeek_dir/scripts/emv.lua
1
23137
-- -- This file is part of Cardpeek, the smartcard reader utility. -- -- Copyright 2009-2013 by 'L1L1' -- -- Cardpeek is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (a...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/entities/deepwhale.lua
5
3301
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/zones/Valkurm_Dunes/npcs/Tsunashige_IM.lua
14
3324
----------------------------------- -- Area: Valkurm Dunes -- NPC: Tsunashige, I.M. -- Outpost Conquest Guards -- @pos 139.394 -7.885 100.384 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); re...
gpl-3.0
SamOatesPlugins/cuberite
Server/Plugins/APIDump/Hooks/OnHopperPullingItem.lua
44
1336
return { HOOK_HOPPER_PULLING_ITEM = { CalledWhen = "A hopper is pulling an item from another block entity.", DefaultFnName = "OnHopperPullingItem", -- also used as pagename Desc = [[ This callback is called whenever a {{cHopperEntity|hopper}} transfers an {{cItem|item}} from another block entity into its...
apache-2.0
naxiwer/Atlas
examples/tutorial-union.lua
40
1614
--[[ $%BEGINLICENSE%$ Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is dis...
gpl-2.0
nyczducky/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm10.lua
14
1384
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm10 (???) -- Involved in Quest: Hitting the Marquisate (THF AF3) -- @pos -139.895 -5.500 154.513 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
cliffano/swaggy-jenkins
clients/lua/generated/spec/free_style_build_spec.lua
1
4356
--[[ Swaggy Jenkins Jenkins API clients generated from Swagger / Open API specification The version of the OpenAPI document: 1.5.1-pre.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech ]] --[[ Unit tests for openapiclient.model.free_style_build Automatically generated by openapi-gen...
mit
mehrpouya81/giantbot
plugins/wiki.lua
735
4364
-- http://git.io/vUA4M local socket = require "socket" local JSON = require "cjson" local wikiusage = { "!wiki [text]: Read extract from default Wikipedia (EN)", "!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola", "!wiki search [text]: Search articles on default Wikipedia (EN)", "!...
gpl-2.0
moltafet35/senatorv2
plugins/wiki.lua
735
4364
-- http://git.io/vUA4M local socket = require "socket" local JSON = require "cjson" local wikiusage = { "!wiki [text]: Read extract from default Wikipedia (EN)", "!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola", "!wiki search [text]: Search articles on default Wikipedia (EN)", "!...
gpl-2.0
ld-test/lzmq-ffi
examples/utils.lua
16
1150
local zmq = require "lzmq" io.stdout:setvbuf"no" function printf(...) return print(string.format(...)) end function print_msg(title, data, err, ...) print(title) if data then -- data if type(data) == 'table' then for _, msg in ipairs(data) do printf("[%.4d] %s", #msg, msg) en...
mit
francot514/CardGamePRO-Simulator
data/cards/c1080.lua
1
1102
--Battering Car function c1080.initial_effect(c) --Destroy target local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c1...
gpl-2.0
nyczducky/darkstar
scripts/zones/Sealions_Den/mobs/Mammet-22_Zeta.lua
23
4284
----------------------------------- -- Area: Sealions Den -- Mob: Mammet-22_Zeta ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ------------------------------...
gpl-3.0
matinbot/webamooz
plugins/stats.lua
168
4001
do -- Returns a table with `name` and `msgs` 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_prin...
gpl-2.0
nyczducky/darkstar
scripts/zones/Northern_San_dOria/npcs/Capiria.lua
14
1684
----------------------------------- -- Area: Northern San d'Oria -- NPC: Capiria -- Type: Involved in Quest (Flyers for Regine) -- @zone 231 -- @pos -127.355 0.000 130.461 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
jbeich/Aquaria
files/scripts/maps/node_killentity.lua
6
1106
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Chopapa_WW.lua
14
3357
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Chopapa, W.W. -- Type: Border Conquest Guards -- @pos -227.956 -81.475 260.442 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
nyczducky/darkstar
scripts/commands/addallspells.lua
23
4989
--------------------------------------------------------------------------------------------------- -- func: addallspells -- desc: Adds all valid spells to the given target. If no target; then to the current player. --------------------------------------------------------------------------------------------------- cmd...
gpl-3.0
wizardbottttt/illusion
bot/seedbot.lua
1
10114
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
nyczducky/darkstar
scripts/zones/Xarcabard/TextIDs.lua
1
1203
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6392; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6398; -- Obtained: <item>. GIL_OBTAINED = 6399; -- Obtained <number> gil. KEYITEM_OBTAINED = 6401; -- Obtained...
gpl-3.0
guangbin79/Lua_5.1.5-iOS
xavante-2.4.0/src/codeweb/session.lua
1
1188
----------------------------------------------------------------------------- -- Xavante sessions handler -- -- Author: Javier Guerra -- Copyright (c) 2005 Kepler Project ----------------------------------------------------------------------------- local cookies = require "xavante.cookies" local session = {} local _...
mit
nyczducky/darkstar
scripts/globals/items/pukatrice_egg_+1.lua
12
1828
----------------------------------------- -- ID: 6275 -- Item: pukatrice_egg_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- HP +20 -- MP +20 -- STR +3 -- Fire resistance +21 -- Attack +21% (cap 90) -- Ranged Attack +21% (cap 90) -- Subtle Blow +9 ---------------------------------------...
gpl-3.0
mehrpouya81/giantbot
plugins/anti-spam6.lua
13
2433
local NUM_MSG_MAX = 6 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 6 local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, function (data, success, result) if success ~= 1 then local text = 'I can\'t k...
gpl-2.0
nyczducky/darkstar
scripts/zones/Oldton_Movalpolos/TextIDs.lua
7
1146
-- 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 = 6385; -- Obtained: <item>. GIL_OBTAINED = 6386; -- Obtained <number> gil. KEYITEM_OBTAINED = 6388; -- Obtained...
gpl-3.0
weweadsl/thrift
lib/lua/TTransport.lua
115
2800
-- -- 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
jakianroy/NGUI_To_Be_Best
Assets/LuaFramework/ToLua/Lua/socket/mbox.lua
51
2654
local _M = {} if module then mbox = _M end function _M.split_message(message_s) local message = {} message_s = string.gsub(message_s, "\r\n", "\n") string.gsub(message_s, "^(.-\n)\n", function (h) message.headers = h end) string.gsub(message_s, "^.-\n\n(.*)", function (b) message.body = b end) ...
gpl-3.0
0xwindows/Belial
rule.lua
3
2332
----------------------------------------------------------------------------- -- Belial web waf -- Author: 逆雪寒 -- Copyright (c) 2013 半夜三更 -- -- -- ----------------------------------------------------------------------------- --拦截规则 local regularRule = { --belial waf default rule。dont delete default = { get = "'...
apache-2.0
nyczducky/darkstar
scripts/zones/Dho_Gates/Zone.lua
17
1213
----------------------------------- -- -- Zone: Foret de Hennetiel -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Dho_Gates/TextIDs"] = nil; require("scripts/zones/Dho_Gates/TextIDs"); ----------------------------------- -- onInitialize -------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Abyssea-Misareaux/npcs/qm4.lua
14
1344
----------------------------------- -- Zone: Abyssea-Misareaux -- NPC: qm4 (???) -- Spawns Manohra -- @pos ? ? ? 216 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[...
gpl-3.0
cornernote/minetest-skyblock
skyblock_levels/skyblock.levels.4.lua
1
5343
--[[ Skyblock for Minetest Copyright (c) 2015 cornernote, Brett O'Donnell <cornernote@gmail.com> Source Code: https://github.com/cornernote/minetest-skyblock License: GPLv3 ]]-- --[[ Level 4 mostly revolving around farming and dying level 4 feats and rewards: * craft_diamondhoe farming:seed_wheat * use_hoe x...
gpl-3.0
laggyluk/brick_engine
tools/logicEditor/bin/scripts/memory.lua
1
1208
--delphi memory search for given string. result is also a string for x64 bit longint 'simulation' function memFindString(target,startOffset) --create table memTable = {} --pass starting offset in first table field. starting offset also passed as string memTable[1] = startOffset for i=2,string.len(target) do --...
mit
sevu/wesnoth
data/ai/micro_ais/cas/ca_return_guardian.lua
7
1221
local AH = wesnoth.require "ai/lua/ai_helper.lua" local function get_guardian(cfg) local filter = wml.get_child(cfg, "filter") or { id = cfg.id } local guardian = AH.get_units_with_moves { side = wesnoth.current.side, { "and", filter } }[1] return guardian end local ca_return_guardian...
gpl-2.0
benloz10/FinalFrontier
gamemodes/finalfrontier/entities/entities/info_ff_sector/shared.lua
1
3644
-- 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 Licen...
lgpl-3.0
moltafet35/senatorv2
bot/utils.lua
356
14963
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
vorbi123/x
bot/utils.lua
356
14963
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
nyczducky/darkstar
scripts/globals/mobskills/Enervation.lua
27
1240
--------------------------------------------- -- Enervation -- -- Description: Lowers the defense and magical defense of enemies within range. -- Type: Magical (Dark) --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monste...
gpl-3.0
nyczducky/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tabar.lua
17
1486
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Tabar ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngag...
gpl-3.0
nyczducky/darkstar
scripts/zones/Pashhow_Marshlands_[S]/npcs/Cavernous_Maw.lua
29
1434
----------------------------------- -- Area: Sauromugue Champaign -- NPC: Cavernous Maw -- @pos 418 25 27 90 -- Teleports Players to Pashhow_Marshlands ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
weissj3/milkywayathome_client
nbody/tests/CheckpointTest.lua
3
2783
-- -- Copyright (C) 2011 Matthew Arsenault -- -- This file is part of Milkway@Home. -- -- Milkyway@Home is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option...
gpl-3.0
abosalah22/memo
plugins/anti_spam.lua
21
5248
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id == our_id then return msg end -- Save...
gpl-2.0
nyczducky/darkstar
scripts/zones/Bastok_Mines/npcs/Wahid.lua
14
1997
----------------------------------- -- 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/globals/quests")...
gpl-3.0
TheHipster/cwlourp
plugins/books/plugin/items/sh_book_itn.lua
1
4063
--[[ © 2013 CloudSixteen.com do not share, re-distribute or modify without permission of its author (kurozael@gmail.com). --]] ITEM = Clockwork.item:New("book_base"); ITEM.name = "Into the Night"; ITEM.model = "models/props_lab/bindergreenlabel.mdl"; ITEM.uniqueID = "book_itn"; ITEM.description = "A tattere...
unlicense
nyczducky/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Excavation_Point.lua
14
1695
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Excavation Point -- Used in Quest: The Holy Crest -- @pos 234 0.1 -110 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globals/excavation...
gpl-3.0
ArpitJalan/arch-heavy-dotfiles
luakit/noscript.lua
1
4727
-------------------------------------------------------- -- NoScript plugin for luakit -- -- (C) 2011 Mason Larobina <mason.larobina@gmail.com> -- -------------------------------------------------------- -- Get Lua environment local os = require "os" local tonumber = tonumber local assert = ass...
unlicense
nyczducky/darkstar
scripts/globals/items/piece_of_witch_nougat.lua
12
1280
----------------------------------------- -- ID: 5645 -- Item: piece_of_witch_nougat -- Food Effect: 1hour, All Races ----------------------------------------- -- HP 50 -- Intelligence 3 -- Agility -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------...
gpl-3.0
rkoval/dotfiles
nvim/lua/ryankoval/stylua.lua
1
2012
local Path = require('plenary.path') local Job = require('plenary.job') local lspconfig_util = require('lspconfig.util') local cached_configs = {} local root_finder = lspconfig_util.root_pattern('.git') local stylua_finder = function(path) if cached_configs[path] == nil then local file_path = Path:new(path) ...
mit
nyczducky/darkstar
scripts/globals/items/vulcan_claymore.lua
42
1451
----------------------------------------- -- ID: 18379 -- Item: Vulcan Claymore -- Additional Effect: Fire Damage -- Enchantment: Enfire ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----...
gpl-3.0
nyczducky/darkstar
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_HM.lua
23
1634
----------------------------------- -- Area: LaLoff Amphitheater -- MOB: Ark Angel HM ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/status"); ----...
gpl-3.0
dtrip/awesome
tests/test-input-binding.lua
3
10045
require("awful._compat") local runner = require( "_runner" ) local placement = require( "awful.placement" ) local gtable = require( "gears.table" ) local test_client = require( "_client" ) local akeyboard = require( "awful.keyboard" ) local amouse = require( "awful.mouse" ) ...
gpl-2.0
vorbi123/x
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
omidtarh/elbot
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
MRAHS/Black-Mask
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
SHIELDPOWER/Shield-power
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
duhoobo/lua-xpath
tests/refcount.lua
1
1156
package.cpath = "/home/duhoobo/prj/amateur/lua-xpath/src/?.so;" .. package.cpath local xpath = require("xpath") xml = [[ <html> <head> </head> <body> <name color="red">alec</name> <name color="green">bing</name> <sex>male</sex> </body> </html>]] local sel, err = xpath.loads(xml) if not sel then pri...
gpl-3.0
hfjgjfg/uzzz
plugins/banhammer.lua
294
10470
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Windurst_Walls/npcs/Moan-Maon.lua
38
1408
----------------------------------- -- Area: Windurst Walls -- NPC: Moan-Maon -- Type: Standard NPC -- @pos 88.244 -6.32 148.912 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scr...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/PsoXja/npcs/HomePoint#1.lua
19
1171
----------------------------------- -- Area: PsoXja -- NPC: HomePoint#1 -- @pos -58 40 14 10 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/FeiYin/TextIDs"); require("scripts/globals/homepoint"); -----------------...
gpl-3.0
veryrandomname/obuut
hump/camera.lua
47
3388
--[[ Copyright (c) 2010-2013 Matthias Richter 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, dis...
mit
ffxiphoenix/darkstar
scripts/globals/items/mushroom_salad.lua
39
1426
----------------------------------------- -- ID: 5678 -- Item: Mushroom Salad -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- MP 14% Cap 85 -- Agility 6 -- Mind 6 -- Strength -5 -- Vitality -5 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
mcseemka/vlc
share/lua/modules/simplexml.lua
103
3732
--[==========================================================================[ simplexml.lua: Lua simple xml parser wrapper --[==========================================================================[ Copyright (C) 2010 Antoine Cellerier $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> This progra...
gpl-2.0
keshwans/vlc
share/lua/modules/simplexml.lua
103
3732
--[==========================================================================[ simplexml.lua: Lua simple xml parser wrapper --[==========================================================================[ Copyright (C) 2010 Antoine Cellerier $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> This progra...
gpl-2.0
farrajota/human_pose_estimation_torch
models/test/hg-generic-ensemblev2.lua
1
2250
paths.dofile('../layers/Residual.lua') local function hourglass(n, f, inp) -- Upper branch local up1 = Residual(f,f)(inp) -- Lower branch local pool = nn.SpatialMaxPooling(2,2,2,2)(inp) local low1 = Residual(f,f)(pool) local low2 if n > 1 then low2 = hourglass(n-1,f,low1) else low2 = ...
mit
ffxiphoenix/darkstar
scripts/zones/Port_Bastok/npcs/Bartolomeo.lua
34
1612
----------------------------------- -- Area: Port Bastok -- NPC: Bartolomeo -- Standard Info NPC -- Involved in Quest: Welcome to Bastok ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requi...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Caedarva_Mire/npcs/Nasheefa.lua
19
1384
----------------------------------- -- Area: Caedarva Mire -- NPC: Nasheefa -- Type: Alzadaal Undersea Ruins -- @pos -440.998 0.107 -740.015 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requ...
gpl-3.0
DaanVanYperen/ns2-xeno-panic
output/lua/XenoPanic/xp_PickupSpawning.lua
1
4573
if Server then local function SpawnWeapons(self, techPoint) local weaponTypes = { MedPack.kMapName, MedPack.kMapName, GrenadeLauncherAmmo.kMapName, FlamethrowerAmmo.kMapName, RifleAmmo.kMapName, RifleAmmo.kMapName, ShotgunAmm...
mit
ffxiphoenix/darkstar
scripts/zones/Crawlers_Nest/npcs/qm10.lua
57
2127
----------------------------------- -- Area: Crawlers' Nest -- NPC: qm10 (??? - Exoray Mold Crumbs) -- Involved in Quest: In Defiant Challenge -- @pos -83.391 -8.222 79.065 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
azekillDIABLO/Voxellar
mods/MISC/conjuration/tools.lua
1
4738
---( Tools )--- ---( First come the Books )--- tool_type = { "Pickaxe", "Axe", "Shovel", "Sword" } book_level = { {"Lesser", 100000, 50}, {"", 18000, 75}, {"Greater", 4000, 99} } local function scan(inv) for s=1,32 do local stack = inv:get_stack("main", s) local theName = stack:...
lgpl-2.1
saadmzed/kenam
plugins/muteall.lua
1
4894
do local function pre_process(msg) local hash = 'muteall:'..msg.to.id if redis:get(hash) and msg.to.type == 'channel' and not is_mod(msg) then tdcli.deleteMessages(msg.chat_id_, {[0] = msg.id_}) end return msg end local function run(msg, matches) local hash = "gp_lang:"..msg.to.id local lang = red...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Ilrusi_Atoll/npcs/Treasure_Coffer.lua
17
1898
----------------------------------- -- Area: -- NPC: Treasure Coffer -- @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
ffxiphoenix/darkstar
scripts/zones/Windurst_Waters/npcs/Shohrun-Tuhrun.lua
36
1960
----------------------------------- -- Area: Windurst Waters -- NPC: Shohrun-Tuhrun -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/zones/Windurst...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Quicksand_Caves/npcs/_5s2.lua
17
1275
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -574 0 -420 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Cav...
gpl-3.0
AfuSensi/Mr.Green-MTA-Resources
resources/[gameplay]/scoreboard/dxscoreboard_http.lua
12
2213
-- Original file by jbeta local httpColumns = {} local httpRows = {} local updateInterval = 1000 local lastUpdateTime = 0 function getScoreboardColumns() -- Only update http data if someone is looking if getTickCount() - lastUpdateTime > updateInterval then lastUpdateTime = getTickCount() refreshServerScoreboard...
mit
noooway/love2d_arkanoid_tutorial
3-15_MoreSounds/bricks.lua
3
6627
local vector = require "vector" local bricks = {} bricks.image = love.graphics.newImage( "img/800x600/bricks.png" ) bricks.tile_width = 64 bricks.tile_height = 32 bricks.tileset_width = 384 bricks.tileset_height = 160 bricks.rows = 11 bricks.columns = 8 bricks.top_left_position = vector( 47, 34 ) bricks.brick_width = ...
mit
ffxiphoenix/darkstar
scripts/globals/items/hellsteak.lua
35
1725
----------------------------------------- -- ID: 5609 -- Item: hellsteak -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 20 -- Strength 6 -- Intelligence -2 -- Health Regen While Healing 2 -- Attack % 19 -- Ranged ATT % 19 -- Dragon Killer 5 -- Demon Killer 5 ---------...
gpl-3.0
ktf/apt-rpm
contrib/guess/guess.lua
3
1450
-- This script will try to change the requested names in a few -- ways, trying to guess an available package. It must be plugged -- in the slot Scripts::AptGet::Install::TranslateArg -- -- Author: Gustavo Niemeyer <niemeyer@conectiva.com> -- Allow someone to disable this without removing the script. if confget("APT::G...
gpl-2.0
DrayChou/telegram-bot
plugins/giphy.lua
1
1820
-- Idea by https://github.com/asdofindia/telegram-bot/ -- See http://api.giphy.com/ do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images loca...
gpl-2.0
kondrak/ProDBG
units.libs.lua
2
11522
require "tundra.syntax.glob" require "tundra.syntax.osx-bundle" require "tundra.path" require "tundra.util" ----------------------------------------------------------------------------------------------------------------------- ----------------------------------------------- EXTERNAL LIBS -----------------------------...
mit
ffxiphoenix/darkstar
scripts/globals/spells/bluemagic/warm-up.lua
17
1973
----------------------------------------- -- Spell: Warm-Up -- Enhances accuracy and evasion -- Spell cost: 59 MP -- Monster Type: Beastmen -- Spell Type: Magical (Earth) -- Blue Magic Points: 4 -- Stat Bonus: VIT+1 -- Level: 68 -- Casting Time: 7 seconds -- Recast Time: 120 seconds -- Duration: 180 seconds...
gpl-3.0
azekillDIABLO/Voxellar
mods/NODES/xpanes/init.lua
3
4717
local function is_pane(pos) return minetest.get_item_group(minetest.get_node(pos).name, "pane") > 0 end local function connects_dir(pos, name, dir) local aside = vector.add(pos, minetest.facedir_to_dir(dir)) if is_pane(aside) then return true end local connects_to = minetest.registered_nodes[name].connects_to...
lgpl-2.1
ffxiphoenix/darkstar
scripts/zones/Kuftal_Tunnel/Zone.lua
17
2256
----------------------------------- -- -- Zone: Kuftal_Tunnel (174) -- ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Kuftal_Tunne...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Port_Bastok/npcs/Bagnobrok.lua
36
1585
----------------------------------- -- Area: Port Bastok -- NPC: Bagnobrok -- Only sells when Bastok controls Movalpolos -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bastok/Tex...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/spells/cure_iii.lua
18
3838
----------------------------------------- -- Spell: Cure III -- Restores target's HP. -- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/global...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/weaponskills/swift_blade.lua
30
1389
----------------------------------- -- Swift Blade -- Sword weapon skill -- Skill Level: 225 -- Delivers a three-hit attack. params.accuracy varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifie...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Castle_Oztroja/npcs/_47m.lua
17
1571
----------------------------------- -- Area: Castle Oztroja -- NPC: _47m (Torch Stand) -- Notes: Opens door _471 near password #3 -- @pos -45.230 -17.832 17.668 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
DrayChou/telegram-bot
plugins/minecraft.lua
1
2623
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
dail8859/ScintilluaPlusPlus
ext/scintillua/lexers/gnuplot.lua
5
3144
-- Copyright 2006-2017 Mitchell mitchell.att.foicica.com. See LICENSE. -- Gnuplot LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'gnuplot'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local co...
gpl-2.0
RockySeven3161/POWERNEW
plugins/stats.lua
458
4098
-- Saves the number of messages from a user -- Can check the number of messages with !stats do local NUM_MSG_MAX = 5 local TIME_CHECK = 4 -- seconds local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name....
gpl-2.0
Quenty/NevermoreEngine
src/applytagtotaggedchildren/src/Shared/ApplyTagToTaggedChildren.lua
1
2609
--[=[ Class that while constructed apply a tag to any children of the parent it is given, assuming that class has the required tag. This lets you bridge tag systems since CollectionService is used as an interop model between many components in scripts. @class ApplyTagToTaggedChildren ]=] local require = requir...
mit
AfuSensi/Mr.Green-MTA-Resources
resources/[maps]/Puma-Markers/Puma-Markers.lua
4
23818
gMe = getLocalPlayer() gRoot = getRootElement() screenWidth, screenHeight = guiGetScreenSize() -- setTimer(function() StartRes() end,100,1) function StartRes() oldHittedCollShape = nil MarkerTypes = {"Teleport","TeleportD","SlowDown","SpeedUp","Stop","Fire","BlowUp","Jump","Flip","Reverse","Rotate","CarsFly","CarsSw...
mit
noooway/love2d_arkanoid_tutorial
3-17_Packaging/lives_display.lua
4
1368
local vector = require "vector" local lives_display = {} lives_display.lives = 5 lives_display.lives_added_from_score = 0 local position = vector( 620, 500 ) local width = 170 local height = 65 local bungee_font = love.graphics.newFont( "/fonts/Bungee_Inline/BungeeInline-Regular.ttf", 30 ) function lives_display...
mit
Phrohdoh/OpenRA
mods/d2k/maps/ordos-01b/ordos01b.lua
4
5019
--[[ Copyright 2007-2020 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
Ekdohibs/minetest_game
mods/vessels/init.lua
18
6192
-- Minetest 0.4 mod: vessels -- See README.txt for licensing and other information. local vessels_shelf_formspec = "size[8,7;]" .. default.gui_bg .. default.gui_bg_img .. default.gui_slots .. "list[context;vessels;0,0.3;8,2;]" .. "list[current_player;main;0,2.85;8,1;]" .. "list[current_player;main;0,4.08;8,3;8]...
lgpl-2.1
DarkJaguar91/DJBags
src/bank/Reagent.lua
1
1423
local ADDON_NAME, ADDON = ... local bank = {} bank.__index = bank function DJBagsRegisterReagentBagContainer(self, bags) DJBagsRegisterBaseBagContainer(self, bags) self.BaseOnShow = self.OnShow for k, v in pairs(bank) do self[k] = v end ADDON.eventManager:Add('BANKFRAME_OPENED', self) ...
mit
vilarion/Illarion-Content
quest/groknar_311_noobia.lua
1
4494
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
ffxiphoenix/darkstar
scripts/globals/items/plate_of_patlican_salata.lua
35
1211
----------------------------------------- -- ID: 5582 -- Item: plate_of_patlican_salata -- Food Effect: 180Min, All Races ----------------------------------------- -- Agility 4 -- Vitality -1 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
Quenty/NevermoreEngine
src/lipsum/src/Shared/LipsumUtils.lua
1
4307
--[=[ Helpers generate test text for a variety of situations, in the standard Lorem-Ipsum utility system. @class LipsumUtils ]=] local require = require(script.Parent.loader).load(script) local RandomUtils = require("RandomUtils") local String = require("String") local LipsumUtils = {} local WORDS = { "lorem", "...
mit
ktf/apt-rpm
contrib/apt-files/apt-files.lua
3
1036
-- This script must be plugged into the APT script slot -- Scripts::AptGet::Install::TranslateArg -- -- Author: Gustavo Niemeyer <niemeyer@conectiva.com> -- -- Data sample: -- argument = "/usr/bin/python" -- contents = "/var/lib/apt/Contents.gz" -- translated = {} if string.sub(argument, 1, 1) == "/" then co...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Nashmau/npcs/Pipiroon.lua
34
1224
----------------------------------- -- Area: Nashmau -- NPC: Pipiroon -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/shop"); ----------...
gpl-3.0