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
Tech-IT-Easy/Teach-IT-Easy
Project/tests/src/menus/test_SelectLevel.lua
1
3182
--[[TEACH IT EASY, an educational games platform Copyright (C) 2015 Linköping University 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, either version 3 of the License, or (at y...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/weavers_belt.lua
18
1177
----------------------------------------- -- ID: 15447 -- Item: Weaver's Belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Clothcraft Skill +3 ----------------------------------------- require("scripts/...
gpl-3.0
april-org/april-ann
packages/functions/package.lua
3
1123
package{ name = "functions", version = "1.0", depends = { "util", "tokens", "aprilio" }, keywords = { "Functions" }, description = "Define interfaces and methods for work with functions", -- targets como en ant target{ name = "init", mkdir{ dir = "build" }, mkdir{ dir = "include" }, ...
gpl-3.0
tinymins/MY
MY_Toolbox/src/MY_ItemWiki.lua
1
4069
-------------------------------------------------------- -- This file is part of the JX3 Mingyi Plugin. -- @link : https://jx3.derzh.com/ -- @desc : ÎïÆ·°Ù¿Æ²éѯ -- @author : ÜøÒÁ @Ë«ÃÎÕò @×··çõæÓ° -- @modifier : Emil Zhai (root@derzh.com) -- @copyright: Copyright (c) 2013 EMZ Kingsoft Co., Ltd. -------------...
bsd-3-clause
Kosmos82/kosmosdarkstar
scripts/globals/items/prized_seafood_stewpot.lua
18
1946
----------------------------------------- -- ID: 5240 -- Item: Prized Seafood Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 100 -- MP +20 -- Dexterity 2 -- Vitality 2 -- Agility 2 -- Mind 2 -- HP Recovered while healing 9 -- MP Recovered while he...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Caedarva_Mire/npcs/qm12.lua
13
2024
----------------------------------- -- Area: Caedarva Mire -- NPC: ??? -- @pos 456.993 -7.000 -270.815 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/La_Theine_Plateau/npcs/Chocobo_Tracks.lua
27
1348
----------------------------------- -- Area: La Theine Plateau -- NPC: Chocobo Tracks -- Involved in quest: Chocobo on the Loose! -- @pos -556 0 523 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/La_Th...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Ilrusi_Atoll/npcs/Excaliace.lua
30
4512
----------------------------------- -- Area: Periqia -- NPC: Excaliace ----------------------------------- require("scripts/zones/Periqia/IDs"); require("scripts/globals/pathfind"); local start = {-322,-16.5,380}; local startToChoice1 = { -320.349548, -16.046591, 379.684570 -318.312317, -16.046591, 379.5798...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Pashhow_Marshlands/npcs/Luck_Rune.lua
13
1050
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- @pos 573.245 24.999 199.560 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ------------------------------------- require("scripts/zon...
gpl-3.0
Tech-IT-Easy/Teach-IT-Easy
Project/tests/example/my_print.lua
1
2323
--[[TEACH IT EASY, an educational games platform Copyright (C) 2015 Linköping University 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, either version 3 of the License, or (at y...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Port_Jeuno/npcs/Red_Ghost.lua
13
2080
----------------------------------- -- Area: Port Jeuno -- NPC: Red Ghost -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); require("scripts/globals/quests"); require("scrip...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Palborough_Mines/Zone.lua
17
1607
----------------------------------- -- -- Zone: Palborough_Mines (143) -- ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Palborough_Mines/TextIDs"); --------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/black_ghost.lua
18
1311
----------------------------------------- -- ID: 5138 -- Item: Black Ghost -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 4 -- Mind -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------...
gpl-3.0
april-org/april-ann
packages/basics/stats/test/confusionMatrix.lua
2
2771
-- Check 4 clases with table local N = 4 local myConf = stats.confusion_matrix(N) local myPred = { 1, 2, 3, 4, 1, 2 , 3 , 4} local myGT = { 2, 1, 2, 1, 1, 2, 3, 1} myConf:addData(myPred, myGT) print("Raw Confusion Matrix") myConf:printConfusion() printf("#\n----------------------#\n") myConf:reset() print("Empty M...
gpl-3.0
mynameiscraziu/body
plugins/anti-spam12.lua
7
2439
local NUM_MSG_MAX = 12 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 12 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...
gpl-2.0
Xamla/xamla_egomo
egomo_demos/duplo_stacking/duploDetection.lua
1
23625
local cv = require 'cv' require '../core/xamla3d' require 'cv.highgui' require 'cv.videoio' require 'cv.imgproc' require 'cv.calib3d' require 'cv.imgcodecs' require 'cv.features2d' local duplo = {} duplo.directory = '/home/hoppe/data/duplo_accuracy_test/jitter/duplo1/' duplo.rMin = 15 --radius min (pixel in image of ...
bsd-3-clause
Kosmos82/kosmosdarkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5eh.lua
13
3729
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Ancient Magical Gizmo #4 (H out of E, F, G, H, I, J) -- Involved In Mission: The Heart of the Matter ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ---------------------------------...
gpl-3.0
angel2d/angel2d
Code/Tools/BuildScripts/mac-specific/CopyResources.lua
4
4621
------------------------------------------------------------------------------ -- Copyright (C) 2008-2014, Shane Liesegang -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redist...
bsd-3-clause
aStonedPenguin/fprp
gamemode/modules/fadmin/fadmin/playeractions/message/cl_init.lua
1
2257
local function MessageGui(ply) if not FAdmin.Messages or not FAdmin.Messages.MsgTypes then return end local frame = vgui.Create("DFrame"); frame:SetTitle("Send message"); frame:SetSize(350, 170); frame:Center(); frame:SetVisible(true); frame:MakePopup(); local MsgType = 2 local i = 0 local TypeButtons = {}...
mit
thing-nacho/slua
build/luasocket-2.0.2/samples/cddb.lua
56
1415
local socket = require("socket") local http = require("socket.http") if not arg or not arg[1] or not arg[2] then print("luasocket cddb.lua <category> <disc-id> [<server>]") os.exit(1) end local server = arg[3] or "http://freedb.freedb.org/~cddb/cddb.cgi" function parse(body) local lines = string.gfind(bo...
mit
permag-ir/permag.ir
plugins/groupmanager-fa.lua
16
110863
local function modadd(msg) local hash = "gp_lang:"..msg.chat_id_ local lang = redis:get(hash) if not is_admin(msg) then if not lang then return '_You are not bot admin_' else return 'شما مدیر ربات نمیباشید' end end local data = load_data(_config.moderation.data) if data[tostring(msg.chat_i...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Korroloka_Tunnel/MobIDs.lua
65
1094
----------------------------------- -- Area: Korroloka Tunnel (173) -- Comments: -- posX, posY, posZ -- (Taken from 'mob_spawn_points' table) ----------------------------------- -- Cargo_Crab_Colin Cargo_Crab_Colin=17485980; Cargo_Crab_Colin_PH={ [17486002] = '1', -- -30.384, 1.000, -33.277 [17486095] = '1' ...
gpl-3.0
TannerRogalsky/haex
states/game/game_test_map.lua
1
2698
local TestMap = Game:addState('TestMap') local MAP_CONSTANTS = require('map.constants') local N, S, E, W, NEC, SEC, SWC, NWC = unpack(MAP_CONSTANTS.DIRECTIONS) local buildSpriteBatch = require('map.build_sprite_batch') local printGrid = require('map.print_grid') local symmetricalize = require('map.symmetricalize') loc...
mit
justincormack/snabbswitch
lib/ljsyscall/syscall/openbsd/ffi.lua
18
6838
-- This are the types for OpenBSD local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local abi = require "syscal...
apache-2.0
wingo/snabbswitch
lib/ljsyscall/syscall/openbsd/ffi.lua
18
6838
-- This are the types for OpenBSD local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local abi = require "syscal...
apache-2.0
ganeshjawahar/dl4nlp-made-easy
two_simple/structured_skipgram.lua
1
3296
--[[ -------------------- Structured Skip-Gram -------------------- References: 1. http://www.cs.cmu.edu/~lingwang/papers/naacl2015.pdf ]]-- require 'torch' require 'nn' require 'optim' require 'rnn' --[[ Dataset: i like nlp i hate dl ! ]]-- -- Define your vocabulary map vocab = {} vocab['i'] = 1 vocab['like'] = ...
mit
Kosmos82/kosmosdarkstar
scripts/zones/West_Ronfaure/TextIDs.lua
15
1654
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item> come back again after sorting your inventory. ITEM_OBTAINED = 6406; -- Obtained: <item>. GIL_OBTAINED = 6407; -- Obtained <number> gil. KEYITEM_OBTAINED = 6409; -- Obt...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Ifrits_Cauldron/npcs/Treasure_Coffer.lua
13
5076
----------------------------------- -- Area: Ifrit's Cauldron -- NPC: Treasure Coffer -- @zone 205 -- @pos 188 0 -28 ----------------------------------- package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyi...
gpl-3.0
AnchorTeam/AnchorRobot
bindings.lua
1
6809
-- bindings.lua -- Bindings for the Telegram bot API. -- https://core.telegram.org/bots/api assert(HTTPS) assert(JSON) local BASE_URL = 'https://api.telegram.org/bot' .. config.bot_api_key if not config.bot_api_key then error('You did not set your bot token in config.lua!') end sendRequest = function(url) local ...
mpl-2.0
Kosmos82/kosmosdarkstar
scripts/globals/items/goblin_pie.lua
18
1573
----------------------------------------- -- ID: 4539 -- Item: goblin_pie -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 12 -- Magic 12 -- Dexterity -1 -- Agility 3 -- Vitality -1 -- Charisma -5 -- Defense % 9 ----------------------------------------- require("scripts/globals/stat...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/spells/absorb-vit.lua
17
1368
-------------------------------------- -- Spell: Absorb-VIT -- Steals an enemy's vitality. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------...
gpl-3.0
Luanluan/skynet_test
test/testpipeline.lua
27
1255
local skynet = require "skynet" local redis = require "redis" local conf = { host = "127.0.0.1", port = 6379, db = 0 } local function read_table(t) local result = { } for i = 1, #t, 2 do result[t[i]] = t[i + 1] end return result end skynet.start(function() local db = redis.connect(conf) db.pipelini...
mit
Kosmos82/kosmosdarkstar
scripts/globals/items/winterflower.lua
18
1364
----------------------------------------- -- ID: 5907 -- Item: Winterflower -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility +3 -- Intelligence +5 -- Charisma -5 -- Resist Virus +20 ----------------------------------------- require("scripts/globals/status"); -----------------------...
gpl-3.0
nye678/OD
RenderOperations.lua
1
3424
--[[--------------------------------------------------------------------------- Jake Robbins --]]--------------------------------------------------------------------------- local RENDER_SPRITE_COMMAND = 1 local RENDER_TEXTURE_COMMAND = 2 --[[--------------------------------------------------------------------------...
mit
TannerRogalsky/haex
map/symmetricalize.lua
2
2503
local CONSTANTS = require('map.constants') local N, S, E, W = unpack(CONSTANTS.DIRECTIONS) local DX = CONSTANTS.DX local DY = CONSTANTS.DY local OPPOSITE = CONSTANTS.OPPOSITE local possible_orientations = { horizontal = true, vertical = true, both = true } local swaps = { horizontal = { ...
mit
april-org/april-ann
packages/basics/tokens/package.lua
3
1122
package{ name = "tokens", version = "1.0", depends = { "util", "mathcore", "matrix" }, keywords = { }, description = "", -- targets como en ant target{ name = "init", mkdir{ dir = "build" }, mkdir{ dir = "include" }, }, target{ name = "clean", delete{ dir = "build" }, ...
gpl-3.0
ld-test/hdf5
test/file.lua
2
5323
------------------------------------------------------------------------------ -- Test files. -- Copyright © 2013–2015 Peter Colberg. -- Distributed under the MIT license. (See accompanying file LICENSE.) ------------------------------------------------------------------------------ require("strict") pcall(require, "...
mit
Kosmos82/kosmosdarkstar
scripts/zones/Port_Windurst/npcs/Sattsuh_Ahkanpari.lua
16
1538
----------------------------------- -- Area: Port Windurst -- NPC: Sattsuh Ahkanpari -- Regional Marchant NPC -- Only sells when Windurst controlls Elshimo Uplands -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loa...
gpl-3.0
Tech-IT-Easy/Teach-IT-Easy
Project/src/lib/json.lua
1
9045
--[[TEACH IT EASY, an educational games platform Copyright (C) 2015 Linköping University 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, either version 3 of the License, or (at y...
gpl-3.0
mikroskeem/advanced-sandbox
gamemode/spawnmenu/controls/ropematerial.lua
3
1241
-- -- ___ ___ _ _ _ __ _ ___ ___ __ __ -- |_ _|| __| / \ | \_/ | / _| / \ | o \ o \\ V / -- | | | _| | o || \_/ | ( |_n| o || / / \ / -- |_| |___||_n_||_| |_| \__/|_n_||_|\\_|\\ |_| 2009 -- -- list.Set( "RopeMaterials", "#ropematerial.rope", "cable/rope" ) list.Set( "RopeMaterials"...
mit
Kosmos82/kosmosdarkstar
scripts/globals/abilities/ice_shot.lua
16
3120
----------------------------------- -- Ability: Ice Shot -- Consumes a Ice Card to enhance ice-based debuffs. Deals ice-based magic damage -- Frost Effect: Enhanced DoT and AGI- ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic");...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/West_Sarutabaruta/npcs/Signpost.lua
13
1933
----------------------------------- -- Area: West Sarutabaruta -- NPC: Signpost (18 total) ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/zones/West_Sarutabaruta/TextIDs"); ----------------------------------- -...
gpl-3.0
justincormack/snabbswitch
src/core/app.lua
5
16881
module(...,package.seeall) local packet = require("core.packet") local lib = require("core.lib") local link = require("core.link") local config = require("core.config") local timer = require("core.timer") local counter = require("core.counter") local zone = require("jit.zone") local ffi = require("ff...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/globals/items/serving_of_icecap_rolanberry.lua
18
1388
----------------------------------------- -- 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
wingo/snabbswitch
lib/ljsyscall/syscall/rump/init.lua
24
8083
-- This mirrors syscall.lua, but some differences local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local ffi =...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Cacaroon.lua
2
2379
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Cacaroon -- Standard Info NPC -- @pos -72.026 0.000 -82.337 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/QuBia_Arena/npcs/Burning_Circle.lua
27
2594
----------------------------------- -- Area: Qu'Bia Arena -- NPC: Burning Circle -- @pos -221 -24 19 206 ------------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missions"); require(...
gpl-3.0
aqasaeed/sparta3
plugins/stats.lua
236
3989
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
alfred-bot/wili
plugins/stats.lua
236
3989
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
martin-traverse/premake-core
src/actions/vstudio/vs2013.lua
17
1679
-- -- actions/vstudio/vs2013.lua -- Extend the existing exporters with support for Visual Studio 2013. -- Copyright (c) 2013-2014 Jason Perkins and the Premake project -- premake.vstudio.vc2013 = {} local p = premake local vstudio = p.vstudio local vc2010 = vstudio.vc2010 local m = vstudio.vc2013 --- -- Defin...
bsd-3-clause
Kosmos82/kosmosdarkstar
scripts/zones/RuAun_Gardens/npcs/qm2.lua
12
1462
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: ??? (Seiryu's Spawn) -- Allows players to spawn the HNM Seiryu with a Gem of the East and a Springstone. -- @pos 569 -70 -80 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; -------------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Dynamis-San_dOria/Zone.lua
21
2392
----------------------------------- -- -- Zone: Dynamis-San_dOria -- ----------------------------------- package.loaded["scripts/zones/Dynamis-San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Dynamis-San_dOria/TextIDs"); -----------------------...
gpl-3.0
hawkthorne/hawkthorne-client-lua
src/positions/chang.lua
2
3179
return { hand_right = { { {-10, 41}, {-10, 36}, {-10, 37}, {-10, 36}, {-10, 40}, {-10, 40}, {-10, 34}, {-10, 41}, {-10, 35}, }, { {-11, 40}, {-13, 36}, {-12, 37}, {-13, 36}, {-11, 40}, {-11, 41}, {-12, 35}, {-10, 40}, {-12, 35}, }, { {-10, 41}, {-10, 40}, {-10, 40}, {-15, 37}, {9, 41}, {-6, 41}, {-1...
mit
wingo/snabbswitch
lib/ljsyscall/syscall/linux/nl.lua
18
36273
-- modularize netlink code as it is large and standalone local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string loca...
apache-2.0
martin-traverse/premake-core
tests/actions/vstudio/vc2010/test_compile_settings.lua
1
17558
-- -- tests/actions/vstudio/vc2010/test_compile_settings.lua -- Validate compiler settings in Visual Studio 2010 C/C++ projects. -- Copyright (c) 2011-2013 Jason Perkins and the Premake project -- local suite = test.declare("vstudio_vs2010_compile_settings") local vc2010 = premake.vstudio.vc2010 local proje...
bsd-3-clause
Kosmos82/kosmosdarkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Sowande.lua
13
1887
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: Sowande -- @pos -257 8 -249 114 ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); r...
gpl-3.0
hadow/OpenRA
mods/ra/maps/allies-05a/allies05a.lua
5
11297
if Map.LobbyOption("difficulty") == "easy" then TanyaType = "e7" ReinforceCash = 5000 HoldAITime = DateTime.Minutes(3) SpecialCameras = true elseif Map.LobbyOption("difficulty") == "normal" then TanyaType = "e7.noautotarget" ReinforceCash = 2250 HoldAITime = DateTime.Minutes(2) SpecialCameras = true else Tanya...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/abilities/manifestation.lua
27
1202
----------------------------------- -- Ability: Manifestation -- Extends the effect of your next enfeebling1 black magic spell to targets within range. MP cost and casting time2 are doubled. -- Obtained: Scholar Level 40 -- Recast Time: Stratagem Charge -- Duration: 1 compatible black magic spell or 60 seconds, whichev...
gpl-3.0
AmirPGA/AmirPGA
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
tizzybec/30log
30logclean.lua
3
3543
local assert = assert local pairs = pairs local type = type local tostring = tostring local setmetatable = setmetatable local baseMt = {} local _instances = setmetatable({},{__mode='k'}) local _classes = setmetatable({},{__mode='k'}) local _class local function assert_class(class, metho...
mit
Kosmos82/kosmosdarkstar
scripts/commands/jail.lua
26
2057
--------------------------------------------------------------------------------------------------- -- func: jail -- desc: Sends the target player to jail. (Mordion Gaol) --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters ...
gpl-3.0
wingo/snabbswitch
lib/ljsyscall/syscall/openbsd/ioctl.lua
24
3734
-- ioctls, filling in as needed local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local function init(types) l...
apache-2.0
ychoucha/minetest-game-mineclone
mods/redstone/mesecons_mvps/init.lua
4
4213
--register stoppers for movestones/pistons mesecon.mvps_stoppers={} function mesecon:is_mvps_stopper(node, pushdir, stack, stackid) local get_stopper = mesecon.mvps_stoppers[node.name] if type (get_stopper) == "function" then get_stopper = get_stopper(node, pushdir, stack, stackid) end return get_stopper end f...
lgpl-2.1
Kosmos82/kosmosdarkstar
scripts/globals/conquest.lua
13
45210
----------------------------------- -- -- Functions for Conquest system -- ----------------------------------- require("scripts/globals/common"); require("scripts/globals/missions"); ----------------------------------- -- convenience constants ----------------------------------- SANDORIA = 0; BASTOK = 1; WINDU...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/North_Gustaberg/MobIDs.lua
8
1385
----------------------------------- -- Area: North Gustaberg -- Comments: -- posX, posY, posZ --(Taken from 'mob_spawn_points' table) ----------------------------------- -- Stinging Sophie Stinging_Sophie=17211561; Stinging_Sophie_PH={ [17211532] = '1', -- 352.974, -40.359, 472.914 [17211534] = '1', -- 353.313, -...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/abilities/dark_shot.lua
2
2831
----------------------------------- -- Ability: Dark Shot -- Consumes a Dark Card to enhance dark-based debuffs. Additional effect: Dark-based Dispel -- Bio Effect: Attack Down Effect +5% and DoT + 3 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("sc...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Western_Adoulin/npcs/Porter_Moogle.lua
41
1534
----------------------------------- -- Area: Western Adoulin -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 256 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Western_Adoulin/...
gpl-3.0
Igalia/snabb
src/apps/lwaftr/binding_table.lua
2
14193
-- AFTR Binding Table -- -- A binding table is a collection of softwires (tunnels). One endpoint -- of the softwire is in the AFTR and the other is in the B4. A -- softwire provisions an IPv4 address (or a part of an IPv4 address) to -- a customer behind a B4. The B4 arranges for all IPv4 traffic to be -- encapsulat...
apache-2.0
randrew/infscroll
infscroll/script/lua/project.lua
1
2266
----------------------------------------------------------------------------------- -- This implementation uses the default SimpleProject and the Project extensions are -- used to extend the SimpleProject behavior. -- This is the global table name used by Appkit Basic project to extend behavior Project = Project or {...
mit
SalvationDevelopment/Salvation-Scripts-Production
c52098461.lua
2
1558
--ラス・オブ・ネオス function c52098461.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c52098461.target) e1:SetOperation(c52098461.activate) c...
gpl-2.0
TerryE/nodemcu-firmware
lua_examples/somfy.lua
1
4718
-- Somfy module example (beside somfy module requires also SJSON module) -- The rolling code number is stored in the file somfy.cfg. A cached write of the somfy.cfg file is implemented in order to reduce the number of write to the EEPROM memory. Together with the logic of the file module it should allow long lasting op...
mit
SalvationDevelopment/Salvation-Scripts-Production
c16759958.lua
2
2681
--アロマセラフィ-アンゼリカ function c16759958.initial_effect(c) --recover local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(16759958,0)) e1:SetCategory(CATEGORY_RECOVER) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(LOCATION_HAND) e1:SetCount...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/dish_of_spaghetti_peperoncino_+1.lua
12
1490
----------------------------------------- -- ID: 5197 -- Item: dish_of_spaghetti_peperoncino_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health % 30 -- Health Cap 75 -- Vitality 2 -- Store TP 6 -- Resist virus +12 ----------------------------------------- require("scripts/globals/s...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
constant.lua
2
39131
--min/max value MIN_ID =1000 --4 digit, by DataManager::GetDesc() MAX_ID =268435455 --9 digit, by DataManager::GetDesc() MAX_COUNTER =65535 --max number for adding/removing counters, by card::add_counter(), field::remove_counter() --Locations 区域 LOCATION_DECK =0x01 --卡组 LOCATION_HAND =0x02 --手牌 LOCATION_MZONE ...
gpl-2.0
waruqi/xmake
xmake/core/base/profiler.lua
1
5148
--!A cross-platform build utility based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law...
apache-2.0
retep998/Vana
scripts/instances/miniDungeonSand.lua
2
1320
--[[ Copyright (C) 2008-2016 Vana Development Team 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 distributed in the hope that it will be useful, but WITHO...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/cone_of_homemade_gelato.lua
12
1875
----------------------------------------- -- ID: 5223 -- Item: cone_of_homemade_gelato -- Food Effect: 30Min, All Races ----------------------------------------- -- Intelligence 1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) --------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c511000052.lua
2
2058
--Pain to Power function c511000052.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c511000052.target) e1:SetOperation(c511000052.operation) c:RegisterE...
gpl-2.0
asmagill/hammerspoon-config
utils/_actions/remoteCheck.lua
1
3682
local module = {} local task = require("hs.task") local stext = require("hs.styledtext") local timer = require("hs.timer") local settings = require("hs.settings") local watchable = require"hs.watchable" local hosts = { "tesla.private", "marconi.private", "hedylamarr.private", } lo...
mit
dr01d3r/darkstar
scripts/zones/Kuftal_Tunnel/npcs/qm5.lua
17
1466
----------------------------------- -- Area: Kuftal Tunnel -- NPC: ??? -- Involved in Mission: Bastok 8-2 ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); requi...
gpl-3.0
dr01d3r/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm4.lua
12
1829
----------------------------------- -- Area: The Sanctuary of Zitah -- NPC: ??? -- Finishes Quest: Lovers in the Dusk -- @zone 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("...
gpl-3.0
chaorace/cqui
Assets/UI/Panels/unitpanel.lua
4
158744
-- =========================================================================== -- Unit Panel Screen -- =========================================================================== include( "InstanceManager" ); include( "SupportFunctions" ); include( "Colors" ); include( "CombatInfo" ); include( "PopupDialogSupport" ); ...
mit
SalvationDevelopment/Salvation-Scripts-Production
c22419772.lua
7
1372
--ピクシーガーディアン function c22419772.initial_effect(c) --to deck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(22419772,0)) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCost(c22419772.cost) e1:SetTarget(c2...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c21831848.lua
9
1175
--ガガガドロー function c21831848.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c21831848.cost) e1:SetTarget(c21831848.target) e1:SetOperation(c21831848.acti...
gpl-2.0
thegrb93/wire
lua/wire/client/hlzasm/hc_tokenizer.lua
4
19499
-------------------------------------------------------------------------------- -- HCOMP / HL-ZASM compiler -- -- Tokenizer -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- All symbols (tokens) recog...
apache-2.0
SalvationDevelopment/Salvation-Scripts-Production
c54512827.lua
2
2770
--ゴーストリック・ランタン function c54512827.initial_effect(c) --summon limit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_SUMMON) e1:SetCondition(c54512827.sumcon) c:RegisterEffect(e1) --turn set local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(54512827,0)) e2:Se...
gpl-2.0
dvdvideo1234/ZeroBraineProjects
ReturnReplace/out_asmlib.lua
1
73053
---------------- Localizing Libraries --------------- local type = type local pairs = pairs local print = print local Angle = Angle local Color = Color local Vector = Vector local IsValid = IsValid local tostri...
apache-2.0
RezaLunatic/Unknown
plugins/time.lua
38
2898
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
anusornc/nodemcu-firmware
lua_modules/lm92/lm92.lua
52
2140
-- ****************************************************** -- LM92 module for ESP8266 with nodeMCU -- -- Written by Levente Tamas <levente.tamas@navicron.com> -- -- GNU LGPL, see https://www.gnu.org/copyleft/lesser.html -- ****************************************************** -- Module Bits local moduleName = ... loca...
mit
joev/SVUI-Temp
SVUI_ActionBars/libs/LibStub/LibStub.lua
5
1389
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info -- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke local _G = getfenv(0) local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER...
mit
SalvationDevelopment/Salvation-Scripts-Production
c72648810.lua
2
1223
--揺るがぬ絆 function c72648810.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL) e1:SetCondition(c72648810.condition) e1:SetTarget(c72...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/sausage.lua
12
1754
----------------------------------------- -- ID: 4578 -- Item: sausage -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 3 (cap 130) -- Strength 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 -- Ranged ATT % 27 -- Ranged ATT Cap 30 ----------------------------------------- re...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c39188539.lua
2
2674
--ストーム・シューター function c39188539.initial_effect(c) --move local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(39188539,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,EFFECT_COUNT_CODE_SINGLE) e1:SetCondition(c39188539.seqcon) e1:SetCost(c39188539.cost) e1:SetOpera...
gpl-2.0
AutoJames/KkthnxUI_Legion
KkthnxUI/Config/Filters/ChatSpam.lua
1
1542
local K, C, L = select(2, ...):unpack() if C.Chat.Enable ~= true or C.Chat.Spam ~= true then return end K.ChatSpamList = { -- real spam "%.c0m%f[%A]", "%S+#%d+", -- BattleTag "%d/%d cm gold", "%d%s?eur%f[%A]", "%d%s?usd%f[%A]", "account", "boost", "cs[:;]go%f[%A]", -- seems to be the new hype "delivery", "...
mit
dr01d3r/darkstar
scripts/zones/Cape_Teriggan/npcs/Dultwa_IM.lua
14
3310
----------------------------------- -- Area: Cape Teriggan -- NPC: Dulwa, I.M. -- Type: Border Conquest Guards -- @pos 119 0 282 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("script...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Northern_San_dOria/npcs/Tavourine.lua
17
1973
----------------------------------- -- Area: Northern San d'Oria -- NPC: Tavourine -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/glob...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c83743222.lua
2
2490
--女神の聖弓-アルテミス function c83743222.initial_effect(c) c:EnableReviveLimit() --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --equip local e2=Effect.Creat...
gpl-2.0
dr01d3r/darkstar
scripts/globals/weaponskills/stringing_pummel.lua
19
1733
----------------------------------- -- Stringing Pummel -- Sword weapon skill -- Skill Level: N/A -- Delivers a sixfold attack. Damage varies with TP. Kenkonken: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Puppetmaster) quest. -- Aligned with the Shadow Gorget, Soil Gorget...
gpl-3.0
jamesbates/vlc
share/lua/playlist/dailymotion.lua
19
3036
--[[ Translate Daily Motion video webpages URLs to the corresponding FLV URL. $Id$ Copyright © 2007-2011 the VideoLAN team 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; either versio...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c40371092.lua
5
3003
--白夜の騎士ガイア function c40371092.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(40371092,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_HANDES) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,40371092) e1:SetCost(c40371092.thco...
gpl-2.0