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/mobile/endor/tainted_korga_dark_shaman.lua | 1 | 1041 | tainted_korga_dark_shaman = Creature:new {
objectName = "@mob/creature_names:tainted_korga_dark_shaman",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "korga_tribe",
faction = "korga_tribe",
level = 24,
chanceHit = 0.35,
damageMin = 220,
damageMax = 230,
baseXp = 2543,
baseHAM = 6300,
b... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_wke_shoulder_pad_s01.lua | 1 | 3262 | --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/atst_debris_01.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 |
lo7err/khodemuni | plugins/anti_spam.lua | 435 | 3886 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/weapon_capacitor/cap_kse_limited_mk4.lua | 3 | 2332 | --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/component/munition/serverobjects.lua | 3 | 3073 | --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 | kong/cmd/migrations.lua | 3 | 1811 | local conf_loader = require "kong.conf_loader"
local DAOFactory = require "kong.dao.factory"
local log = require "kong.cmd.utils.log"
local concat = table.concat
local ANSWERS = {
y = true,
Y = true,
yes = true,
YES = true,
n = false,
N = false,
no = false,
NO = false
}
local function confirm(q)
loc... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/weapon/wpn_prototype_weapon.lua | 3 | 2296 | --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/creature/serverobjects.lua | 2 | 2239 | --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/armor_chitin_helmet.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 |
sprunk/Zero-K | LuaRules/Gadgets/unit_solar_force_closed.lua | 8 | 1425 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/faction/rebel/fbase_rebel_cadet_hard.lua | 1 | 1568 | fbase_rebel_cadet_hard = Creature:new {
objectName = "@mob/creature_names:fbase_rebel_cadet_hard",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "rebel",
faction = "rebel",
level = 66,
chanceHit = 0.66,
damageMin = 475,
damageMax = 660,
baseXp = 6600,
baseHAM = 12500,
baseHAMmax = 18000... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/conversations/village/phase2/qtqc_phase2_conv.lua | 1 | 13467 | villageQtQcPhase2ConvoTemplate = ConvoTemplate:new {
initialScreen = "",
templateType = "Lua",
luaClassHandler = "villageQtQcPhase2ConvoHandler",
screens = {}
}
intro = ConvoScreen:new {
id = "intro",
leftDialog = "@conversation/qtqc_phase_2:s_67afc98f", -- What would you like to do?
stopConversation = "false",... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/mottled_wrix.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/slicing/slicing_flow_analyzer.lua | 3 | 2759 | --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/boots/boots_s15.lua | 3 | 4404 | --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 | MizusRaidTracker_UIDropDownMenu.lua | 1 | 41013 | -- Taken from the WoW UIDropDownMenu Interface implentation and moved to MRT namespace
MRT_LIB_UIDROPDOWNMENU_MINBUTTONS = 8;
MRT_LIB_UIDROPDOWNMENU_MAXBUTTONS = 8;
MRT_LIB_UIDROPDOWNMENU_MAXLEVELS = 2;
MRT_LIB_UIDROPDOWNMENU_BUTTON_HEIGHT = 16;
MRT_LIB_UIDROPDOWNMENU_BORDER_HEIGHT = 15;
-- The current open men... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/ship/firespray_tier4.lua | 3 | 2168 | --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 |
motoschifo/mame | 3rdparty/genie/src/actions/make/make_cpp.lua | 26 | 20317 | -- --
-- make_cpp.lua
-- Generate a C/C++ project makefile.
-- Copyright (c) 2002-2013 Jason Perkins and the Premake project
--
premake.make.cpp = { }
premake.make.override = { }
premake.make.makefile_ignore = false
local cpp = premake.make.cpp
local make = premake.make
function premake.make_cpp(prj)
-- cre... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/container/jar/jar_berries_s01.lua | 3 | 2240 | --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/food/component/ingredient_carbosyrup.lua | 1 | 3094 | --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_assassin_human_male_01.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/tangible/hair/sullustan/sul_hair_s16_f.lua | 3 | 2240 | --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 |
aircross/OpenWrt-Firefly-LuCI | applications/luci-asterisk/luasrc/model/cbi/asterisk.lua | 80 | 5333 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
h... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/r4_crafted_space.lua | 3 | 2180 | --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/droid/component/power_supply_redundant.lua | 1 | 3291 | --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/building/poi/endor_ewok_large1.lua | 2 | 2230 | --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/wp_mle_sword_lightsaber_dugald.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/mobile/dressed_tatooine_desert_demon.lua | 3 | 2232 | --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/universe/base/base_universe.lua | 3 | 2196 | --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 |
ellipticaldoor/just_10_seconds | game/lua/player.lua | 1 | 2899 | player = {}
function player.load()
-- Player
showplayer, moveplayer = false, false
player.w, player.h = 50, 50
player.x, player.y = 1280/2-(player.w/2), (720-80)/2-(player.h/2)
player.xvel, player.yvel = 0, 0
player.spd, player.fr = 10000, 4.5
left, right = false, false
player_lock = false
ground = 548
s... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/reactor/rct_mission_reward_neutral_subpro_military.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/mobile/kliknik_hatchling.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 |
antogerva/PcsxrrWorkflow | lib/lua_test/lua-gd-2.0.33r2/demos/ttftext.lua | 2 | 1042 | require "gd"
function boxedtext(im, color, font, size, ang, x, y, text, bcolor)
font = "./" .. font .. ".ttf"
llx, lly, lrx, lry, urx, ury, ulx, uly =
im:stringFT(color, font, size, math.rad(ang), x, y, text)
im:polygon({ {llx, lly}, {lrx, lry}, {urx, ury}, {ulx, uly} }, bcolor)
end
im = gd.createTrueColor(... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/particle/particle_test_79.lua | 3 | 2216 | --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 | effects/robert.lua | 25 | 5267 | -- robert_1
-- robert_1_1
-- robert_1_1_1
-- robert
return {
["robert_1"] = {
dust = {
air = true,
class = [[CExpGenSpawner]],
count = 1,
ground = true,
water = true,
properties = {
delay = ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/chemistry/medpack_poison_health_a.lua | 1 | 3699 | --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/instrument/fanfar.lua | 3 | 2670 | --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 |
BrandonTaylor95/serverbase | lua/sv_rtd.lua | 1 | 5551 | ------------------------------------------------------
-- To add an outcome simply follow the layout below --
------------------------------------------------------
RTD_OUTCOME = {}
RTD_OUTCOME[1] = {
name = "healthpos",
func = function(ply)
local givehealth = math.random(10, 50)
ply:SetHealth(ply:Health() + gi... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/pet_deed/deed_r4_basic.lua | 2 | 4053 | --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/smuggler_warlord_ship_turret_ball.lua | 3 | 2348 | --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/lair/stintaril/lair_stintaril_jungle.lua | 1 | 2311 | --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 |
aircross/OpenWrt-Firefly-LuCI | applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua | 68 | 1140 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
h... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/hondo/bazaarbot/table_structures.lua | 1 | 2736 | BBStructuresConfig = {
path = "object/draft_schematic/structure/",
qualityMin = 30,
qualityAvg = 35, -- 10% chance to use this as the min value and qualityMax as the max value
qualityMax = 45, -- 1% Chance to get up to +5 to the max value, with qualityMax as the min value
freq = 28800, -- Every x seconds
eventNam... | agpl-3.0 |
Geigerkind/DPSMate | DPSMate_EHealing/DPSMate_Details_EHealingTotal.lua | 2 | 13247 | DPSMate.Modules.DetailsEHealingTotal = {}
local g, g2 = nil,nil
local curKey = 1
local db, cbt = {}, 0
local buttons = {}
local ColorTable={}
local _G = getglobal
local tinsert = table.insert
local tremove = table.remove
local strformat = string.format
local toggle = false
local totSumTable = {}
local totMax = 0
local... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_sennex_pirate_04.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 |
wanghuan1115/sdkbox-ga-sample | js/frameworks/cocos2d-x/plugin/luabindings/script/lua_plugin.lua | 146 | 1432 |
plugin = plugin or {}
plugin.FacebookAgent = plugin.FacebookAgent or {}
plugin.FacebookAgent.HttpMethod =
{
GET = 0,
POST = 1,
DELETE = 2,
}
plugin.FacebookAgent.AppEvent =
{
ACTIVATED_APP = "fb_mobile_activate_app",
COMPLETED_REGISTRATION = "fb_mobile_complete_registration",
VIEWED_CO... | mit |
llnoverll/NOVER | plugins/sakrf22.lua | 4 | 7476 | local function run(msg, matches)
if #matches < 2 then
return "بعد هذا الأمر، من خلال تحديد كلمة المسافة أو العبارة التي تريد إدخال الكتابة الجميلة"
end
if string.len(matches[2]) > 44 then
return "الحد الأقصى المسموح به 40 حرفاالأحرف الإنجليزية والأرقام"
end
local font_base = "ء,ئ,ا,ب,ت... | gpl-2.0 |
aircross/OpenWrt-Firefly-LuCI | modules/base/luasrc/tools/webadmin.lua | 88 | 3493 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
h... | apache-2.0 |
hanxi/HXGame | libs/external/emscripten/tests/box2d/premake4.lua | 35 | 1660 | -- Box2D premake script.
-- http://industriousone.com/premake
local action = _ACTION or ""
solution "Box2D"
location ( "Build/" .. action )
configurations { "Debug", "Release" }
configuration "vs*"
defines { "_CRT_SECURE_NO_WARNINGS" }
configuration "Debug"
targetdir ( "Build/" .. action .. "/bin/Debug"... | mit |
motoschifo/mame | 3rdparty/genie/tests/test_keywords.lua | 64 | 2197 | --
-- tests/test_keywords.lua
-- Automated test suite for configuration block keyword filtering.
-- Copyright (c) 2008, 2009 Jason Perkins and the Premake project
--
T.keywords = { }
local suite = T.keywords
--
-- Keyword escaping tests
--
function suite.escapes_special_chars()
test.isequal("%.%-", path.wildcar... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/hair/human/hair_human_female_s38.lua | 3 | 2252 | --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/chemistry/medpack_disease_quickness_b.lua | 1 | 3722 | --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/naboo/nomad_chief.lua | 1 | 1114 | nomad_chief = Creature:new {
objectName = "@mob/creature_names:nomad_chief",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "nomad",
faction = "naboo",
level = 8,
chanceHit = 0.270000,
damageMin = 70,
damageMax = 75,
baseXp = 235,
baseHAM = 405,
baseHAMmax = 495,
armor = 0,
resists = {... | agpl-3.0 |
wanghuan1115/sdkbox-ga-sample | js/frameworks/cocos2d-x/plugin/luabindings/auto/api/ProtocolUser.lua | 146 | 1133 |
--------------------------------
-- @module ProtocolUser
-- @extend PluginProtocol
-- @parent_module plugin
--------------------------------
-- brief config the application info<br>
-- param devInfo This parameter is the info of aplication,<br>
-- different plugin have different format<br>
-- warning Must invoke this... | mit |
beauli/kong | spec/03-plugins/15-response-transformer/01-header_transformer_spec.lua | 6 | 12511 | local header_transformer = require "kong.plugins.response-transformer.header_transformer"
local CONTENT_LENGTH = "content-length"
describe("Plugin: response-transformer", function()
describe("execute_headers()", function()
describe("remove", function()
local conf = {
remove = {
headers = ... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/gulginaw.lua | 3 | 2148 | --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 |
mretegan/crispy | crispy/quanty/templates/5d_Td_XPS_4p.lua | 1 | 21719 | --------------------------------------------------------------------------------
-- 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: XPS
-- edge: N2,3 (4p)
------------------... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/installation/faction_perk/turret/tower_lg.lua | 1 | 2749 | --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/building/general/rori_torton_cave.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/object/tangible/component/weapon/blaster_barrel_wp_muzzle_sm_s03_lg.lua | 3 | 2328 | --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 |
cappiewu/luci | build/luadoc/luadoc/doclet/debug.lua | 175 | 1048 | -----------------------------------------------------------------
-- LuaDoc debugging facilities.
-- @release $Id: debug.lua,v 1.3 2007/04/18 14:28:39 tomas Exp $
-----------------------------------------------------------------
module "luadoc.doclet.debug"
function printline()
print(string.rep('-', 79))
end
------... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/camp/camp_stool_short.lua | 3 | 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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/particle/particle_test_89.lua | 3 | 2216 | --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/bio_engineer/creature/creature_ikopi.lua | 1 | 3368 | --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/loot/items/armor/padded_armor_leggings.lua | 4 | 1752 | padded_armor_leggings = {
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "Padded Armor Leggings",
directObjectTemplate = "object/tangible/wearables/armor/padded/armor_padded_s01_leggings.iff",
craftingValues = {
{"armor_rating",1,1,0},
{"blasteffectiveness",10,45,10},
{"armor_effectiveness",8,29,10}... | agpl-3.0 |
mretegan/crispy | crispy/quanty/templates/5d_D3h_XAS_2s.lua | 1 | 24314 | --------------------------------------------------------------------------------
-- 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: D3h
-- experiment: XAS
-- edge: L1 (2s)
-------------------... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_lord_throme_gormengal.lua | 3 | 2232 | --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/trophy/picture_handheld_s01.lua | 1 | 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/installation/battlefield/destructible/bfield_gungan_statue_s01a.lua | 3 | 2340 | --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/crafted/weapon/min_damage_intensifier_mk1.lua | 3 | 2773 | --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 |
qyh214/wow_addons_private_use | AddOns/BuyEmAll/BuyEmAll.lua | 1 | 24827 | -- BuyEmAll - Originally created and developed by Cogwheel up to version 2.8.4, Shinisuryu up to version 3.5.5, now developed by Jordy141.
BuyEmAll = {}
local L = BUYEMALL_LOCALS;
-- These are used for the text on the Max and Stack buttons. See BuyEmAll.xml.
BUYEMALL_MAX = L.MAX;
BUYEMALL_STACK = L.STACK;
function... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasAnchorButtons.lua | 1 | 3854 | if not WeakAuras.IsLibsOK() then return end
local Type, Version = "WeakAurasAnchorButtons", 2
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end
local directions = { "TOPLEFT", "TOP", "TOPRIGHT", "LEFT", "CENTER", "RIGHT", "BOTTOMLEF... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI/Mainline/Modules/Skins/Archaeology.lua | 1 | 3243 | local E, L, V, P, G = unpack(ElvUI)
local S = E:GetModule('Skins')
local _G = _G
local pairs, next = pairs, next
function S:Blizzard_ArchaeologyUI()
if not (E.private.skins.blizzard.enable and E.private.skins.blizzard.archaeology) then return end
local ArchaeologyFrame = _G.ArchaeologyFrame
S:HandlePortraitFrame(... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c91575113.lua | 2 | 2997 | --B.M.I. Engine Reservation
function c91575113.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_DESTROYED)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetCondition(c91575113.condition)
... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c103950006.lua | 2 | 2913 | --Spectral Necromancy
function c103950006.initial_effect(c)
--Mono
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(103950006,0))
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE_START+PHASE_DRAW)
e1:Set... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c77273706.lua | 2 | 2829 | --Synchro Copy
function c77273706.initial_effect(c)
--cos
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(77273706,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c77273706.coscost)
e1:SetOperation(c7727370... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-TheEye/Solarian.lua | 1 | 2290 | local mod = DBM:NewMod("Solarian", "DBM-TheEye")
local L = mod:GetLocalizedStrings()
mod:SetRevision("20200806142051")
mod:SetCreatureID(18805)
mod:SetEncounterID(732)
mod:SetModelID(18239)
mod:SetUsedIcons(8)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED 42783",
"SPELL_CAST_START 3... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/BtWLoadouts/Events.lua | 1 | 62515 | local ADDON_NAME, Internal = ...;
local L = Internal.L;
local HelpTipBox_Anchor = Internal.HelpTipBox_Anchor;
local HelpTipBox_SetText = Internal.HelpTipBox_SetText;
local format = string.format
local sort = table.sort
local GetCharacterSlug = Internal.GetCharacterSlug
-- A map from the equipment manager ids to our... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WIM/Localization/ptBR.lua | 1 | 30063 | --[[
Language Localization: ptBR
]]
WIM.AddLocale("ptBR", {
["WIM (WoW Instant Messenger)"] = "WIM (WoW Instant Messenger)",
["_Description"] = "WIM é um addon que traz um sensação familiar da comunicar através de chat em World of Warcraft. Nesta tela, você será capaz de personalizar o WIM para adequá-lo a... | gpl-3.0 |
githubmereza/robotan | plugins/linkpv.lua | 66 | 30275 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
fegimanam/satn | plugins/linkpv.lua | 66 | 30275 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
qyh214/wow_addons_private_use | AddOns/WorldQuestTracker/libs/DF/split_bar.lua | 2 | 25769 |
local DF = _G ["DetailsFramework"]
if (not DF or not DetailsFrameworkCanLoad) then
return
end
local _
local rawset = rawset --lua local
local rawget = rawget --lua local
local setmetatable = setmetatable --lua local
local _unpack = unpack --lua local
local type = type --lua local
local _math_floor = math.floor --lu... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI_WindTools/Options/Tooltips.lua | 1 | 16138 | local W, F, E, L, V, P, G = unpack(select(2, ...))
local options = W.options.tooltips.args
local T = W.Modules.Tooltips
local LFGPI = W.Utilities.LFGPlayerInfo
local ipairs = ipairs
local cache = {
groupInfo = {}
}
options.desc = {
order = 1,
type = "group",
inline = true,
name = L["Description"]... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/AddOnSkins/Skins/AddOns/Ace3.lua | 1 | 9713 | local AS = unpack(AddOnSkins)
if AS:CheckAddOn('ElvUI') then return end
function AS:Ace3()
local AceGUI = LibStub('AceGUI-3.0', true)
if not AceGUI then return end
local oldRegisterAsWidget = AceGUI.RegisterAsWidget
local ColorBlind = GetCVarBool('colorblindmode')
AceGUI.RegisterAsWidget = function(self, widg... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-BlackrockFoundry/Thogar.lua | 1 | 33277 | local mod = DBM:NewMod(1147, "DBM-BlackrockFoundry", nil, 457)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220127093452")
mod:SetCreatureID(76906)--81315 Crack-Shot, 81197 Raider, 77487 Grom'kar Firemender, 80791 Grom'kar Man-at-Arms, 81318 Iron Gunnery Sergeant, 77560 Obliterator Cannon, 81612 Deforester
... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI_WindTools/Modules/Skins/Blizzard/Scenario.lua | 1 | 4698 | local W, F, E, L = unpack(select(2, ...))
local S = W.Modules.Skins
local _G = _G
local hooksecurefunc = hooksecurefunc
local pairs = pairs
local select = select
local unpack = unpack
local C_ChallengeMode_GetAffixInfo = C_ChallengeMode.GetAffixInfo
function S:SkinMawBuffsContainer(container)
container:StripTex... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-Classic/Stratholme/HearthsingerForresten.lua | 1 | 1103 | local mod = DBM:NewMod(443, "DBM-Party-Classic", 10, 236)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220116042005")
mod:SetCreatureID(10558)
mod:SetEncounterID(473)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 16798",
"SPELL_AURA_APPLIED 16798"
)
local warningEnchantingL... | gpl-3.0 |
slachiewicz/ntopng | scripts/lua/inc/menu.lua | 5 | 8006 | --
-- (C) 2013-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
if ( (dirs.scriptdir ~= nil) and (dirs.scriptdir ~= "")) then package.path = dirs.scriptdir .. "/lua/modules/?.lua;" .. package.path end
require "lua_utils"
prefs = ntop.getPrefs()
nam... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Nyalotha/localization.cn.lua | 1 | 2914 | --Mini Dragon
--2020/06/19
if GetLocale() ~= "zhCN" then return end
local L
---------------------------
-- Wrathion, the Black Emperor --
---------------------------
--L= DBM:GetModLocalization(2368)
---------------------------
-- Maut --
---------------------------
--L= DBM:GetModLocalization(2365)
-------------... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c494476182.lua | 2 | 1926 | function c494476182.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--must attack
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_MUST_ATTACK)
e2:SetRange(LOCATION_SZONE)
e2:SetTarg... | gpl-3.0 |
Markismus/koreader | frontend/device/cervantes/device.lua | 1 | 7692 | local Generic = require("device/generic/device")
local logger = require("logger")
local function yes() return true end
local function no() return false end
local function getProductId()
local ntxinfo_pcb = io.popen("/usr/bin/ntxinfo /dev/mmcblk0 | grep pcb | cut -d ':' -f2", "r")
if not ntxinfo_pcb then retur... | agpl-3.0 |
qyh214/wow_addons_private_use | AddOns/PremadeGroupsFilter/Modules/Util.lua | 2 | 4663 | -------------------------------------------------------------------------------
-- Premade Groups Filter
-------------------------------------------------------------------------------
-- Copyright (C) 2022 Elotheon-Arthas-EU
--
-- This program is free software; you can redistribute it and/or modify
-- it under the ter... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c121200019.lua | 2 | 3710 | --The Templar of Ynershia
-- By Shad3
local function getID()
local str=string.match(debug.getinfo(2,'S')['source'],"c%d+%.lua")
str=string.sub(str,1,string.len(str)-4)
local scard=_G[str]
local s_id=tonumber(string.sub(str,2))
return scard,s_id
end
local scard,s_id=getID()
local sc_id=0x73d
function scard.init... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c77777775.lua | 2 | 2101 | --Hellformed Demoness Viperia
function c77777775.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_FIEND),6,2,c77777775.ovfilter,aux.Stringid(77777775,0))
c:EnableReviveLimit()
--destroy
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(77777775,1))
e2:SetC... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c100000947.lua | 2 | 4425 | --Created and coded by Rising Phoenix
function c100000947.initial_effect(c)
--cannot special summon
local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_SINGLE)
e10:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e10:SetCode(EFFECT_SPSUMMON_CONDITION)
e10:SetValue(aux.FALSE)
c:RegisterEffect... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI_WindTools/Core/Changelog/Previous/2.38.lua | 1 | 4730 | local W = unpack(select(2, ...))
W.Changelog[238] = {
RELEASE_DATE = "2022/06/01",
IMPORTANT = {
["zhCN"] = {
"支持 9.2.5 游戏版本.",
"[物品等级] 重写了模块, 以支持所有的飞出物品按钮的等级显示."
},
["zhTW"] = {
"支援 9.2.5 遊戲版本.",
"[物品等級] 重寫了模組, 以支援所有的飛出物品按鈕的等級顯示."
... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI_OptionsUI/Libraries/Ace3/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua | 6 | 7870 | --[[-----------------------------------------------------------------------------
Checkbox Widget
-------------------------------------------------------------------------------]]
local Type, Version = "CheckBox", 26
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) ... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c25667890.lua | 2 | 1726 | --Fiendish Revenge
function c25667890.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--damage
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(25667890,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99199000.lua | 2 | 7127 | --The Future Gear Draconoid
function c99199000.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--splimit
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_PZONE)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANN... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.