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
sprunk/Zero-K
units/droneheavyslow.lua
1
3412
unitDef = { unitname = [[droneheavyslow]], name = [[Viper]], description = [[Advanced Battle Drone]], acceleration = 0.3, airHoverFactor = 4, brakeRate = 0.24, buildCostMetal = 35, builder = false, buildPic = [[dronehe...
gpl-2.0
bedll19/amir-arman
bot/bot.lua
7
6651
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("./bot/utils") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/kwi.lua
3
2128
--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_91.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/building/poi/tatooine_evil_hermit_large2.lua
2
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/static/item/item_fruit_melon.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
digitall/scummvm
devtools/create_ultima/files/ultima6/scripts/u6/usecode.lua
18
2112
local USE_EVENT_USE = 0x01 function use_telescope(obj, actor) if obj.on_map == true then mapwindow_center_at_location(obj.x, obj.y, obj.z) else -- FIXME - should probably work in the inventory (can't be done without cheating though) print("Not usable\n") return end local dir = really_get_direction("Direction...
gpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/ship/blacksun_heavy_s02_tier4.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/draft_schematic/scout/item_camokit_naboo.lua
1
3210
--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/Package.lua
2
2746
------------------------------------------------------------------------------------------- -- 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/faction_perk/turret/serverobjects.lua
3
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/draft_schematic/item/item_recycler_flora.lua
1
3610
--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_harvester.lua
1
1307
kunga_harvester = Creature:new { objectName = "@mob/creature_names:kunga_harvester", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "kunga_tribe", faction = "kunga_tribe", level = 28, chanceHit = 0.37, damageMin = 260, damageMax = 270, baseXp = 2822, baseHAM = 8100, baseHAMmax = 9900, a...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/components/armor/arm_rss_light_plastisteel.lua
3
2312
--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/space_comm_station_dantooine.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
llnoverll/NOVER
plugins/lockbot.lua
6
2561
local function isAntiBotEnabled (chatId) local hash = 'bot:lock:'..chatId local lock = redis:get(hash) return lock end local function enableAntiBot (chatId) local hash = 'bot:lock:'..chatId redis:set(hash, true) end local function disableAntiBot (chatId) local hash = 'bot:lock:'..chatId redis:del(hash...
gpl-2.0
MmxBoy/metal-anti
plugins/invite.lua
11
1182
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/soundobject/objects.lua
3
97494
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
agpl-3.0
sprunk/Zero-K
LuaUI/Widgets/init_autofirstbuildfacing.lua
2
2497
-- $Id$ function widget:GetInfo() return { name = "Auto First Build Facing", desc = "Set buildfacing toward map center on the first building placed", author = "zwzsg with lotsa help from #lua channel", date = "October 26, 2008", --29 May 2014 license = "Free", layer = ...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/loot/misc/artifact_rare_s01.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/intangible/pet/eg6_power_droid_crafted.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
renoth/factorio-alien-module
alien-module/prototypes/technology/technology.lua
1
2590
table.insert(data.raw["technology"]["military"].effects, { type = "unlock-recipe", recipe = "alien-plate" }) table.insert(data.raw["technology"]["military"].effects, { type = "unlock-recipe", recipe = "alien-magazine" }) table.insert(data.raw["technology"]["military"].effects, { type = "unloc...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/static/space/debris/death_star_debris_d.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
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/crafted/engine/hyperdrive_class1.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/component/armor/armor_segment_zam_advanced.lua
2
3366
--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
bedll19/amir-arman
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/wearables/bracelet/bracelet_s04_r.lua
3
4215
--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_advanced_ioncannon.lua
1
3483
--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/nota_otaplas.lua
50
48727
-- miniotaplas_fireball11 -- otaplas_fireball3 -- otaplas_fireball16 -- otaplas_fireball14 -- ota_plas -- miniotaplas_fireball17 -- otaplas_fireball18 -- otaplas_fireball1 -- otaplas_fireball11 -- miniotaplas_fireball13 -- otaplas_fireball10 -- miniotaplas_fireball16 -- otaplas_fireball13 -- miniotaplas_fireball2 -- ot...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/attachment/weapon/xwing_weapon2_pos_s01_1.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/loot/items/armor/kashyyykian_hunting_armor_leggings.lua
4
1939
kashyyykian_hunting_armor_leggings = { minimumLevel = 0, maximumLevel = -1, customObjectName = "", directObjectTemplate = "object/tangible/wearables/armor/kashyyykian_hunting/armor_kashyyykian_hunting_leggings.iff", craftingValues = { {"armor_rating",1,1,0}, {"armor_effectiveness",8,39,10}, {"armor_integrity...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/sign/all_sign_city_s03.lua
3
2212
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_pirate_leader_of_tatooine.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/component/armor/heavy_armor_layer_electrical.lua
3
2300
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
mretegan/crispy
crispy/quanty/templates/5d_C3v_XAS_3s.lua
1
25024
-------------------------------------------------------------------------------- -- 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: C3v -- experiment: XAS -- edge: M1 (3s) -------------------...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/loot/collectible/collectible_parts/sculpture_structure_02.lua
3
2352
--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
uspgamedev/demos
shadow-casting/light_source.lua
1
1709
local light_source = { position = nil, dragged = nil } local LightSource = {} function LightSource.new(x, y) local inst = setmetatable({}, {__index = light_source}) inst.position = {x, y} inst.dragged = false return inst end function light_source:mousepressed(x, y, button) if button == 'l' then if math.ab...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/wearables/shirt/nightsister_shirt_s01.lua
1
3633
--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_om_aynat.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
mretegan/crispy
crispy/quanty/templates/4d_D4h_XAS_3p.lua
1
36930
-------------------------------------------------------------------------------- -- 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: 4d -- symmetry: D4h -- experiment: XAS -- edge: M2,3 (3p) -----------------...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/faction/imperial/fbase_elite_dark_trooper_hard.lua
1
1506
fbase_elite_dark_trooper_hard = Creature:new { objectName = "@mob/creature_names:fbase_elite_dark_trooper_hard", randomNameType = NAME_DARKTROOPER, randomNameTag = true, socialGroup = "imperial", faction = "imperial", level = 180, chanceHit = 9.0, damageMin = 1045, damageMax = 1800, baseXp = 18000, baseHAM =...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/attachment/weapon/star_destroyer_mini_turret_base.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/attachment/weapon/kse_firespray_weapon1_s03.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
thexamx/forgottenserver
data/lib/compat/compat.lua
6
50110
TRUE = true FALSE = false result.getDataInt = result.getNumber result.getDataLong = result.getNumber result.getDataString = result.getString result.getDataStream = result.getStream LUA_ERROR = false LUA_NO_ERROR = true STACKPOS_GROUND = 0 STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE = 1 STACKPOS_SECOND_ITEM_ABOVE_GROUNDTILE...
gpl-2.0
sprunk/Zero-K
units/vehraid.lua
1
4146
unitDef = { unitname = [[vehraid]], name = [[Scorcher]], description = [[Raider Rover]], acceleration = 0.057, brakeRate = 0.07, buildCostMetal = 130, builder = false, buildPic = [[vehraid.png]], can...
gpl-2.0
sigma/vicious
contrib/rss.lua
18
1741
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2009, olcc -- -- This is now a standalone RSS reader for awesome: -- * http://github.com/olcc/aware --------------------------------------------------- -- {{{ Grab environment local pairs = pairs local io...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/static/item/item_kitchen_pot_style_02.lua
3
2236
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/crafted/weapon/missile/countermeasure_chaff_pack.lua
3
3010
--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
protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_map.lua
32
2615
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2013 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local peeraddr, ip6addr local tunlink, defaultroute, metric, ttl, mtu maptype = section:taboption("general", ListValue, "type"...
apache-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/lair/murra/lair_murra_mountain.lua
1
2287
--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/vynock_hue.lua
3
2156
--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/unit_blobshadow.lua
2
7153
-- $Id: unit_blobshadow.lua 3171 2008-11-06 09:06:29Z det $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- author: jK -- -- Copyright (C) 2007,2009. -- Licensed under the terms of the GNU GPL, v2...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_armor_composite_boots.lua
1
3963
--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/voice/code.lua
1
1767
m = app:mic("got_sound", "opus") m:start() muteb = app:button("mute mic") app:place(muteb, 0, 0) muteb:when_clicked("mute()") smuteb = app:button("mute speaker") app:place(smuteb, 0,1) smuteb:when_clicked("smute()") muted = false talkers = {} row = 2 update_timer = app:timer(1000, "update()") tick = 0; function in...
gpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/screenplays/caves/talus_aakuan_cave.lua
2
4532
TalusAakuanCaveScreenPlay = ScreenPlay:new { numberOfActs = 1, screenplayName = "TalusAakuanCaveScreenPlay", lootContainers = { 6075899, 6075900, 6075901, 6075902, 6075903 }, lootLevel = 25, lootGroups = { { groups = { ...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/static/particle/particle_test_98.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/tangible/wearables/ring/serverobjects.lua
3
2540
--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_waterfall_mist_med.lua
3
2236
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
djarek/forgottenserver
data/creaturescripts/scripts/offlinetraining.lua
7
2373
function onLogin(player) local lastLogout = player:getLastLogout() local offlineTime = lastLogout ~= 0 and math.min(os.time() - lastLogout, 86400 * 21) or 0 local offlineTrainingSkill = player:getOfflineTrainingSkill() if offlineTrainingSkill == -1 then player:addOfflineTrainingTime(offlineTime * 1000) return t...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_rebel_specforce_general_bothan_male_01.lua
3
2300
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/furniture/bestine/painting_bestine_golden_flower_03.lua
1
3264
--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/object/draft_schematic/chemistry/medpack_poison_area_mind_a.lua
1
3717
--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
Kyrremann/CCCCCC
firework/Firework.lua
1
2223
require 'firework.class' local Vector=require 'firework.Vector' local Particle=require 'firework.Particle' STATE={ROCKET=1, EXPLODE=2, LIVE=3, DEAD=4} local M=class(function(self, x, y) self.Position=Vector(x, y) self.state=STATE.ROCKET self.Particles={} self.numParticles=math.random(150, 450) self.elapsed=0...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/lair/jellyfish/lair_jellyfish_underwater.lua
1
2327
--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
TeleCU/cna2
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/components/engine/eng_reward_kuat_elite.lua
3
2300
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/dantooine/janta_rockshaper.lua
1
1149
janta_rockshaper = Creature:new { objectName = "@mob/creature_names:janta_rockshaper", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "janta_tribe", faction = "janta_tribe", level = 75, chanceHit = 0.7, damageMin = 495, damageMax = 700, baseXp = 7115, baseHAM = 13000, baseHAMmax = 15000,...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/moncal_male.lua
3
2160
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/attachment/weapon/hutt_medium_weapon1_s06.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/item/quest_item/fs_craft_puzzle_solid_state_array.lua
1
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 version. ...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/crafted/engine/eng_mk1.lua
2
3365
--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
CorcovadoMing/AnimalAdoption
App/AnimalAdoption/scene_give.lua
2
9758
--------------------------------------------------------------------------------- -- -- scene2.lua -- --------------------------------------------------------------------------------- local composer = require( "composer" ) local widget = require( "widget" ) local scene = composer.newScene() local image, text1, text2,...
apache-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_theed_palace_chamberlain.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
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/furniture/tatooine/frn_tatt_chair_cantina_seat_2.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
aircross/OpenWrt-Firefly-LuCI
libs/nixio/docsrc/nixio.lua
151
15824
--- General POSIX IO library. module "nixio" --- Look up a hostname and service via DNS. -- @class function -- @name nixio.getaddrinfo -- @param host hostname to lookup (optional) -- @param family address family [<strong>"any"</strong>, "inet", "inet6"] -- @param service service name or port (optional) -- @return ...
apache-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/warren_cyborg_worker.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
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/hair/zabrak/hair_zabrak_female_s04.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
xinst/NoahGameFrame
_Out/NFDataCfg/ScriptModule/TestModule.lua
3
4719
TestModule = {} register_module(TestModule,"TestModule"); function TestModule.Init() io.write("TestModule Init!\n"); io.write("Addr of pPluginManager " .. tostring(pPluginManager) .. "\n"); local pKernelModule = pPluginManager:FindKernelModule("NFCKernelModule"); io.write("Addr of NFCKernelModule " .. tostring(p...
apache-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/lair/tybis/serverobjects.lua
3
2158
--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/weapon/melee/knife/knife_donkuwah.lua
1
5084
--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/faction_perk/hq/serverobjects.lua
3
2690
--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/roba_hill/objects.lua
3
3746
--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/component/weapon/parallel_weapon_targeting_computer.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/object/tangible/deed/city_deed/garden_corellia_lrg_03_deed.lua
3
2488
--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/pdd/oh_lf.lua
1
7125
-------------------------------------------------------------------------------- -- Define the crystal field term. -------------------------------------------------------------------------------- if CrystalFieldTerm then -- PotentialExpandedOnClm("Oh", 2, {Eeg, Et2g}) -- tenDq_#m = NewOperator("CF", NFermions, ...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/conversations/tasks/hero_of_tatooine/hero_of_tat_ranchers_wife_conv.lua
3
7222
heroOfTatRanchersWifeConvoTemplate = ConvoTemplate:new { initialScreen = "", templateType = "Lua", luaClassHandler = "heroOfTatRanchersWifeConvoHandler", screens = {} } intro = ConvoScreen:new { id = "intro", leftDialog = "@conversation/quest_hero_of_tatooine_wife:s_82bd1b20", -- Who are you?! More of those thug...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/screenplays/village/convos/elder_conv_handler.lua
1
2955
local ObjectManager = require("managers.object.object_manager") local CRYSTAL_OBJECT = "object/tangible/loot/quest/force_sensitive/force_crystal.iff" villageElderConvoHandler = Object:new {} function villageElderConvoHandler:getNextConversationScreen(pConversationTemplate, pPlayer, selectedOption, pConversingNpc) l...
agpl-3.0
antogerva/PcsxrrWorkflow
src/socket/http.lua
20
12193
----------------------------------------------------------------------------- -- HTTP/1.1 client support for the Lua language. -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: http.lua,v 1.70 2007/03/12 04:08:40 diego Exp $ ----------------------------------------------------------------------------- -----...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/commands/grantTitle.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
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/gurnaset_hue.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/building/corellia/filler_slum_16x32_s01.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
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/static/creature/tatooine_bantha_nosaddle.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/nsister_gate_style_01.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
elijah513/SOHU-DBProxy
tests/suite/base/t/bug_45167-mock.lua
4
1559
--[[ $%BEGINLICENSE%$ Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is dis...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/commands/planet.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/static/creature/dathomir_baz_nitch.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/deed/event_perk/tatooine_flag_deed.lua
2
2437
--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_mound_large_fog_gray.lua
1
2339
--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/utilities/pet_stimpack_b.lua
1
3652
--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/wpn_koensayr_deluxe_ion_accelerator.lua
3
2356
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0