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 |
|---|---|---|---|---|---|
aircross/OpenWrt-Firefly-LuCI | applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua | 78 | 1202 | --[[
Luci configuration model for statistics - collectd disk plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License ... | apache-2.0 |
allanice001/OpenWRT-Builder | feeds/xwrt/webif-iw-lua/files/usr/lib/lua/lua-xwrt/html/htmlClass.lua | 18 | 6491 | --------------------------------------------------------------------------------
-- htmlpageClass.lua
--
-- Author(s) [in order of work date]:
-- Fabián Omar Franzotti
--
--------------------------------------------------------------------------------
local util = require("lua-xwrt.xwrt.util")
htmlheadtagsClass ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/loot/misc/gungan_lance.lua | 3 | 2212 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/loot/misc/jawa_beads.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 |
SpaceVim/SpaceVim | bundle/nvim-if-lua-compat/lua/if_lua_compat/test123.lua | 1 | 1965 | require('if_lua_compat')
local b = vim.buffer()
-- b()
-- print(#b)
-- print(b[154])
-- print(b.name)
-- print(b.fname)
-- print(b.number)
-- b:insert('hello', 127)
-- print(b:isvalid())
-- print(b:next())
-- print(b:previous())
-- print(vim.type(b))
-- print(b:next().name)
-- print(b:previous().name)
local w = vim.wi... | gpl-3.0 |
ouyangruoxue/pokerServer | server/lua/game/TexasHoldem/poker.lua | 1 | 1667 | --[[
-- 扑克牌的数据预定义
-- 提供扑克牌的生成,随机输出牌,
-- 同时修改该扑克牌的状态防止系统被攻击或者串改
]]--
--[[
花色:suit
红心:hearts
梅花:clubs (也叫 clovers)
方块:diamonds
黑桃:spades
例如“跟出同一花色的牌”叫 follow suit
将牌(王牌,主)花色叫 trump suit
红心3叫 three of hearts
-- 花色定义
"spades","hearts","clubs",'diamonds'
--]]
PokerSuitType = {
Spades = 4,
Hears = 3,
Clubs = 2,
... | mit |
motoschifo/mame | 3rdparty/genie/src/actions/vstudio/vs2015.lua | 33 | 1733 | --
-- vs2015.lua
-- Baseline support for Visual Studio 2015.
--
premake.vstudio.vc2015 = {}
local vc2015 = premake.vstudio.vc2015
local vstudio = premake.vstudio
---
-- Register a command-line action for Visual Studio 2015.
---
newaction
{
trigger = "vs2015",
shortname = "Visual Studio 2015",... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/talus/serverobjects.lua | 1 | 5838 | includeFile("talus/aakuan_anarchist.lua")
includeFile("talus/aakuan_champion.lua")
includeFile("talus/aakuan_defender.lua")
includeFile("talus/aakuan_follower.lua")
includeFile("talus/aakuan_guardian.lua")
includeFile("talus/aakuan_keeper.lua")
includeFile("talus/aakuan_sentinel.lua")
includeFile("talus/aakuan_spice_gu... | agpl-3.0 |
antogerva/PcsxrrWorkflow | initPcsxrrWorkFlowApp.lua | 1 | 1525 |
package.path = ";./src/?.lua;/.src/?.lua;./src/controller/?.lua;./dll/?.lua;./?.lua;../lua/?.lua;" ..package.path
package.cpath = ";?51.dll;./?.dll;./src/?.dll;src/?.dll;./dll/?.dll;./?.dll;../lua/?.dll;" ..package.cpath
package.cpath = debug.getinfo(1).source:gsub("^@",""):gsub("[^\\]*$","").. [[lib\?.dll;]] ..packag... | mit |
gonboy/sl4a | lua/luasocket/etc/check-links.lua | 59 | 3388 | -----------------------------------------------------------------------------
-- Little program that checks links in HTML files, using coroutines and
-- non-blocking I/O via the dispatcher module.
-- LuaSocket sample files
-- Author: Diego Nehab
-- RCS ID: $$
------------------------------------------------------------... | apache-2.0 |
sumory/openresty-china | app/routes/notification.lua | 2 | 3752 | local pairs = pairs
local ipairs = ipairs
local utils = require("app.libs.utils")
local lor = require("lor.index")
local page_config = require("app.config.config").page_config
local notification_model = require("app.model.notification")
local notification_router = lor:Router()
local notification_page_size = page_config... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/talus/binayre_scalawag.lua | 1 | 1222 | binayre_scalawag = Creature:new {
objectName = "@mob/creature_names:binayre_scalawag",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "binayre",
faction = "binayre",
level = 11,
chanceHit = 0.29,
damageMin = 120,
damageMax = 130,
baseXp = 430,
baseHAM = 1000,
baseHAMmax = 1200,
armor = ... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_armor_ithorian_sentinel_boots.lua | 1 | 3977 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/invite.lua | 393 | 1225 | 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 |
bedll19/amir-arman | plugins/tweet.lua | 634 | 7120 | local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
local client = OAuth.new(consumer_key,
consumer_secret,
... | gpl-2.0 |
SpaceVim/SpaceVim | bundle/plenary.nvim/lua/plenary/async/util.lua | 1 | 2827 | local a = require "plenary.async.async"
local vararg = require "plenary.vararg"
-- local control = a.control
local control = require "plenary.async.control"
local channel = control.channel
local M = {}
local defer_swapped = function(timeout, callback)
vim.defer_fn(callback, timeout)
end
---Sleep for milliseconds
-... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/hondo/bazaarbot/table_armor.lua | 1 | 3925 | BBArmorConfig = {
path = "object/draft_schematic/clothing/clothing_armor_",
qualityMin = 45,
qualityAvg = 50, -- 10% chance to use this as the min value and qualityMax as the max value
qualityMax = 65, -- 1% Chance to get up to +5 to the max value, with qualityMax as the min value
freq = 14410, -- Every x seconds
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/loot/quest/hero_of_tatooine/objects.lua | 3 | 10690 | --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/ship/components/reactor/rct_koensayr_supernova_advanced.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/mobile/dressed_narmle_ensign_human_male_01.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/tangible/wearables/armor/marauder/armor_marauder_s03_bracer_r.lua | 1 | 4775 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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_shirt_formal_12.lua | 1 | 3387 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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 |
TeamCros/Cros-Project | fceux source/output/luaScripts/shapedefs.lua | 9 | 1176 | --shapedefs
--A Lua script with defined functions for shapes such as hearts.
--Needed for SM-Lives&HPDisplay-4Matsy.lua
local function box(x1,y1,x2,y2,color)
if (x1 > 0 and x1 < 255 and x2 > 0 and x2 < 255 and y1 > 0 and y1 < 241 and y2 > 0 and y2 < 241) then
gui.drawbox(x1,y1,x2,y2,color);
end;
end;
loca... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/booster/booster_mk2.lua | 2 | 3547 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/faction_perk/hq/hq_s01_imp.lua | 1 | 9854 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/crev_bombaasa_q1_needed.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 |
cappiewu/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunks.lua | 68 | 2343 | -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require("luci.asterisk")
cbimap = Map("asterisk", "Trunks")
cbimap.pageaction = false
local sip_peers = { }
cbimap.uci:foreach("asterisk", "sip",
function(s)
if s.type == "peer" then
s.name =... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/base/poi_all_lair_rocks_large.lua | 1 | 2303 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/gungan_shield_s01.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/lair/dune_lizard/lair_dune_lizard_desert.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/reactor/reactor_limiter_mk2.lua | 2 | 2789 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/actions/scripts/other/potions.lua | 1 | 5247 | local berserk = Condition(CONDITION_ATTRIBUTES)
berserk:setParameter(CONDITION_PARAM_TICKS, 10 * 60 * 1000)
berserk:setParameter(CONDITION_PARAM_SKILL_MELEE, 5)
berserk:setParameter(CONDITION_PARAM_SKILL_SHIELD, -10)
berserk:setParameter(CONDITION_PARAM_BUFF_SPELL, true)
local mastermind = Condition(CONDITION_ATTRIBUT... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/furniture/furniture_lamp_free_s03_on.lua | 1 | 3342 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/installShipComponent.lua | 4 | 2153 | --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 |
mehdimax/mega | plugins/plugins.lua | 285 | 6096 | 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/tangible/component/armor/armor_segment_ubese.lua | 2 | 3285 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/dress/dress_s35.lua | 3 | 4087 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/pet_deed/shear_mite_deed.lua | 2 | 2762 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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_light_weapon_s03.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/4d_D4h_RIXS_2p4d.lua | 1 | 38220 | --------------------------------------------------------------------------------
-- 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: RIXS
-- edge: L2,3-N4,5 (2p4d)
---------... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_blood_razor_pirate_elite_hum_m.lua | 3 | 2268 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/weapon/component/reinforcement_core_advanced.lua | 1 | 3166 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/modularcomms/weapons/slamrocket.lua | 1 | 1629 | local name = "commweapon_slamrocket"
local weaponDef = {
name = [[S.L.A.M.]],
avoidFeature = false,
avoidGround = false,
collideFriendly = false,
areaOfEffect = 160,
burnblow = false,
cegTag = [[slam_trail]],
collision... | gpl-2.0 |
flikechen/atlas-prepare | examples/tutorial-warnings.lua | 40 | 2248 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2009, 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 |
sprunk/Zero-K | units/energysolar.lua | 6 | 2376 | unitDef = {
unitname = [[energysolar]],
name = [[Solar Collector]],
description = [[Small Powerplant (+2)]],
acceleration = 0,
activateWhenBuilt = true,
brakeRate = 0,
buildCostMetal ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/poi/corellia_meatlump_large2.lua | 2 | 2258 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/wipeItems.lua | 4 | 2120 | --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/ship/freightermedium_tier3.lua | 3 | 2192 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/tatooine/tusken_raid_hunter.lua | 1 | 1424 | tusken_raid_hunter = Creature:new {
objectName = "@mob/creature_names:bestine_tusken_raid_sub_leader",
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,3... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_ith_jacket_field_11.lua | 1 | 3473 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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_droid_lube.lua | 1 | 3189 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/alert.lua | 4 | 2108 | --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_noble_human_female_03.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/draft_schematic/clothing/clothing_shirt_casual_24.lua | 1 | 3362 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/rock_mite.lua | 3 | 2152 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/lair/npc_theater/talus_liberation_patriot_camp_neutral_medium_theater.lua | 1 | 1121 | talus_liberation_patriot_camp_neutral_medium_theater = Lair:new {
mobiles = {{"talus_liberation_party_patriot",1}},
spawnLimit = 12,
buildingsVeryEasy = {"object/building/poi/corellia_selonian_separatists_small1.iff","object/building/poi/corellia_selonian_separatists_small2.iff"},
buildingsEasy = {"object/building/... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_nurla_slinthiss.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/hanadak/lair_hanadak_mountain.lua | 1 | 2303 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/creature/npc/base/chadra_fan_base_male.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 |
ld-test/kong | spec/integration/admin_api/plugins_routes_spec.lua | 7 | 1391 | local json = require "cjson"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
describe("Admin API", function()
setup(function()
spec_helper.prepare_db()
spec_helper.start_kong()
end)
teardown(function()
spec_helper.stop_kong()
end)
describe("/... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/base/poi_all_lair_nest_small_evil_fire_red.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/mobile/faction/imperial/crackdown_imperial_first_lieutenant.lua | 1 | 1554 | crackdown_imperial_first_lieutenant = Creature:new {
objectName = "@mob/creature_names:crackdown_imperial_first_lieutenant",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "imperial",
faction = "imperial",
level = 1,
chanceHit = 0.33,
damageMin = 190,
damageMax = 200,
baseXp = 45,
baseHAM... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/base/draft_schematic_default.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/city_deed/hospital_naboo_deed.lua | 3 | 2838 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/StartBoxes/Absolution 2.lua | 17 | 5448 | return {
[0] = {
nameLong = "West",
nameShort = "W",
startpoints = {
{1560, 4108},
{1765, 2409},
{1811, 5741},
{359, 4091},
{861, 1448},
{750, 6897},
},
boxes = {
{
{1063, 7593},
{881, 7592},
{830, 7559},
{792, 7577},
{759, 7624},
{745, 7626},
{692, 7626},
... | gpl-2.0 |
SpaceVim/SpaceVim | bundle/telescope.nvim/lua/telescope/pickers/highlights.lua | 1 | 3797 | local a = vim.api
local log = require "telescope.log"
local conf = require("telescope.config").values
local highlights = {}
local ns_telescope_selection = a.nvim_create_namespace "telescope_selection"
local ns_telescope_multiselection = a.nvim_create_namespace "telescope_multiselection"
local ns_telescope_entry = a.n... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/vehicle/component/extended_fuel_tank_heavy.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/draft_schematic/scout/item_camp_improved.lua | 1 | 3106 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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_bracer_l.lua | 4 | 1937 | kashyyykian_hunting_armor_bracer_l = {
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/armor/kashyyykian_hunting/armor_kashyyykian_hunting_bracer_l.iff",
craftingValues = {
{"armor_rating",1,1,0},
{"armor_effectiveness",8,39,10},
{"armor_integrity... | agpl-3.0 |
AHXR/Dreamstride-YGOPro- | script/c90000007.lua | 1 | 1406 | --Dreamstride - Voices In My Head
function c90000007.initial_effect(c)
--battle indestructable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetValue(1)
c:RegisterEffect(e1)
--tohand
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TOHAND)
... | gpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/tasks/rori/draya_korbinari.lua | 1 | 2181 | draya_korbinari_missions =
{
{
missionType = "assassinate",
primarySpawns =
{
{ npcTemplate = "tusk_cat", npcName = "a Tusk Cat" }
},
secondarySpawns =
{
},
itemSpawns =
{
},
rewards =
{
{ rewardType = "credits", amount = 50 },
{ rewardType = "faction", faction = "naboo", amount =... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/dantooine/dant_fence_8m.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 |
motoschifo/mame | 3rdparty/genie/tests/actions/vstudio/vc200x/debugdir.lua | 57 | 2243 | --
-- tests/actions/vstudio/vc200x/debugdir.lua
-- Validate handling of the working directory for debugging.
-- Copyright (c) 2011 Jason Perkins and the Premake project
--
T.vstudio_vs200x_debugdir = { }
local suite = T.vstudio_vs200x_debugdir
local vc200x = premake.vstudio.vc200x
--
-- Setup
--
local sln, prj... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/quest/rori/rohd_gostervek.lua | 1 | 1042 | rohd_gostervek = Creature:new {
objectName = "@mob/creature_names:imperial_army_captain",
customName = "Captain Rohd Gostervek",
socialGroup = "imperial",
faction = "imperial",
level = 30,
chanceHit = 0.39,
damageMin = 290,
damageMax = 300,
baseXp = 2914,
baseHAM = 8400,
baseHAMmax = 10200,
armor = 0,
resi... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/jacket/jacket_s36.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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/space/mission_objects/serverobjects.lua | 3 | 2180 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/quest/tatooine/dak_linser.lua | 2 | 1135 | dak_linser = Creature:new {
objectName = "",
socialGroup = "rebel",
faction = "rebel",
level = 15,
chanceHit = 0.31,
damageMin = 160,
damageMax = 170,
baseXp = 831,
baseHAM = 2400,
baseHAMmax = 4000,
armor = 0,
resists = {0,0,0,0,0,0,0,0,-1},
meatType = "",
meatAmount = 0,
hideType = "",
hideAmount = 0,... | agpl-3.0 |
wbqd/cqui | Integrations/ML/UI/Panels/modallenspanel.lua | 5 | 17919 | -- Provides info about currently active Modal Lens
include( "InstanceManager" );
local m_KeyStackIM:table = InstanceManager:new( "KeyEntry", "KeyColorImage", Controls.KeyStack );
local m_ContinentColorList:table = {};
local m_CurrentModdedLensOn;
-- Similiar to MinimapPanel.lua to control modded lenses
-- Used to co... | mit |
sprunk/Zero-K | units/chicken.lua | 3 | 2942 | unitDef = {
unitname = [[chicken]],
name = [[Chicken]],
description = [[Swarmer]],
acceleration = 0.36,
activateWhenBuilt = true,
brakeRate = 0.205,
buildCostEnergy = 0,
buildCostMetal = 0,
builder = false,
buildPic ... | gpl-2.0 |
cappiewu/luci | libs/luci-lib-rpcc/luasrc/rpcc/ruci.lua | 78 | 1086 | -- Copyright 2009 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local util = require "luci.util"
local rawget, setmetatable = rawget, setmetatable
local ipairs = ipairs
module "luci.rpcc.ruci"
local Proxy = util.class()
function factory(rpccl)
return {
cursor = functi... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/mission/quest_item/sayama_edosun_q3_needed.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/mobile/dressed_blood_razor_pirate_strong_nikto_m.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 |
beauli/kong | kong/cmd/utils/log.lua | 5 | 1317 | local _LEVELS = {
debug = 1,
verbose = 2,
info = 3,
warn = 4,
error = 5,
quiet = 6
}
local r_levels = {}
for k, v in pairs(_LEVELS) do
r_levels[v] = k
end
local log_lvl = _LEVELS.info
local old_lvl
local _M = {
levels = _LEVELS
}
function _M.set_lvl(lvl)
if r_levels[lvl] then
log_lvl = lvl
e... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/structure/naboo_house_player_medium.lua | 1 | 3710 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/droploot.lua | 3 | 1205 | function onDeath(player, corpse, killer, mostDamage, unjustified, mostDamage_unjustified)
if player:hasFlag(PlayerFlag_NotGenerateLoot) or player:getVocation():getId() == VOCATION_NONE then
return true
end
local amulet = player:getSlotItem(CONST_SLOT_NECKLACE)
if amulet and amulet.itemid == ITEM_AMULETOFLOSS and... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_ith_robe_formal_01.lua | 1 | 3671 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/twitter.lua | 632 | 2555 | local OAuth = require "OAuth"
-- EDIT data/twitter.lua with the API keys
local twitter_config = load_from_file('data/twitter.lua', {
-- DON'T EDIT HERE.
consumer_key = "", consumer_secret = "",
access_token = "", access_token_secret = ""
})
local client = OAuth.new(twitter_config.consumer_key, twitter_c... | gpl-2.0 |
Nadochima/LoupGG | loupgg/entities/weapons/lgg_life_potion/shared.lua | 1 | 2031 | AddCSLuaFile()
if CLIENT then
SWEP.PrintName = lang.item.life_potion.title()
SWEP.Slot = 1
SWEP.SlotPos = 1
SWEP.DrawAmmo = false
SWEP.DrawCrosshair = false
end
SWEP.Author = ""
SWEP.Instructions = lang.item.life_potion.help()
SWEP.Contact = ""
SWEP.Purpose = ""
SWEP.WorldModel = ""
SWEP.ViewModelFOV = 62
S... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/attachment/booster/blacksun_light_booster_s01.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/object/ship/escape_pod_tier5.lua | 3 | 2172 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/wearables/ithorian/ith_jacket_s03.lua | 4 | 1281 | ith_jacket_s03 = {
-- Ithorian Frilled Jacket
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/ithorian/ith_jacket_s03.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/index... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/tasks/corellia/blk_sun_tasks.lua | 1 | 2837 | grobber_missions =
{
{
missionType = "escort",
primarySpawns =
{
{ npcTemplate = "criminal_quest_grobber", npcName = "Hammond Ballater" }
},
secondarySpawns =
{
{ npcTemplate = "thug", npcName = "Bodyguard" },
{ npcTemplate = "thug", npcName = "Bodyguard" }
},
itemSpawns =
{
},
rewards ... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_pants_field_12.lua | 1 | 3437 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/chemistry/medpack_disease_area_constitution_c.lua | 1 | 3772 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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 |
hassonyb/brimez | plugins/lock_arabic.lua | 1 | 1342 | antiarabic = {}-- An empty table for solving multiple kicking problem
do
local function run(msg, matches)
if is_momod(msg) then -- Ignore mods,owner,admins
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['lock_arabic'] == 'yes' then
if is_whitelisted... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/general/tato_cave_rock_large.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 |
sprunk/Zero-K | scripts/trackControl.lua | 8 | 1495 | -- TODO: CACHE INCLUDE FILE
local wheels
local smallSpeed
local smallAccel
local smallDecel
local largeSpeed
local largeAccel
local largeDecel
local tracks
local trackCount
local signal
local trackPeriod
local currentTrack = 1
local isMoving = false
function InitiailizeTrackControl(intData)
wheels = intData.wheels o... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/remmer/lair_remmer.lua | 1 | 2259 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the 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/mission/bh_brigand_leader.lua | 1 | 1469 | bh_brigand_leader = Creature:new {
objectName = "@mob/creature_names:brigand_leader",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "brigand",
faction = "",
level = 20,
chanceHit = 0.330000,
damageMin = 180,
damageMax = 190,
baseXp = 1803,
baseHAM = 4500,
baseHAMmax = 5500,
armor = 0,
... | agpl-3.0 |
sprunk/Zero-K | scripts/turretlaser.lua | 2 | 2546 | local base = piece 'base'
local body = piece 'body'
local barrel = piece 'barrel'
local turret = piece 'turret'
local flare = piece 'flare'
--linear constant 163840
include "constants.lua"
include "pieceControl.lua"
include "aimPosTerraform.lua"
-- Signal definitions
local SIG_AIM = 2
local function RestoreAfterDela... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.