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/tangible/ship/components/weapon/wpn_mandal_elite_annihilator.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/lair/npc_theater/rori_gundark_raider_camp_neutral_medium_theater.lua | 1 | 1038 | rori_gundark_raider_camp_neutral_medium_theater = Lair:new {
mobiles = {{"gundark_raider",1},{"gundark_desperado",1},{"gundark_ruffian",1}},
spawnLimit = 12,
buildingsVeryEasy = {"object/building/poi/naboo_swamp_rat_gang_camp_medium.iff","object/building/poi/naboo_mauler_medium.iff"},
buildingsEasy = {"object/build... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/quest/talus/igbi_hutt_operative.lua | 1 | 1137 | igbi_hutt_operative = Creature:new {
objectName = "",
socialGroup = "hutt",
faction = "hutt",
level = 17,
chanceHit = 0.32,
damageMin = 160,
damageMax = 170,
baseXp = 1102,
baseHAM = 3500,
baseHAMmax = 4300,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
meatType = "",
meatAmount = 0,
hideType = "",
hideAm... | agpl-3.0 |
sprunk/Zero-K | LuaUI/Widgets/dbg_chili_redraw_tracker.lua | 8 | 5584 | function widget:GetInfo()
return {
name = "Chili Redraw Tracker",
desc = "Tracks redraws in the chili framework.",
author = "GoogleFrog and KingRaptor",
date = "8 June 2019",
license = "GNU LGPL, v2.1 or later",
layer = 0,
enabled = false, -- loaded by default?
}
end
---------... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/poi/naboo_impext_large1.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/particle/pt_survey_mineral_sample.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/deed/event_perk/imperial_landing_party_lambda_theater_deed.lua | 1 | 2548 | --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/components/weapon_capacitor/cap_corellian_cruiser_grade_cap10.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 |
thexamx/forgottenserver | data/talkactions/scripts/create_item.lua | 6 | 1518 | local invalidIds = {
1, 2, 3, 4, 5, 6, 7, 10, 11, 13, 14, 15, 19, 21, 26, 27, 28, 35, 43
}
function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
if player:getAccountType() < ACCOUNT_TYPE_GOD then
return false
end
local split = param:splitTrimmed(",")
local itemTyp... | gpl-2.0 |
Aysegul/nn | DepthConcat.lua | 43 | 4471 | ------------------------------------------------------------------------
--[[ DepthConcat ]]--
-- Concatenates the output of Convolutions along the depth dimension
-- (nOutputFrame). This is used to implement the DepthConcat layer
-- of the Going deeper with convolutions paper :
-- http://arxiv.org/pdf/1409.4842v1.pdf
... | bsd-3-clause |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_lt_oron_wintree.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/tangible/theme_park/alderaan/serverobjects.lua | 3 | 2182 | --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/purbole_elder.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/newbieRequestStartingLocations.lua | 4 | 2183 | --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/mobile/quest/talus/kathikiis_thug.lua | 1 | 2037 | kathikiis_thug = Creature:new {
objectName = "",
socialGroup = "thug",
faction = "thug",
level = 7,
chanceHit = 0.26,
damageMin = 55,
damageMax = 65,
baseXp = 187,
baseHAM = 270,
baseHAMmax = 330,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
meatType = "",
meatAmount = 0,
hideType = "",
hideAmount = 0,
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_noble_fat_human_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/mission/quest_item/thrackan_salsolo_q3_needed.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 |
GuruParin/packages | net/smartsnmpd/files/mibs/system.lua | 158 | 6428 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- 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 2 of the License, or
-- (at your optio... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/lair/npc_theater/global_rebel_creature_handler_apprentice_huurton_camp_rebel_small_theater.lua | 1 | 1410 | global_rebel_creature_handler_apprentice_huurton_camp_rebel_small_theater = Lair:new {
mobiles = {
{"apprentice_creature_handler",1},
{"tamed_huurton",3}
},
spawnLimit = 9,
buildingsVeryEasy = {"object/building/poi/anywhere_rebel_camp_small_1.iff","object/building/poi/anywhere_rebel_camp_small_2.iff","object/bu... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/loot/items/wearables/wookiee/wke_skirt_s01.lua | 4 | 1182 | wke_skirt_s01 = {
-- Decorative Waist Wrap
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/wookiee/wke_skirt_s01.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/index_colo... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/mission/bh_assassin_twilek_mate.lua | 1 | 1526 | bh_assassin_twilek_mate = Creature:new {
objectName = "@mob/creature_names:assassin",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "thug",
faction = "thug",
level = 18,
chanceHit = 0.32,
damageMin = 170,
damageMax = 180,
baseXp = 1257,
baseHAM = 4100,
baseHAMmax = 5000,
armor = 0,
re... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/veteran_reward/data_terminal_s2.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/static/structure/dathomir/mtn_clan_strong_fence_s01.lua | 3 | 2292 | --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/food/crafted/dessert_air_cake.lua | 3 | 3229 | --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/station/generic_tool.lua | 2 | 3886 | --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_imperial_inquisitor_human_male_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/draft_schematic/space/weapon/shield_effectiveness_intensifier_mk1.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/commands/requestCharacterSheetInfo.lua | 4 | 2168 | --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 |
mortezamosavy999/index10 | plugins/Anti-bots.lua | 369 | 3064 |
local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, ch... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/huf_dun_hill/objects.lua | 3 | 3783 | --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/mobile/faction/imperial/imperial_senior_cadet.lua | 1 | 1709 | imperial_senior_cadet = Creature:new {
objectName = "@mob/creature_names:imperial_senior_cadet",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "imperial",
faction = "imperial",
level = 10,
chanceHit = 0.28,
damageMin = 90,
damageMax = 110,
baseXp = 356,
baseHAM = 810,
baseHAMmax = 990,
... | agpl-3.0 |
greeshmab/vlc | share/lua/playlist/dailymotion.lua | 42 | 3933 | --[[
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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/merek/serverobjects.lua | 3 | 2211 | --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 |
SbssTeam/Quick-v2 | plugins/yoda.lua | 642 | 1199 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(text)
local api = "https://yoda.p.mashape.com/yoda?"
text = ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/herald/herald_commoner.lua | 1 | 8698 | herald_commoner = Creature:new {
objectName = "@mob/creature_names:commoner",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "townsperson",
faction = "townsperson",
level = 4,
chanceHit = 0.24,
damageMin = 40,
damageMax = 45,
baseXp = 62,
baseHAM = 113,
baseHAMmax = 138,
armor = 0,
res... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/item/wp_mle_knife_stone.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/tangible/lair/base/poi_all_lair_brambles_large_fog_green.lua | 1 | 2355 | --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/wookiee_lifeday_male1.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/food/crafted/drink_charde.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/screenplays/tasks/tatooine/prefect_talmont.lua | 1 | 4300 | wilhalm_skrim_missions =
{
{
missionType = "confiscate",
primarySpawns =
{
{ npcTemplate = "dak_linser", npcName = "Dak Linser" }
},
secondarySpawns = {},
itemSpawns =
{
{ itemTemplate = "object/tangible/mission/quest_item/wilhalm_skrim_q1_needed.iff", itemName = "Skrim's Datadisc" }
... | agpl-3.0 |
minetest-australopithecus/minetest-australopithecus-terragenitor | mods/terragenitor/init.lua | 2 | 1978 | --[[
Copyright (c) 2014, Robert 'Bobby' Zenz
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | bsd-2-clause |
sprunk/Zero-K | LuaRules/Configs/StartBoxes/Real Europe V4.lua | 17 | 2255 | return {
[0] = {
startpoints = {
{2212,5775},
},
boxes = {
{
{1597,5161},
{2826,5161},
{2826,6390},
{1597,6390},
},
},
},
[1] = {
startpoints = {
{11059,9216},
},
boxes = {
{
{10445,8602},
{11674,8602},
{11674,9830},
{10445,9830},
},
},
},
[2] = {
... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/townsperson/businessman.lua | 1 | 2024 | businessman = Creature:new {
objectName = "@mob/creature_names:businessman",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "townsperson",
faction = "townsperson",
level = 4,
chanceHit = 0.24,
damageMin = 40,
damageMax = 45,
baseXp = 62,
baseHAM = 113,
baseHAMmax = 138,
armor = 0,
resi... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/chemistry/medpack_wound_quickness_e.lua | 1 | 3661 | --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/lups_projectile_fxs.lua | 7 | 3126 | local MergeTable = Spring.Utilities.MergeTable
local fx = {
flame_heat = {
class = 'JitterParticles2',
colormap = { {1,1,1,1},{1,1,1,1} },
count = 6,
life = 24,
delaySpread = 25,
force = {-10,0,0},
--forceExp = 0.2,
emitRotSprea... | gpl-2.0 |
SpaceVim/SpaceVim | bundle/nvim-cmp/lua/cmp/config/mapping.lua | 1 | 1955 | local mapping
mapping = setmetatable({}, {
__call = function(_, invoke, modes)
if type(invoke) == 'function' then
local map = {}
for _, mode in ipairs(modes or { 'i' }) do
map[mode] = invoke
end
return map
end
return invoke
end,
})
---Invoke completion
---@param option c... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/bio_engineer/dna_template/dna_template_dalyrake.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/loot/groups/skill_buffs.lua | 4 | 1663 | skill_buffs = {
description = "",
minimumLevel = 0,
maximumLevel = 0,
lootItems = {
{itemTemplate = "skill_buff_carbine_accuracy", weight = 434783},
{itemTemplate = "skill_buff_carbine_speed", weight = 434783},
{itemTemplate = "skill_buff_heavy_weapon_accuracy", weight = 434783},
{itemTemplate = "skill_buff... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/general/cave_03.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/hermit_spider/serverobjects.lua | 3 | 2265 | --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/File.lua | 2 | 10519 | -------------------------------------------------------------------------------------------
-- 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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/bio_engineer/bio_component/bio_component_food_light_nutrition.lua | 1 | 3525 | --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/space/repair/objects.lua | 3 | 18616 | --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 |
TerraME/terrame | packages/gis/data/amazonia-postgis.lua | 2 | 3460 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/naboo/elevated_walkway_cap_s01.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/loot/misc/medallion_dark_jedi_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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/poi/tatooine_hutt_assassin_camp_small1.lua | 2 | 2298 | --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 |
gilzoide/pega-texto | benchmark/lpeg.lua | 1 | 1247 | local lpeg = require "lpeglabel"
local re = require "relabel"
local grammar = re.compile([=[
Grammar <- S Definition+ !.
Definition <- Identifier Arrow Exp
Exp <- Seq ("/" S Seq)*
Seq <- Prefix+
Prefix <- ([&!] S)? Suffixed
Suffixed <- Primary S Suffix?
Suffix <- [+*?] S
/ "^" Number
Primary <- "(" S Exp ")"... | unlicense |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/corellia/corl_imprv_bridge_lg_s02.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/mobile/lair/npc_theater/global_brigand_highwayman_camp_neutral_large_theater.lua | 3 | 1440 | global_brigand_highwayman_camp_neutral_large_theater = Lair:new {
mobiles = {{"highwayman",1}},
spawnLimit = 15,
buildingsVeryEasy = {"object/building/poi/tatooine_swoop_large1.iff","object/building/poi/tatooine_swoop_large2.iff","object/building/poi/tatooine_swoop_large3.iff","object/building/poi/tatooine_swoop_lar... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/weapon/wpn_star_destroyer_turret_square.lua | 3 | 2344 | --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/base/lair_base_mound_insect_light.lua | 1 | 2319 | --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/all/frn_all_lamp_candlestick_tbl_s03.lua | 3 | 2308 | --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_robe_formal_02.lua | 1 | 3676 | --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/luadoc/lua/doclet/highlighting.lua | 3 | 2061 | -- module highlighting
-- local M = {}
local string, table = string, table
local patterns = {
{"^(%s+)"}, -- spaces
{"^(([\"\']).-%2)","string"}, -- string
{"^([%a_][%w_]*)", "id"}, -- id
{"^(%-%-[^\n]+)", "comment"}, -- comment
{"^(%d*[%.%-%+]?%d+[eE]?)", "number"}, -- number
{"^(.)... | lgpl-3.0 |
linghegu/gsnetwork | thirdparty/lua/luasocket/etc/get.lua | 43 | 4347 | -----------------------------------------------------------------------------
-- Little program to download files from URLs
-- LuaSocket sample files
-- Author: Diego Nehab
-----------------------------------------------------------------------------
local socket = require("socket")
local http = require("socket.http")
... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/furniture/city/streetlamp_large_red_02.lua | 3 | 2329 | --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/allum_mine_pipes_s01.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/mobile/spawn/yavin4_world.lua | 2 | 17121 | yavin4_world = {
lairSpawns = {
{
lairTemplateName = "yavin4_tanc_herd_neutral_none",
spawnLimit = -1,
minDifficulty = 2,
maxDifficulty = 11,
numberToSpawn = 0,
weighting = 15,
size = 20
},
{
lairTemplateName = "yavin4_skreeg_pack_neutral_none",
spawnLimit = -1,
minDifficulty = 4,
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_narmle_guard_rodian_female_01.lua | 3 | 2264 | --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 |
allanice001/OpenWRT-Builder | feeds/xwrt/webif-iw-lua/files/usr/lib/lua/lua-xwrt/addon/uci.lua | 26 | 3569 | require("uci")
local www_print = print
if __WWW then
www_print = function (x)
return print(x,"<br>")
end
end
-- Customized uci functions --
uci_save = uci.save
uci_commit = uci.commit
--uci_set = uci.set
uci.save = function (x)
local ret
if x == nil then
ret = uci_save()
else
ret = uci_save(... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/skreeg/objects.lua | 3 | 7193 | --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/tangible/deed/event_perk/marble_gazebo_static_deed.lua | 2 | 2462 | --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/yavin/light_enclave.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/attachment/weapon/hutt_heavy_weapon3_s01.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/painting/painting_bestine_house.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 |
ouyangruoxue/pokerServer | server/lua/api/anchor/save_room.lua | 1 | 2175 | --[[
新增/保存房间信息
@param id_pk 有id的是更新,没有id的是新增
@param password 房间密码
@param limit_players 最多游戏人数
@param limit_money 下注最高金额
@param game_type 游戏类型
@param anchor_id 主播id
@param room_name 房间名称
@param room_status 房间状态
]]
local cjson = require "cjson"
local userDb = require "db.base_db"
local reqArgs = requ... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/powerup/weapon/ranged_grip.lua | 3 | 3357 | --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 |
fire/Urho3D-1 | Source/ThirdParty/LuaJIT/src/host/genlibbc.lua | 33 | 4965 | ----------------------------------------------------------------------------
-- Lua script to dump the bytecode of the library functions written in Lua.
-- The resulting 'buildvm_libbc.h' is used for the build process of LuaJIT.
----------------------------------------------------------------------------
-- Copyright (... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/vehicle/component/reactor_unit.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/draft_schematic/spices/spice_scramjet.lua | 1 | 3107 | --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 | test/packages/onerror/tests/alternative/Cell.lua | 3 | 2054 | -------------------------------------------------------------------------------------------
-- 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 |
thexamx/forgottenserver | data/chatchannels/scripts/advertising.lua | 6 | 1799 | function canJoin(player)
return player:getVocation():getId() ~= VOCATION_NONE or player:getAccountType() >= ACCOUNT_TYPE_SENIORTUTOR
end
local CHANNEL_ADVERTISING = 5
local muted = Condition(CONDITION_CHANNELMUTEDTICKS, CONDITIONID_DEFAULT)
muted:setParameter(CONDITION_PARAM_SUBID, CHANNEL_ADVERTISING)
muted:setPara... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/tatooine/guild_banner_free_style_01.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/tangible/wearables/jacket/jacket_s03.lua | 3 | 5184 | --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 |
allanice001/OpenWRT-Builder | feeds/xwrt/webif-iw-lua/files/usr/lib/lua/lua-xwrt/xwrt/translator.lua | 26 | 1471 | --------------------------------------------------------------------------------
-- translator.lua
--
-- Description:
-- to translate text ...
-- before this script must be load some files functions and set some VARS
--
-- Author(s) [in order of work date]:
-- Fabián Omar Franzotti .
--
-- Configuration... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/mission/quest_item/liane_q3_needed.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 |
SpaceVim/SpaceVim | lua/spacevim/api/iconv/codecs/cp950.lua | 4 | 727322 | --!/usr/bin/lua
local M = {}
local tablebase = require('spacevim.api.iconv.codecs.tablebase')
M.Codec = {}
-- call extend(s:lib.Codec, s:tablebase.Codec)
M.Codec.encoding = "CP936"
M.Codec.decoding_table_maxlen = 2
M.Codec.encoding_table_maxlen = 1
M.Codec.decoding_table = {
["0"] = {0},
["1"] = {1},
["2... | gpl-3.0 |
SpiderNight/TwilightsEveORPG | game/scripts/vscripts/abilities/druid/shapeshifter/modifier_teve_druid_shapeshifter_werewolf.lua | 2 | 2369 | modifier_teve_druid_shapeshifter_werewolf = class({})
function modifier_teve_druid_shapeshifter_werewolf:OnCreated(kv)
if IsServer() then
self:GetCaster():SetAttackCapability(DOTA_UNIT_CAP_MELEE_ATTACK)
end
end
function modifier_teve_druid_shapeshifter_werewolf:OnDestroy(kv)
if IsServer() then
... | mit |
billzorn/torch-rnn | test/TemporalCrossEntropyCriterion_test.lua | 18 | 2660 | require 'torch'
require 'nn'
require 'cutorch'
require 'cunn'
require 'TemporalCrossEntropyCriterion'
local tester = torch.Tester()
local tests = torch.TestSuite()
-- Run a nn.CrossEntropyCriterion explicitly over all minibatch elements
-- and timesteps, and make sure that we get the same results for both
-- loss ... | mit |
ZeroK-RTS/Zero-K | LuaUI/Widgets/chili/Controls/window.lua | 6 | 2083 | --- Window module
--- Window fields.
-- Inherits from Control.
-- @see control.Control
-- @table Window
Window = Control:Inherit{
classname = 'window',
resizable = true,
draggable = true,
bringToFrontOnClick = true,
noFont = true,
minWidth = 50,
minHeight = 50,
defaultWidth = 400,
defaultHeight = 300,
}
l... | gpl-2.0 |
ZeroK-RTS/Zero-K | LuaRules/Gadgets/unit_commander_upgrade.lua | 5 | 24910 | function gadget:GetInfo()
return {
name = "Commander Upgrade",
desc = "",
author = "Google Frog",
date = "30 December 2015",
license = "GNU GPL, v2 or later",
layer = 1,
enabled = true -- loaded by default?
}
end
----------------------------------------------... | gpl-2.0 |
ZeroK-RTS/Zero-K | units/planefighter.lua | 2 | 6167 | return { planefighter = {
unitname = [[planefighter]],
name = [[Swift]],
description = [[Multi-role Fighter]],
brakerate = 0.4,
buildCostMetal = 150,
buildPic = [[planefighter.png]],
canFly = true,
canGuard ... | gpl-2.0 |
pakozm/lua-mapreduce | mapreduce/task.lua | 1 | 11317 | --[[
This file is part of Lua-MapReduce
Copyright 2014, Francisco Zamora-Martinez
The Lua-MapReduce toolkit is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 3 as
published by the Free Software Foundation
This library is distributed... | gpl-3.0 |
ZeroK-RTS/Zero-K | effects/galiblow.lua | 7 | 3314 | return {
["gali_fade"] = {
usedefaultexplosions = false,
galifading = {
air = true,
class = [[CExploSpikeProjectile]],
count = 4,
ground = true,
water = true,
properties = {
length = 55,
width = 86,
alpha = 0.45,
alp... | gpl-2.0 |
ZeroK-RTS/Zero-K | LuaRules/Gadgets/unit_icongenerator.lua | 6 | 34550 | -- $Id: unit_icongenerator.lua 3909 2009-02-05 22:49:55Z jk $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: unit_icongenerator.lua
-- brief:
-- author: jK
--
-- Copyright (C) 2007.
-- ... | gpl-2.0 |
ZeroK-RTS/Zero-K | LuaUI/Widgets/gfx_outline_no_shader.lua | 2 | 15383 | -- $Id: gfx_outline.lua 3171 2008-11-06 09:06:29Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: gfx_outline.lua
-- brief: Displays a nice cartoon like outline around units
-- aut... | gpl-2.0 |
ZeroK-RTS/Zero-K | scripts/pw_dropfac.lua | 2 | 1216 | include "constants.lua"
local spGetUnitTeam = Spring.GetUnitTeam
--pieces
local base = piece("base")
local nano1, nano2 = piece("nano1", "nano2")
local build = piece("build")
--local vars
local nanoPieces = {nano1, nano2}
local smokePiece = {base}
--opening animation
local function Open()
SetUnitValue(COB.BUGGER_O... | gpl-2.0 |
ZeroK-RTS/Zero-K | scripts/factoryhover.lua | 2 | 1788 | include "constants.lua"
local beams = {}
for i = 1, 6 do
beams[i] = piece ('beam' .. i)
end
local base, gate_l, gate_r, nano = piece ('base', 'gate_l', 'gate_r', 'nano')
-- there's also the "doormat" piece, not used for anything though
local nanoPieces = beams
local smokePiece = { base }
local function Open ()
Sig... | gpl-2.0 |
ZeroK-RTS/Zero-K | units/turretaafar.lua | 2 | 4296 | return { turretaafar = {
unitname = [[turretaafar]],
name = [[Chainsaw]],
description = [[Long-Range Anti-Air Missile Battery]],
buildCostMetal = 900,
builder = false,
buildingGroundDecalDecaySpeed = 30,
b... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.