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 |
|---|---|---|---|---|---|
m3rlin87/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/IDs.lua | 3 | 1135 | -----------------------------------
-- Area: The_Eldieme_Necropolis_[S]
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.THE_ELDIEME_NECROPOLIS_S] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot ... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Bastok_Markets/npcs/Shamarhaan.lua | 1 | 1196 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Shamarhaan
-- Type: Quest Starter
-- Involved in quest: No Strings Attached
-- !pos -285.382 -13.021 -84.743 235
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
------------------------------... | gpl-3.0 |
mindcandy/thrift | lib/lua/Thrift.lua | 74 | 6739 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
williamwilling/braneplug | src/braneplug.lua | 1 | 5166 | require 'copas'
local http = require 'socket.http'
local lfs = require 'lfs'
local function ensureDir(path)
local part, index = path:match("([/\\]?[^/\\]+[/\\])()")
local subPath = ""
while part do
subPath = subPath .. part
lfs.mkdir(subPath)
part, index = path:match("([^/\\]+[/\\])()", index)
e... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/report.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/building/naboo/guild_theater_naboo_s01.lua | 3 | 2418 | --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 | libs/nixio/lua/nixio/fs.lua | 184 | 3723 | --[[
nixio - Linux I/O library for lua
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
local... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/space/weapon/missile/countermeasure_decoy_launcher.lua | 1 | 3250 | --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 | LuaUI/Widgets/gui_group_recall_fix.lua | 1 | 4158 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Default Group Recall Fix",
desc = "Fix to the group recall problem.",
author = "msafwan, Googl... | gpl-2.0 |
VRToxin-AOSP/android_external_skia | resources/slides_utils.lua | 78 | 2513 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | bsd-3-clause |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/poi/naboo_weapon_testing_facility.lua | 1 | 33346 | local ObjectManager = require("managers.object.object_manager")
WeaponFacilityScreenPlay = ScreenPlay:new {
numberOfActs = 1,
buildingID = 6335638
}
registerScreenPlay("WeaponFacilityScreenPlay", true)
function WeaponFacilityScreenPlay:start()
if isZoneEnabled("naboo") then
local pBuilding = getSceneObject(sel... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_nym_bodyguard_hum_f.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/draft_schematic/vehicle/component/structural_frame_advanced.lua | 3 | 2324 | --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/warren/oevitt_piboi_conv.lua | 4 | 2090 | OevittPiboiConversationTemplate = ConvoTemplate:new {
initialScreen = "escapee_start",
templateType = "Lua",
luaClassHandler = "OevittPiboiConversationHandler",
screens = {}
}
escapee_start = ConvoScreen:new {
id = "escapee_start",
leftDialog = "@theme_park/warren/warren:escapee_start", --I can't believe I escap... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/harvesterGetResourceData.lua | 4 | 2165 | --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 |
thexamx/forgottenserver | data/events/scripts/player.lua | 3 | 9459 | function Player:onBrowseField(position)
if EventCallback.onBrowseField then
return EventCallback.onBrowseField(self, position)
end
return true
end
function Player:onLook(thing, position, distance)
local description = ""
if EventCallback.onLook then
description = EventCallback.onLook(self, thing, position, dis... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/food/crafted/dessert_wedding_cake.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/static/item/item_carbine_elite.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 |
sprunk/Zero-K | units/chickend.lua | 1 | 3900 | unitDef = {
unitname = [[chickend]],
name = [[Chicken Tube]],
description = [[Defense and energy source]],
acceleration = 0,
activateWhenBuilt = true,
brakeRate = 0,
buildCostEnergy ... | gpl-2.0 |
beauli/kong | spec/03-plugins/98-ex-rate-limiting/04-access_spec.lua | 1 | 16557 | local helpers = require "spec.helpers"
local timestamp = require "kong.tools.timestamp"
local REDIS_HOST = "127.0.0.1"
local REDIS_PORT = 6379
local REDIS_PASSWORD = ""
local SLEEP_TIME = 1
local function wait(second_offset)
-- If the minute elapses in the middle of the test, then the test will
-- fail. So we gi... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/skeleton/pig.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/mobile/dungeon/death_watch_bunker/death_watch_bloodguard.lua | 1 | 1154 | death_watch_bloodguard = Creature:new {
objectName = "@mob/creature_names:mand_bunker_dthwatch_red",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "death_watch",
faction = "",
level = 121,
chanceHit = 4,
damageMin = 745,
damageMax = 1200,
baseXp = 11390,
baseHAM = 50000,
baseHAMmax = 50... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/space_imperial_tier2_corellia.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 |
mretegan/crispy | crispy/quanty/templates/meta/rixs/pfd/restrictions_lf.lua | 1 | 3107 | --------------------------------------------------------------------------------
-- Define the restrictions and set the number of initial states.
--------------------------------------------------------------------------------
InitialRestrictions = {NFermions, NBosons, {"111111 0000000000 00000000000000", NElectrons_#i... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/pet_deed/veermok_deed.lua | 2 | 2741 | --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 | LuaUI/Widgets/api_lag_monitor.lua | 2 | 1547 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Lag (AFK) monitor",
desc = "Monitors user presses and mouse moves",
author = "Licho",
... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/furniture/furniture_table_coffee_elegant.lua | 1 | 3216 | --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 |
mempko/firestr | example_apps/draw/code.lua | 1 | 1544 | function init_color(col, pt)
local c = {}
c.name=col
c.button = app:button("")
c.button:set_image(app:image(data:get_bin(col..".png")))
c.pen = app:pen(col, 2)
pens[pt] = c.pen
c.button:when_clicked("set_color('"..pt.."' )")
return c
end
d = app:draw(300,300)
pens={}
black = init_color("black", "bl")
red = ini... | gpl-3.0 |
TerraME/terrame | packages/base/tests/functional/basics/Random.lua | 3 | 15859 | -------------------------------------------------------------------------------------------
-- 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/installation/manufacture/food_factory.lua | 2 | 2607 | --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_stormtrooper_sand_trooper_m.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/draft_schematic/space/weapon/wpn_medium_ioncannon.lua | 1 | 3474 | --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/weapon/pistol_blaster_scout_trooper.lua | 1 | 3597 | --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/engine/eng_koensayr_elite.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 |
NeuroRoboticTech/AnimatLabPublicSource | Libraries/AnimatSimPy/Projects_CodeBlocks/AnimatSimPy.lua | 1 | 1258 | -- A solution contains projects, and defines the available configurations
solution "AnimatSimPy"
configurations { "Debug", "Release" }
project "AnimatSimPy"
language "C++"
kind "SharedLib"
files { "../*.h",
"../*.cpp",
"../*.cxx"}
buildoptions { "-std=c++0x" }
includedirs { "../../../include",... | bsd-3-clause |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/furniture/decorative/diagnostic_screen.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/ship/crafted/weapon/missile/wpn_launcher_spacebomb_mk1.lua | 3 | 2993 | --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_commoner_naboo_human_female_04.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/static/structure/naboo/nboo_imprv_pristine_wall_large_s01.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 |
sprunk/Zero-K | gamedata/planetwars/pw_unitdefgen.lua | 13 | 4126 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: pw_unitdefgen.lua
-- brief: procedural generation of unitdefs for planetwars
-- author: GoogleFrog
--
-----------------------------------... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/loot/items/wearables/ithorian/ith_shirt_s11.lua | 4 | 1278 | ith_shirt_s11 = {
-- Ithorian Supported Shirt
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/ithorian/ith_shirt_s11.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/index_... | agpl-3.0 |
motoschifo/mame | 3rdparty/genie/tests/test_project.lua | 59 | 1393 | --
-- tests/test_project.lua
-- Automated test suite for the project support functions.
-- Copyright (c) 2008-2010 Jason Perkins and the Premake project
--
local _project = premake.project
T.project = { }
local cfg, result
function T.project.setup()
_ACTION = "gmake"
cfg = {}
cfg.project = {}
cfg.langua... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/hair/mon_calamari/base/hair_mon_calamari_male_base.lua | 3 | 2324 | --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 |
moltafet35/salto | plugins/Sudo.lua | 6 | 1591 |
function run_sh(msg)
name = get_name(msg)
text = ''
if is_sudo(msg) then
bash = msg.text:sub(4,-1)
text = run_bash(bash)
else
text = name .. ', You Have Not Power'
end
return text
end
function run_bash(str)
local cmd = io.popen(str)
local result = cmd:read('*... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/ranged/grenade/grenade_glop.lua | 1 | 6016 | --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_huf_dun.lua | 1 | 3381 | --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_ranger_trainer_01.lua | 1 | 2261 | --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 |
shahhena95/resnet | datasets/cifar100.lua | 1 | 1349 | --
-- Copyright (c) 2016, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
--
-- CIFAR-10 dat... | bsd-3-clause |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/creature/droids_imperial_it0.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/event_perk/atst_static_deed.lua | 1 | 2394 | --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/thug/brigand_assassin.lua | 1 | 1354 | brigand_assassin = Creature:new {
objectName = "@mob/creature_names:assassin",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "brigand",
faction = "",
level = 17,
chanceHit = 0.32,
damageMin = 180,
damageMax = 190,
baseXp = 1257,
baseHAM = 3500,
baseHAMmax = 4300,
armor = 0,
resists = ... | agpl-3.0 |
linghegu/gsnetwork | thirdparty/lua/luasocket/test/testclnt.lua | 20 | 22707 | local socket = require"socket"
host = host or "localhost"
port = port or "8383"
function printf(...)
io.stderr:write(string.format(...))
end
function pass(...)
printf(...)
io.stderr:write("\n")
end
function fail(...)
io.stderr:write("ERROR: ")
printf(...)
io.stderr:write("!\n")
os.exit(... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/creature/dathomir_kwi.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/mobile/dressed_geonosian_noble_02.lua | 3 | 2220 | --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/bone_armor_bracer_r.lua | 4 | 1137 | bone_armor_bracer_r = {
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "a Bone Armor Right Bracer",
directObjectTemplate = "object/tangible/wearables/armor/bone/armor_bone_s01_bracer_r.iff",
craftingValues = {
{"armor_rating",1,1,0},
{"energyeffectiveness",10,35,10},
{"armor_effectiveness",4,19,10},... | agpl-3.0 |
bedll19/amir-arman | plugins/plugins.lua | 257 | 4732 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/melee/sword/crafted_saber/sword_lightsaber_one_handed_s12_gen2.lua | 1 | 6226 | --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/resty/http.lua | 17 | 23846 | local http_headers = require "resty.http_headers"
local ngx_socket_tcp = ngx.socket.tcp
local ngx_req = ngx.req
local ngx_req_socket = ngx_req.socket
local ngx_req_get_headers = ngx_req.get_headers
local ngx_req_get_method = ngx_req.get_method
local str_gmatch = string.gmatch
local str_lower = string.lower
local str_u... | mit |
jeid64/dcos | packages/adminrouter/extra/src/resty/http.lua | 17 | 23846 | local http_headers = require "resty.http_headers"
local ngx_socket_tcp = ngx.socket.tcp
local ngx_req = ngx.req
local ngx_req_socket = ngx_req.socket
local ngx_req_get_headers = ngx_req.get_headers
local ngx_req_get_method = ngx_req.get_method
local str_gmatch = string.gmatch
local str_lower = string.lower
local str_u... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/quest/talus/kathikiis_bh.lua | 1 | 1558 | kathikiis_bh = Creature:new {
objectName = "",
socialGroup = "lok_mercenaries",
faction = "lok_mercenaries",
level = 44,
chanceHit = 0.47,
damageMin = 370,
damageMax = 450,
baseXp = 4370,
baseHAM = 9700,
baseHAMmax = 11900,
armor = 1,
resists = {0,0,0,0,0,-1,0,0,-1},
meatType = "",
meatAmount = 0,
hideTy... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/weapon/melee_core_enhancement.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/commands/setMatchMakingCharacterId.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/quest/coa/coa3_caravan_thug.lua | 1 | 2054 | coa3_caravan_thug = Creature:new {
objectName = "",
customName = "Caravan Thug",
socialGroup = "caravan",
faction = "jabba",
level = 15,
chanceHit = 0.31,
damageMin = 160,
damageMax = 170,
baseXp = 831,
baseHAM = 2400,
baseHAMmax = 3000,
armor = 0,
resists = {0,0,0,0,0,0,0,0,-1},
meatType = "",
meatAmoun... | agpl-3.0 |
sousoux/luvit | examples/test-http-keepalive.lua | 16 | 2387 | --[[
Copyright 2012 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/necklace/necklace_pawl_chain.lua | 3 | 4235 | --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_weapon2_s05.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/mobile/dressed_mand_miner_aqualish.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/ship/components/booster/bst_reward_kuat_elite.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/screenplays/tasks/talus/haleen_snowline_hagrin_zeed.lua | 1 | 3776 | haleen_snowline_missions =
{
{
missionType = "deliver",
primarySpawns =
{
{ npcTemplate = "haleen_reactionist", npcName = "" }
},
secondarySpawns =
{
{ npcTemplate = "haleen_thug", npcName = "a Thug" },
},
itemSpawns =
{
{ itemTemplate = "object/tangible/mission/quest_item/hale... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/player/city/garden_tatooine_med_03.lua | 3 | 2770 | --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 |
llnoverll/NOVER | nover/nover.lua | 1 | 7576 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./nover/utils")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function i... | gpl-2.0 |
aircross/OpenWrt-Firefly-LuCI | modules/base/luasrc/cbi/datatypes.lua | 62 | 6006 | --[[
LuCI - Configuration Bind Interface - Datatype Tests
(c) 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_musician_trainer_01.lua | 1 | 2270 | --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/stormtrooper/armor_stormtrooper_bicep_l.lua | 1 | 5873 | --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/sniperShot.lua | 1 | 2431 | --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_mercenary_warlord_wee_m.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/mobile/dressed_commoner_tatooine_aqualish_male_09.lua | 3 | 2284 | --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/shirt/shirt_s42.lua | 3 | 5176 | --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/armor/arm_kse_limited_heavy_durasteel.lua | 3 | 2336 | --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/mawgax.lua | 3 | 2140 | --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 |
devevo/EVO_TEAM | libs/feedparser.lua | 543 | 11955 | local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...")
local XMLElement = (loadfile "./libs/XMLElement.lua")()
local dateparser = (loadfile "./libs/dateparser.lua")()
local URL = (loadfile "./libs/url.lua")()
local tinsert, tremove, tconcat = table.insert... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/instrument/base/instrument_base.lua | 3 | 3224 | --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/armor_effectiveness_intensifier_mk2.lua | 3 | 2836 | --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/email/sendMail.lua | 1 | 2176 | --[[
-- 作者:zuoxiaolin
-- 日期:2017-03-12
-- 文件名:email/sendMail.lua
-- 版权说明:南京正溯网络科技有限公司.版权所有©copy right.
-- lua邮件发送的实现
-- date: 2017.03.12
--]]
-- smtp方法发送mail
local smtp = require("smtp")
local cjson = require "cjson"
local _M = {}
_M._VERSION = '0.01'
local mt = { __index = _M } ... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/general/bunker_imperial_bunker_abandoned.lua | 3 | 2284 | --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/corellia/filler_historic_24x16_s01.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 |
sprunk/Zero-K | units/staticarty.lua | 1 | 3935 | unitDef = {
unitname = [[staticarty]],
name = [[Cerberus]],
description = [[Plasma Artillery Battery - Requires connection to a 50 energy grid]],
acceleration = 0,
activateWhenBuilt = true,
brakeRate ... | gpl-2.0 |
djarek/forgottenserver | data/talkactions/scripts/add_skill.lua | 3 | 1703 | local function getSkillId(skillName)
if skillName == "club" then
return SKILL_CLUB
elseif skillName == "sword" then
return SKILL_SWORD
elseif skillName == "axe" then
return SKILL_AXE
elseif skillName:sub(1, 4) == "dist" then
return SKILL_DISTANCE
elseif skillName:sub(1, 6) == "shield" then
return SKILL_S... | gpl-2.0 |
TerraME/terrame | packages/base/tests/observer/basics/Society.lua | 3 | 3951 | -------------------------------------------------------------------------------------------
-- 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/mobile/tatooine/tusken_gore_chief.lua | 1 | 1408 | tusken_gore_chief = Creature:new {
objectName = "@mob/creature_names:tusken_gore_chief",
socialGroup = "tusken_raider",
faction = "tusken_raider",
level = 51,
chanceHit = 0.51,
damageMin = 400,
damageMax = 510,
baseXp = 5007,
baseHAM = 10000,
baseHAMmax = 13000,
armor = 0,
resists = {30,30,0,30,-1,30,0,0,-1... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/makeLeader.lua | 4 | 2123 | --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 |
mretegan/crispy | crispy/quanty/templates/3d_C3v_RIXS_2p3d.lua | 1 | 24911 | --------------------------------------------------------------------------------
-- 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: 3d
-- symmetry: C3v
-- experiment: RIXS
-- edge: L2,3-M4,5 (2p3d)
---------... | mit |
thexamx/forgottenserver | data/actions/scripts/other/food.lua | 6 | 5336 | local foods = {
[2362] = {5, "Crunch."}, -- carrot
[2666] = {15, "Munch."}, -- meat
[2667] = {12, "Munch."}, -- fish
[2668] = {10, "Mmmm."}, -- salmon
[2669] = {17, "Munch."}, -- northern pike
[2670] = {4, "Gulp."}, -- shrimp
[2671] = {30, "Chomp."}, -- ham
[2672] = {60, "Chomp."}, -- dragon ham
[2673] = {5, "... | gpl-2.0 |
sprunk/Zero-K | scripts/pw_mine.lua | 8 | 1646 | include "constants.lua"
local base = piece "base"
local turret = piece "turret"
local smokePiece = {turret}
local function TurnTurret()
while (true) do
Move(turret, z_axis, -10, 4)
WaitForMove(turret, z_axis)
Sleep(200)
Move(turret, z_axis, 0, 4)
WaitForMove(turret, z_axis)
Turn(turret, y_axis, 1.570796... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_assassin_mission_giver_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/draft_schematic/vehicle/component/veh_shield_generator_mk3.lua | 3 | 2320 | --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/ywing_weapon2_s04.lua | 3 | 2284 | --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/furniture/furniture_lamp_tatt_s01_on.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/mobile/dantooine/kunga_soothsayer.lua | 1 | 1311 | kunga_soothsayer = Creature:new {
objectName = "@mob/creature_names:kunga_soothsayer",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "kunga_tribe",
faction = "kunga_tribe",
level = 27,
chanceHit = 0.36,
damageMin = 270,
damageMax = 280,
baseXp = 2730,
baseHAM = 5900,
baseHAMmax = 7200,
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/engine/engine_damorian_rx7.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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.