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 |
|---|---|---|---|---|---|
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/poi/endor_dulok_medium7.lua | 2 | 2238 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
mattijv/Avoidant | mook.lua | 1 | 4124 | local settings = require("settings")
local mook = {}
mook.types = {"red","green","blue"}
mook.defaultTypeQueue = {"red", "red", "red", "red", "green", "green", "green", "green", "blue", "blue", "blue", "blue"}
mook.typeQueue = {}
mook.refreshTypeQueue = function(self)
self.typeQueue = {}
for i=1,#self.defaultTypeQue... | mit |
SpaceVim/SpaceVim | bundle/nvim-treesitter/lua/nvim-treesitter/caching.lua | 1 | 1046 | local api = vim.api
local M = {}
--- Creates a cache table for buffers keyed by a type name.
--- Cache entries attach to the buffer and cleanup entries
--- as buffers are detached.
function M.create_buffer_cache()
local cache = {}
local items = setmetatable({}, {
__index = function(tbl, key)
rawset(tbl... | gpl-3.0 |
alfred-bot/seedphmbot | plugins/invite.lua | 1 | 1190 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/bodysuit/objects.lua | 3 | 34214 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/furniture/furniture_chair_metal.lua | 1 | 3164 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
ouyangruoxue/pokerServer | server/lua/netease/sms/querystatus.lua | 1 | 1636 | --[[
-- 作者:左笑林
-- 日期:2017-03-31
-- 文件名:querystatus.lua
-- 功能:查询模板短信发送状态
-- 版权说明:南京正溯网络科技有限公司.版权所有©copy right.
-- 根据短信的sendid(sendtemplate.action接口中的返回值),查询短信发送结果。
--]]
-- 参数说明
-- 参数 类型 必须 说明
-- sendid long 是 发送短信的编号sendid
local cjson = require "cjson"
local reqArgs = require "common.request_args"
local htt... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/ship/prototype_z95.lua | 3 | 2160 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_ith_jewelry_necklace_09.lua | 1 | 3338 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/spined_snake.lua | 3 | 2164 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sprunk/Zero-K | scripts/staticsonar.lua | 8 | 1704 | include "constants.lua"
local base, float, body, head, ball = piece ("base", "float", "body", "head", "ball")
local wings = {}
for i = 1, 4 do
wings[i] = piece ("wing"..i)
end
local explodables1 = {ball, wings[1], wings[2]}
local explodables2 = {float, head, wings[3], wings[4]}
local smokePiece = { base }
function ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_armor_bone_bracer_l.lua | 1 | 4018 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/loot/misc/firework_dud_s1.lua | 3 | 2224 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/lair/npc_theater/lok_nym_camp_neutral_medium_theater.lua | 1 | 1227 | lok_nym_camp_neutral_medium_theater = Lair:new {
mobiles = {{"nym_pirate_weak",1},{"nym_brawler",1},{"nym_surveyor",1}},
spawnLimit = 12,
buildingsVeryEasy = {"object/building/poi/lok_nymshenchman_medium.iff","object/building/poi/lok_nymshenchman_medium2.iff","object/building/poi/lok_nymshenchman_medium3.iff"},
bui... | agpl-3.0 |
wbqd/cqui | Assets/UI/Panels/citypaneloverview.lua | 2 | 37136 | --CityPanelOverview
--Triggered by selecting a city
include( "AdjacencyBonusSupport" ); -- GetAdjacentYieldBonusString()
include( "Civ6Common" ); -- GetYieldString()
include( "InstanceManager" );
include( "ToolTipHelper" );
include( "SupportFunctions" ); -- Round(), Clamp()
include( "TabSupport" );
-- ... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/engine/engine_kuat_tc40.lua | 3 | 2280 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/piket.lua | 3 | 2136 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/general/streetlamp_small_style_01_on.lua | 3 | 2300 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/structure/city/bank_tatooine.lua | 1 | 3663 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
antogerva/PcsxrrWorkflow | src/test/WorkFlowPannelTest1.lua | 1 | 14941 | --local PATH = debug.getinfo(1).source;
--print(PATH)
--os.execute("SET LUA_PATH=;src\?.lua;src\?\init.lua;src\?.luac;src\?\init.luac;src\socket\?.lua;src\socket\?\init.lua;src\socket\?.luac;src\socket\?\init.luac;")
--os.execute("SET LUA_CPATH=;src\?.lua;src\?\init.lua;src\?.luac;src\?\init.luac;src\socket\?.lua;src... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/space/asteroid/asteroid_obsidian_large_01.lua | 3 | 2280 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/gaping_spider_recluse.lua | 3 | 2200 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/event_perk/fed_dub_4x10_honorguard.lua | 1 | 5803 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/conversations/dungeon/geonosian_lab/biogenic_construction_convo.lua | 4 | 4682 | --If this convo has errors - Loc-nar this is the NPC behind the Fire Spider gives key code to scientist room 51892
biogenic_construction_ConversationTemplate = ConvoTemplate:new {
initialScreen = "screenconvo1",
templateType = "Normal",
luaClassHandler = "",
screens = {}
}
screenconvo1 = ConvoScreen:new {
id = "... | agpl-3.0 |
rastin45/telecaty | plugins/banhammer.lua | 12 | 11340 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
mretegan/crispy | crispy/quanty/templates/5d_Td_XAS_3p.lua | 1 | 24546 | --------------------------------------------------------------------------------
-- Quanty input file generated using Crispy. If you use this file please cite
-- the following reference: http://dx.doi.org/10.5281/zenodo.1008184.
--
-- elements: 5d
-- symmetry: Td
-- experiment: XAS
-- edge: M2,3 (3p)
------------------... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/capacitor/quick_recharge_battery_mk2.lua | 2 | 2840 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/loot/loot_schematic/death_watch_mandalorian_belt_schematic.lua | 3 | 2356 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/item/item_chair_modern_loveseat_s01.lua | 3 | 2256 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
TerraME/terrame | packages/base/tests/functional/basics/Utils.lua | 3 | 26288 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2014 INPE and TerraLAB/UFOP.
--
-- This code is part of the TerraME framework.
-- This framework is free software; yo... | lgpl-3.0 |
ouyangruoxue/pokerServer | server/lua/api/note/save_note.lua | 1 | 2231 | --[[
新增/保存公告
@param id_pk
@param note_title 公告标题
@param note_context 公告内容(模板)
@param note_level 公告等级 1优先级最高,数值越大优先级越低
@param note_type 公告类型 如 0是系统公告,1是赢钱公告,2是礼物公告
@param reach_condition 达成条件
@param publish_time 发布时间
@param is_publish 是否发布
@param gift_id_fk 礼物id
]]
local cjson = require "cjson"
local userDb... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/general/debris_deathstar_small_chunk.lua | 3 | 2300 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/mission/quest_item/kylantha_q1_needed.lua | 3 | 2272 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Sajaki/MizusRaidTracker | localization_ptBR.lua | 1 | 19653 | -- ********************************************************
-- ** Mizus RaidTracker - ptBR Local **
-- ** <http://cosmocanyon.de> **
-- ********************************************************
--
-- This localization is written by:
-- boux2
--
-- Note:
-- MRT r... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/weapon_capacitor/cap_moncal_enhanced_advanced.lua | 3 | 2368 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/boar_wolf.lua | 3 | 2152 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/conversations/dungeon/death_watch_bunker/haldo_conv.lua | 3 | 4334 | deathWatchInsaneMinerConvoTemplate = ConvoTemplate:new {
initialScreen = "",
templateType = "Lua",
luaClassHandler = "deathWatchHaldoConvoHandler",
screens = {}
}
intro_noquest = ConvoScreen:new {
id = "intro_noquest",
leftDialog = "@conversation/death_watch_insane_miner:s_c2b7bf76", -- You cannot help me! No on... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/pet_deed/bol_deed.lua | 2 | 2713 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/faction/imperial/fbase_imperial_sharpshooter.lua | 1 | 1340 | fbase_imperial_sharpshooter = Creature:new {
objectName = "@mob/creature_names:fbase_imperial_sharpshooter",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "imperial",
faction = "imperial",
level = 27,
chanceHit = 0.38,
damageMin = 260,
damageMax = 270,
baseXp = 2700,
baseHAM = 8100,
bas... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/general/streetlamp_large_red_style_01.lua | 3 | 2304 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/armor/chitin/armor_chitin_s01_bicep_r.lua | 1 | 5813 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/event_perk/wrecked_sandcrawler_deed.lua | 1 | 2458 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_ith_jacket_formal_15.lua | 1 | 3451 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/armor/ris/serverobjects.lua | 3 | 2645 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sprunk/Zero-K | LuaRules/Gadgets/unit_show_shooter.lua | 2 | 5619 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Show Shooter",
desc = "Reveals a unit if it shoots its weapon while in air LOS.",
author = "Google... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/base/base_gloves.lua | 3 | 2228 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
NeuroRoboticTech/AnimatLabPublicSource | Libraries/OsgAnimatSim/Projects_VisualStudio/Projects.lua | 1 | 2371 |
project "OsgAnimatSim"
language "C++"
kind "SharedLib"
files { "../*.h",
"../*.cpp"}
configuration { "Debug or Debug_Double", "windows" }
includedirs { "../../../include",
"../../../../3rdParty/OpenSceneGraph-3.0.1/include",
"../../StdUtils",
"../../AnimatSim",
... | bsd-3-clause |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_ith_jewelry_necklace_07.lua | 1 | 3285 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/vendor/vendor_droid_protocol.lua | 3 | 2236 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/tatooine_npc/jilljoo_jab.lua | 3 | 2212 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/armor/kashyyykian_ceremonial/armor_kashyyykian_ceremonial_leggings.lua | 1 | 4182 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/hair/human/hair_human_male_s10.lua | 3 | 2244 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
SpaceVim/SpaceVim | bundle/telescope.nvim/lua/telescope/testharness/init.lua | 1 | 2980 | local assert = require "luassert"
local Path = require "plenary.path"
local tester = {}
tester.debug = false
local get_results_from_contents = function(content)
local nvim = vim.fn.jobstart(
{ "nvim", "--noplugin", "-u", "scripts/minimal_init.vim", "--headless", "--embed" },
{ rpc = true }
)
local res... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/general/all_sign_shop_s01.lua | 3 | 2256 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
ld-test/kong | spec/plugins/basic-auth/access_spec.lua | 1 | 7179 | local spec_helper = require "spec.spec_helpers"
local http_client = require "kong.tools.http_client"
local constants = require "kong.constants"
local cjson = require "cjson"
local PROXY_URL = spec_helper.PROXY_URL
describe("Authentication Plugin", function()
setup(function()
spec_helper.prepare_db()
spec_h... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/droid/data_storage_module_4.lua | 2 | 2924 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
SpaceVim/SpaceVim | bundle/cmp-nvim-lsp/lua/cmp_nvim_lsp/source.lua | 1 | 2994 | local source = {}
source.new = function(client)
local self = setmetatable({}, { __index = source })
self.client = client
self.request_ids = {}
return self
end
source.get_debug_name = function(self)
return table.concat({ 'nvim_lsp', self.client.name }, ':')
end
source.is_available = function(self)
-- clie... | gpl-3.0 |
ouyangruoxue/pokerServer | server/lua/api/anchor/save_anchor_live_history.lua | 1 | 1629 | --[[
新增/保存直播历史记录
@param id_pk 有id的是更新,没有id的是新增
@param anchor_id 主播id
@param anchor_live_begindate 直播开始时间
@param anchor_live_enddate 直播结束时间
]]
local cjson = require "cjson"
local userDb = require "db.base_db"
local reqArgs = require "common.request_args"
local responeData = require "common.api_data_help"
-... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_diplomat_trando_female_01.lua | 3 | 2248 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/furniture/tatooine/frn_tato_table_small_style_03.lua | 3 | 2316 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Ultr4-Froz3n/CustomPlugin | Plugin+/CleanDeleted.lua | 1 | 1054 | --Begin clean deleted by @SoLiD
local function getChatId(chat_id)
local chat = {}
local chat_id = tostring(chat_id)
if chat_id:match('^-100') then
local channel_id = chat_id:gsub('-100', '')
chat = {ID = channel_id, type = 'channel'}
else
local group_id = chat_id:gsub('-', '')
chat = {ID = group... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/tatooine/tusken_avenger.lua | 1 | 1398 | tusken_avenger = Creature:new {
objectName = "@mob/creature_names:tusken_avenger",
socialGroup = "tusken_raider",
faction = "tusken_raider",
level = 48,
chanceHit = 0.49,
damageMin = 385,
damageMax = 480,
baseXp = 4734,
baseHAM = 10000,
baseHAMmax = 12200,
armor = 0,
resists = {40,10,0,50,-1,30,-1,-1,-1},
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/space_chassis_broker_05.lua | 1 | 2208 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
SpaceVim/SpaceVim | bundle/nvim-cmp/lua/cmp/types/lsp.lua | 1 | 6133 | local misc = require('cmp.utils.misc')
---@see https://microsoft.github.io/language-server-protocol/specifications/specification-current/
---@class lsp
local lsp = {}
lsp.Position = {}
---Convert lsp.Position to vim.Position
---@param buf number|string
---@param position lsp.Position
---@return vim.Position
lsp.Posit... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/requestBiography.lua | 4 | 2141 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/furniture/elegant/chair_s01.lua | 3 | 2671 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
beauli/kong | spec/03-plugins/09-hmac-auth/02-api_spec.lua | 4 | 6344 | local helpers = require "spec.helpers"
local cjson = require "cjson"
describe("Plugin: hmac-auth (API)", function()
local client, credential, consumer
setup(function()
helpers.prepare_prefix()
assert(helpers.start_kong())
client = helpers.admin_client()
end)
teardown(function()
if client then ... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/intangible/pet/3po_protocol_droid_silver.lua | 3 | 2248 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/ship/sorosuub_space_yacht.lua | 3 | 2188 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/base/armor_base.lua | 3 | 2224 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Goodzilam/-20 | plugins/close_group.lua | 32 | 1646 | 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, ok_cb, true)
end
local function returnids(cb_extra, success, result)
local receiver = cb_extra.receiver
local chat_id = result.id
local chatname = result.print_name
loc... | gpl-2.0 |
Mrhalix/DrAgoN | plugins/inrealm.lua | 3 | 17487 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_group_ch... | gpl-2.0 |
SpaceVim/SpaceVim | bundle/nvim-lspconfig/lua/lspconfig/server_configurations/omnisharp.lua | 1 | 6079 | local util = require 'lspconfig.util'
return {
default_config = {
-- Enables support for reading code style, naming convention and analyzer
-- settings from .editorconfig.
enable_editorconfig_support = true,
-- If true, MSBuild project system will only load projects for files that
-- were opened... | gpl-3.0 |
SbssTeam/Quick-v2 | 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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/droid_interface/base_droid_interface_subcomponent_mk4.lua | 3 | 2388 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/base/base_helmet_closed_mouth.lua | 3 | 2280 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/serverobjects.lua | 3 | 2347 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/medicine/crafted/medpack_disease_area_quickness_a.lua | 2 | 3390 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/attachment/weapon/z95_weapon_s03.lua | 3 | 2272 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/skeleton/bird_finch.lua | 3 | 2192 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_brigade_infiltrator_human_female_01.lua | 3 | 2288 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_criminal_thug_aqualish_female_02.lua | 3 | 2276 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/crafting/base/base_public_station.lua | 3 | 2256 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/ship/blacksun_light_s04_tier3.lua | 3 | 2204 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
mikejbrown/ProjectPorcupine | Assets/StreamingAssets/LUA/Quest.lua | 20 | 1503 | -------------------------------------------------------
-- Project Porcupine Copyright(C) 2016 Team Porcupine
-- This program comes with ABSOLUTELY NO WARRANTY; This is free software,
-- and you are welcome to redistribute it under certain conditions; See
-- file LICENSE, which is part of this source code package, for ... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_tatooine_dune_stalker_marksman.lua | 3 | 2268 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/vehicle/component/disperser.lua | 3 | 2260 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/pet_deed/objects.lua | 3 | 172520 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
sprunk/Zero-K | lups/ParticleClasses/JitterParticles2.lua | 2 | 14284 | -- $Id: JitterParticles2.lua 3171 2008-11-06 09:06:29Z det $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local JitterParticles2 = {}
Ji... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/space/droid_interface/droid_brain_upgrade_mk2.lua | 1 | 3360 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/static_spawns/dantooine_static_spawns.lua | 1 | 1464 | --This is to be used for static spawns that are NOT part of caves, cities, dungeons, poi's, or other large screenplays.
DantooineStaticSpawnsScreenPlay = ScreenPlay:new
{
numberOfActs = 1,
screenplayName = "DantooineStaticSpawnsScreenPlay",
}
registerScreenPlay("DantooineStaticSpawnsScreenPlay", true)
function Dan... | agpl-3.0 |
sprunk/Zero-K | scripts/assaultcruiser.lua | 8 | 4064 | include 'constants.lua'
--------------------------------------------------------------------
--pieces
--------------------------------------------------------------------
local base, lowerhull, upperhull, antenna, radarbase, radardish = piece('base', 'lowerhull', 'upperhull', 'antenna', 'radarbase', 'radardish')
local... | gpl-2.0 |
amirik22/tgcli | 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 |
mortezamosavy999/nn | 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 |
fire/Urho3D-1 | Source/ThirdParty/toluapp/src/bin/lua/compat.lua | 24 | 4370 | -- Modified by Yao Wei Tjong for Urho3D
-------------------------------------------------------------------
-- Real globals
-- _ALERT
-- _ERRORMESSAGE
-- _VERSION
-- _G
-- assert
-- error
-- metatable
-- next
-- print
-- require
-- tonumber
-- tostring
-- type
-- unpack
-----------------------------------------------... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/item/quest/force_sensitive/bacta_tank.lua | 3 | 2272 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/server.lua | 4 | 2111 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_ewok_m_12.lua | 3 | 2184 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sprunk/Zero-K | LuaRules/Configs/MetalSpots/EE-RiverGlade-v02.lua | 8 | 1983 | return {
spots = {
{x = 475, z = 578, metal = 2.04},
{x = 1963, z = 1483, metal = 2.04},
{x = 2585, z = 283, metal = 2.04},
{x = 3883, z = 234, metal = 2.04},
{x = 4725, z = 985, metal = 2.04},
{x = 4992, z = 671, metal = 2.04},
{x = 5333, z = 1034, metal = 2.04},
{x = 6149, z = 175, metal = 2.04},
{... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/naboo/borvos_bruiser.lua | 1 | 1239 | borvos_bruiser = Creature:new {
objectName = "",
randomNameType = NAME_GENERIC,
randomNameTag = true,
customName = "Borvo's Bruiser",
socialGroup = "borvo",
faction = "borvo",
level = 13,
chanceHit = 0.3,
damageMin = 140,
damageMax = 150,
baseXp = 609,
baseHAM = 1500,
baseHAMmax = 1900,
armor = 0,
resist... | agpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.