repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_ith_hat_chef_02.lua | 2 | 3371 | --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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/commands/jediMindTrick.lua | 4 | 2132 | --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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/mission/quest_item/current_alternator.lua | 3 | 2720 | --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 |
DailyShana/ygopro-scripts | c33114323.lua | 7 | 1600 | --ใกใฟใซใทใซใใผใปใขใผใใผ
--Effect is not fully implemented
function c33114323.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c33114323.target)
e1:SetOperation(c33... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/hair/twilek/hair_twilek_male_s06.lua | 3 | 2252 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/furniture/furniture_rug_rectangle_large.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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/commands/grantSkill.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 |
DailyShana/ygopro-scripts | c80559548.lua | 3 | 1842 | --SRใทใงใคใใผใปใกใฉใณ
function c80559548.initial_effect(c)
--cannot attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetOperation(c80559548.sumop)
c:RegisterEffect(e1)
--atk down
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.String... | gpl-2.0 |
DailyShana/ygopro-scripts | c59385322.lua | 6 | 3301 | --ใณใขใในใฟใผ
function c59385322.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c59385322.target)
e1:SetOperation(c59385322.operation)
c:RegisterEffect(e1)
... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/woolamander_hue.lua | 3 | 2176 | --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 |
AndyClausen/PNRP_HazG | postnukerp/entities/entities/hp_healthkit/init.lua | 1 | 1070 | AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
util.PrecacheModel ("models/items/healthkit.mdl")
function ENT:Initialize()
self.Entity:SetModel("models/items/healthkit.mdl")
self.Entity:PhysicsInit( SOLID_VPHYSICS ) -- Make us work with physics,
self.Entity:SetMoveTy... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/tatooine/wall_damaged_tatooine_large_style_01.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 |
DailyShana/ygopro-scripts | c88177324.lua | 3 | 3684 | --No.107 ้ๆฒณ็ผใฎๆ็ฉบ็ซ
function c88177324.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,8,2)
c:EnableReviveLimit()
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88177324,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE)
e1:SetHintTiming... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/loot/loot_schematic/pitcher_full_schematic.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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/ranged/pistol/pistol_fwg5_quest.lua | 2 | 6187 | --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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/space/weapon/missile/basic_launcher.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 |
DailyShana/ygopro-scripts | c36484016.lua | 3 | 4204 | --ใใฉใฏใซใทใณใฏใญใใฅใผใธใงใณ
function c36484016.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c36484016.target)
e1:SetOperation(c36484016.activate)
c:RegisterEffect(e1)
--draw
local e2=Effect.... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/armor/bounty_hunter/armor_bounty_hunter_bicep_l.lua | 1 | 4671 | --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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_herald_pirate_naboo_human_male.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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/corellia/smashball_bully.lua | 2 | 1502 | smashball_bully = Creature:new {
objectName = "@mob/creature_names:smashball_bully",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "smashball",
faction = "smashball",
level = 7,
chanceHit = 0.260000,
damageMin = 70,
damageMax = 75,
baseXp = 187,
baseHAM = 180,
baseHAMmax = 220,
armor = 0,
resists = {0,0... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/space/droid_interface/basic_droid_interface.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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/ship/blacksun_heavy_s04_tier3.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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_brigade_gunner_bith_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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/npc/serverobjects.lua | 3 | 2102 | --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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/furniture/serverobjects.lua | 3 | 2941 | --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 |
Whitechaser/darkstar | scripts/globals/weaponskills/black_halo.lua | 25 | 1568 | -----------------------------------
-- Black Halo
-- Club weapon skill
-- Skill level: 230
-- In order to obtain Black Halo, the quest Orastery Woes must be completed.
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget, Thunder Gorget & Breeze Gorget.... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/naboo/gungan_guard.lua | 1 | 1078 | gungan_guard = Creature:new {
objectName = "@mob/creature_names:gungan_guard",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "gungan",
faction = "gungan",
level = 16,
chanceHit = 0.31,
damageMin = 170,
damageMax = 180,
baseXp = 960,
baseHAM = 2900,
baseHAMmax = 3500,
armor = 0,
resists = {5,5,5,-1,25,-1... | agpl-3.0 |
DailyShana/ygopro-scripts | c47754278.lua | 5 | 2229 | --ใใซใปใใฉใดใณ
function c47754278.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(47754278,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCondition(c47754278.descon)
e1:SetTarget(c4775427... | gpl-2.0 |
DailyShana/ygopro-scripts | c85771019.lua | 3 | 3119 | --ๅ ๅคฉไฝฟใขในใขใใฃใฆใน
function c85771019.initial_effect(c)
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SINGLE_RANGE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetRange(LOCATION_DECK+LOCATION_GRAVE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:Se... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/helmet/helmet_atat.lua | 2 | 3955 | --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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/scout/camp/camp_multi.lua | 2 | 2775 | --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 |
pguillory/luajit-libuv | src/uv/util/async.lua | 2 | 1432 | local ffi = require 'ffi'
local join = require 'uv/util/join'
local libuv = require 'uv/libuv'
local async, threads, id = {}, {}, 0
setmetatable(async, async)
local red_on_black = '\27[31;40m'
local green_on_black = '\27[32;40m'
local yellow_on_black = '\27[33;40m'
local white_on_black = '\27[37;40m'
local function ... | mit |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/tauntaun_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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/chassis/hutt_light_s02_deed.lua | 3 | 2457 | --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 |
mswf/MeepMeep | lua/base/signal.lua | 1 | 1789 |
local weakMT = {
__mode = "kv"
}
Signal = class(Signal, function(self)
self._callbacks = {
setmetatable({}, weakMT),
setmetatable({}, weakMT),
setmetatable({}, weakMT)
}
self._callbacksOnce = {
setmetatable({}, weakMT),
setmetatable({}, weakMT),
setmetatable({}, weakMT)
}
end)
function Signal:add(c... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/furniture/plain/plain_love_seat_s01.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 |
Whitechaser/darkstar | scripts/globals/abilities/pets/knockout.lua | 2 | 1427 | ---------------------------------------------------
-- Knockout
---------------------------------------------------
require("scripts/globals/status")
require("scripts/globals/settings")
require("scripts/globals/automatonweaponskills")
---------------------------------------------------
function onMobSkillCheck(target... | gpl-3.0 |
KingRaptor/Zero-K | units/fighterdrone.lua | 1 | 3987 | unitDef = {
unitname = [[fighterdrone]],
name = [[Spicula]],
description = [[Fighter Drone]],
brakerate = 0.4,
buildCostMetal = 100,
buildPic = [[fighterdrone.png]],
canAttack = true,
canFly = true... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/graul/objects.lua | 3 | 5452 | --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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/furniture/city/city_furniture.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 |
Whitechaser/darkstar | scripts/zones/Bastok_Mines/npcs/Vaghron.lua | 5 | 1099 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Vaghron
-- Type: Adventurer's Assistant
-- !pos -39.162 -1 -92.147 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("script... | gpl-3.0 |
LuaDist2/lua-llthreads2 | lakeconfig.lua | 8 | 5403 | local io = require "io"
io.stdout:setvbuf"no"
io.stderr:setvbuf"no"
function vc_version()
local VER = lake.compiler_version()
MSVC_VER = ({
[15] = '9';
[16] = '10';
})[VER.MAJOR] or ''
return MSVC_VER
end
if not L then
local function arkey(t)
assert(type(t) == 'table')
local keys... | mit |
EddyK69/domoticz | dzVents/runtime/device-adapters/temperature_humidity_device.lua | 14 | 1051 | local humidityMapping = {
['dry'] = 2,
['normal'] = 0,
['comfortable'] = 1,
['wet'] = 3
}
return {
baseType = 'device',
name = 'Temperature+humidity device adapter',
matches = function (device, adapterManager)
local res = (device.deviceType == 'Temp + Humidity')
if (not res) then
adapterManager.addDum... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/soundobject/soundobject_water_gurgle.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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/city_deed/garden_dathomir_lrg_01_deed.lua | 3 | 2869 | --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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/dathomir/mtn_clan_pillar_s01.lua | 3 | 2268 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/soundobject/soundobject_river_small.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 |
Whitechaser/darkstar | scripts/zones/Temenos/mobs/Kindred_Dark_Knight.lua | 28 | 1108 | -----------------------------------
-- Area: Temenos N T
-- NPC: Kindred_Dark_Knight
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------------... | gpl-3.0 |
DailyShana/ygopro-scripts | c25700114.lua | 3 | 2748 | --ใในใใณใญใผใฉใผ
function c25700114.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c25700114.target)
e1:SetOperation(c25700114.activate)
c:RegisterEffect(e1)
--search
local e2=Effect.Crea... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/thug/traveller.lua | 1 | 2668 | traveller = Creature:new {
objectName = "",
randomNameType = NAME_GENERIC_TAG,
customName = "a Traveller",
socialGroup = "wilder",
faction = "",
level = 4,
chanceHit = 0.24,
damageMin = 40,
damageMax = 45,
baseXp = 85,
baseHAM = 113,
baseHAMmax = 138,
armor = 0,
resists = {20,20,10,25,35,10,10,10,0},
mea... | agpl-3.0 |
nesstea/darkstar | scripts/zones/Lufaise_Meadows/npcs/Jersey.lua | 13 | 1910 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Jersey
-- Type: Outpost Vendor
-- @pos -548.706 -7.197 -53.897 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("script... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_UnitFrames/libs/Plugins/oUF_Gladiator/oUF_Gladiator.lua | 3 | 6193 | --GLOBAL NAMESPACE
local _G = _G;
--LUA
local unpack = _G.unpack;
local select = _G.select;
local assert = _G.assert;
local error = _G.error;
local print = _G.print;
local pairs = _G.pairs;
local next = _G.next;
local tostring = _G.tostring;
local setmetatable ... | mit |
UnfortunateFruit/darkstar | scripts/zones/Port_San_dOria/npcs/HomePoint#2.lua | 12 | 1254 | -----------------------------------
-- Area: Port San dOria
-- NPC: HomePoint#2
-- @pos 48 -12.000 -105 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextIDs");
require("script... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Arnau.lua | 13 | 1785 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Arnau
-- Involved in Mission: Save the Children
-- @pos 148 0 139 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/plugins/additional.lua | 1 | 1717 | -----------------------------------------------------------------------------
-- Name: additional.lua
-- Purpose: Additional controls plugin project build script.
-- Author: Andrea Zanellato
-- Modified by:
-- Created: 21/10/2011
-- Copyright: (c) 2011 wxFormBuilder Team
-- Licence: GNU... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/qm8.lua | 57 | 2181 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: qm8 (??? - Ancient Papyrus Shreds)
-- Involved in Quest: In Defiant Challenge
-- @pos 105.275 -32 92.551 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
arahlf/LuaPool | lunit/lunit-tests.lua | 9 | 34836 |
--[[--------------------------------------------------------------------------
This file is part of lunit 0.5.
For Details about lunit look at: http://www.mroth.net/lunit/
Author: Michael Roth <mroth@nessie.de>
Copyright (c) 2004, 2006-2009 Michael Roth <mroth@nessie.de>
Permission is hereby g... | bsd-3-clause |
dpino/snabbswitch | src/program/lwaftr/check/util.lua | 9 | 1681 | module(..., package.seeall)
local counter = require("core.counter")
local lib = require("core.lib")
local data = require("lib.yang.data")
local state = require("lib.yang.state")
local lwutil = require("apps.lwaftr.lwutil")
local write_to_file = lwutil.write_to_file
function load_requested_counters(counters)
local... | apache-2.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters/npcs/Sohdede.lua | 13 | 1054 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Sohdede
-- Type: Standard NPC
-- @zone: 238
-- @pos -60.601 -7.499 111.639
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
----------... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/KillBug/src/cocos/framework/extends/MenuEx.lua | 57 | 1228 | --[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | mit |
amirmrbad/teleatom | plugins/stats.lua | 168 | 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 |
Mashape/kong | spec/01-unit/11-reports_spec.lua | 1 | 11376 | local meta = require "kong.meta"
local helpers = require "spec.helpers"
local reports = require "kong.reports"
local cjson = require "cjson"
describe("reports", function()
describe("send()", function()
lazy_setup(function()
reports.toggle(true)
end)
lazy_teardown(function()
package.loaded["... | apache-2.0 |
oralius/byond1 | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/hojo_ni.lua | 27 | 1246 | -----------------------------------------
-- Spell: Hojo:Ni
-- Description: Inflicts Slow on target.
-- Edited from slow.lua
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------------------... | gpl-3.0 |
aqasaeed/spartafinal | plugins/ingroup.lua | 527 | 44020 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Morangeart.lua | 38 | 1057 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Morangeart
-- Type: ENM Quest Activator
-- @zone: 26
-- @pos -74.308 -24.782 -28.475
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"]... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm2.lua | 8 | 1835 | -----------------------------------
-- Area: The Sanctuary of ZiTah
-- NPC: qm2 (???)
-- Involved in Quest: Forge Your Destiny
-- @pos 639 -1 -151 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Lower_Jeuno/npcs/Tuh_Almobankha.lua | 15 | 3827 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Tuh Almobankha
-- Title Change NPC
-- @pos -14 0 -61 245
-----------------------------------
require("scripts/globals/titles");
local title2 = { BROWN_MAGE_GUINEA_PIG , BROWN_MAGIC_BYPRODUCT , RESEARCHER_OF_CLASSICS , TORCHBEARER , FORTUNETELLE... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/serving_of_golden_royale.lua | 36 | 1429 | -----------------------------------------
-- ID: 5558
-- Item: Serving of Golden Royale
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10
-- MP +10
-- Intelligence +2
-- HP Recoverd while healing 2
-- MP Recovered while healing 2
---------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/bowl_of_adoulin_soup.lua | 36 | 1504 | -----------------------------------------
-- ID: 5998
-- Item: Bowl of Adoulin Soup
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- HP % 3 Cap 40
-- Vitality 3
-- Defense % 15 Cap 70
-- HP Healing 6
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/simit.lua | 19 | 1289 | -----------------------------------------
-- ID: 5596
-- Item: simit
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 16
-- Dexterity -1
-- Vitality 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Den_of_Rancor/npcs/_4g4.lua | 10 | 2108 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Lantern (NW)
-- @pos -59 45 24 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/blade_jin.lua | 30 | 1426 | -----------------------------------
-- Blade Jin
-- Katana weapon skill
-- Skill Level: 200
-- Delivers a three-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
-- Element: W... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/smilodon_liver.lua | 18 | 1281 | -----------------------------------------
-- ID: 5668
-- Item: Smilodon Liver
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Western_Altepa_Desert/npcs/_3h5.lua | 13 | 1873 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h5 (Ruby Column)
-- Notes: Mechanism for Altepa Gate
-- @pos 59 10 -104 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/KillBug/src/cocos/framework/extends/UICheckBox.lua | 57 | 1436 |
--[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | mit |
dpino/snabbswitch | src/program/alarms/set_operator_state/set_operator_state.lua | 7 | 1568 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local common = require("program.config.common")
function show_usage(program, status, err_msg)
if err_msg then print('error: '..err_msg) end
print(require("program.alarms.set_operator_state.README_inc"))
... | apache-2.0 |
plajjan/snabbswitch | src/program/snabbnfv/neutron_sync_agent/neutron_sync_agent.lua | 5 | 1720 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local lib = require("core.lib")
local syscall = require("syscall")
local usage = require("program.snabbnfv.neutron_sync_agent.README_inc")
local script = require("program.snabbnfv.neutron_sync_agent.neutron_syn... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Jeuno/npcs/Rinzei.lua | 34 | 1369 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Rinzei
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/quests");
-----... | gpl-3.0 |
nesstea/darkstar | scripts/globals/magic.lua | 2 | 45757 | require("scripts/globals/magicburst");
require("scripts/globals/status");
require("scripts/globals/weather");
require("scripts/globals/utils");
require("scripts/globals/settings");
MMSG_BUFF_FAIL = 75;
DIVINE_MAGIC_SKILL = 32;
HEALING_MAGIC_SKILL = 33;
ENHANCING_MAGIC_SKILL = 34;
ENFEEBLIN... | gpl-3.0 |
dpino/snabbswitch | src/lib/ipsec/esp.lua | 3 | 18586 | -- Implementation of IPsec ESP using AES-128-GCM with a 12 byte ICV and
-- โExtended Sequence Numberโ (see RFCย 4303 and RFCย 4106). Provides
-- address-family independent encapsulation/decapsulation routines for
-- โtunnel modeโ and โtransport modeโ routines for IPv6.
--
-- Notes:
--
-- * Wrapping around of the Extende... | apache-2.0 |
dpino/snabbswitch | lib/luajit/src/jit/dis_arm.lua | 59 | 19344 | ----------------------------------------------------------------------------
-- LuaJIT ARM disassembler module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Dragons_Aery/npcs/relic.lua | 38 | 1837 | -----------------------------------
-- Area: Dragon's Aery
-- NPC: <this space intentionally left blank>
-- @pos -20 -2 61 154
-----------------------------------
package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Dragons_Aery/TextIDs");
-----------... | gpl-3.0 |
focusworld/aabb | bot/utils.lua | 356 | 14963 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
hamed9898/maxbot | bot/utils.lua | 356 | 14963 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
hussian/hell_iraq | plugins/ar-h2.lua | 2 | 2159 | --[[
โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโ โโ โโ โโ
โโ โโ BY(@AHMED_ALOBIDE) โโ โโ
โโ โโ BY(@hussian_9) โโ โโ
โโ โโ โโ โโ
โโ โโ (ู
ูู ุงูุงูุงู
ุฑ 2) โโ โโ ... | gpl-2.0 |
nesstea/darkstar | scripts/globals/monstertpmoves.lua | 2 | 23817 | require("scripts/globals/magic");
require("scripts/globals/magicburst")
require("scripts/globals/status")
require("scripts/globals/utils")
-- Foreword: A lot of this is good estimating since the FFXI playerbase has not found all of info for individual moves.
-- What is known is that they roughly follow play... | gpl-3.0 |
JulioC/telegram-bot | plugins/vote.lua | 615 | 2128 | do
local _file_votes = './data/votes.lua'
function read_file_votes ()
local f = io.open(_file_votes, "r+")
if f == nil then
print ('Created voting file '.._file_votes)
serialize_to_file({}, _file_votes)
else
print ('Values loaded: '.._file_votes)
f:close()
end
return loadfile (_file_votes)()... | gpl-2.0 |
firoxer/naive-bayes-lua | tests/naivebayes.lua | 1 | 1481 | -- luacheck: ignore lrun lok
require "minctest"
local NaiveBayes = require("naivebayes.naivebayes")
local function splitToWords(sentence)
local words = {}
for word in string.gmatch(sentence, "%S+") do
table.insert(words, word)
end
return words
end
-- Test data to learn
local sentences = {
["he... | mit |
nesstea/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/King_Zagan.lua | 2 | 1559 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: King Zagan
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngaged(... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Furakku-Norakku.lua | 15 | 4696 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Furakku-Norakku
-- Involved in Quests: Early Bird Catches the Bookworm, Chasing Tales, Class Reunion
-- @pos -19 -5 101 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-------------------... | gpl-3.0 |
dpino/snabbswitch | src/program/l2vpn/l2vpn.lua | 3 | 30865 | -- This program provisions a complete endpoint for one or more L2 VPNs.
--
-- Each VPN provides essentially a multi-point L2 VPN over IPv6,
-- a.k.a. Virtual Private LAN Service (VPLS). A point-to-point VPN,
-- a.k.a. Virtual Private Wire Service (VPWS) is provided as a
-- degenerate case of a VPLS with exactly two end... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Quicksand_Caves/npcs/qm4.lua | 34 | 1190 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm4)
-- Involved in Mission: Bastok 8.1 "The Chains That Bind Us"
-- @pos
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/m... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/system/letsride.lua | 1 | 16246 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.sele... | mit |
alireza1998/AnOnYmOuS | plugins/inrealm.lua | 114 | 25001 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
heyuqi/wxFormBuilder | build/premake/4.3/src/actions/vstudio/vs2002_solution.lua | 7 | 1525 | --
-- vs2002_solution.lua
-- Generate a Visual Studio 2002 solution.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
function premake.vs2002_solution(sln)
io.eol = '\r\n'
-- Precompute Visual Studio configurations
sln.vstudio_configs = premake.vstudio_buildconfigs(sln)
_p('Microsoft Visual St... | gpl-2.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_wireless_recv/init.lua | 4 | 3455 |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
ENT.WireDebugName = "BT_Recv"
local MODEL = Model( "models/props_lab/binderblue.mdl" )
local Recvs = {}
function GetWirelessRecv()
return Recvs;
end
function ENT:Initialize()
self:PhysicsInit( SOLID_VPHYSICS )
sel... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/water_maneuver.lua | 35 | 1609 | -----------------------------------
-- Ability: Water Maneuver
-- Enhances the effect of water attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/keyitems.lua | 32 | 120326 | ---------------------------------------------
--
-- KEYITEMS IDS
--
---------------------------------------------
ZERUHN_REPORT = 1;
PALBOROUGH_MINES_LOGS = 2;
BLUE_ACIDITY_TESTER = 3;
RED_ACIDITY_TESTER = 4;
LETTER_TO_... | gpl-3.0 |
trilastiko/keys | VSCOKeys.lrdevplugin/halfway_server/mime.lua | 118 | 2433 | -----------------------------------------------------------------------------
-- MIME support for the Lua language.
-- Author: Diego Nehab
-- Conforming to RFCs 2045-2049
-- RCS ID: $Id: mime.lua,v 1.29 2007/06/11 23:44:54 diego Exp $
-----------------------------------------------------------------------------
------... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.