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 |
|---|---|---|---|---|---|
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/thug/scavenger.lua | 1 | 1526 | scavenger = Creature:new {
objectName = "@mob/creature_names:scavenger",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "thug",
faction = "thug",
level = 7,
chanceHit = 0.260000,
damageMin = 55,
damageMax = 65,
baseXp = 147,
baseHAM = 270,
baseHAMmax = 330,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
me... | agpl-3.0 |
AliKhodadad/Test | plugins/seedflood.lua | 7 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 4 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/melee/axe/base/objects.lua | 3 | 3905 | --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 |
AndyClausen/PNRP_HazG | postnukerp/Gamemode/items/firearms_code/fas2_battle_rifle/fas2_g3.lua | 1 | 1492 | local ITEM = {}
local WEAPON = {}
ITEM.ID = "fas2_g3"
ITEM.Name = "H&K G3A3 "
ITEM.ClassSpawn = "Engineer"
ITEM.Scrap =450
ITEM.Small_Parts =500
ITEM.Chemicals = 150
ITEM.Chance =100
ITEM.Info = "The G3 is a 7.62×51mm NATO battle rifle developed in the 1950s"
ITEM.Type = "battle"
ITEM.Remove = true
... | gpl-3.0 |
Whitechaser/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Angra_Mainyu.lua | 5 | 2161 | -----------------------------------
-- Area: Dynamis Beaucedine
-- MOB: Angra Mainyu
-- Mega Boss
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
function onMobInitialize(mob)
end;
funct... | gpl-3.0 |
matiasinsaurralde/tyk-buildpack | tyk/coprocess/lua/bundle.lua | 6 | 2161 | local cjson = require "cjson"
-- Make the current object accessible for helpers.
object = nil
-- This will be generated by the bundle (request.lua):
local request = {}
local session = {}
-- Based on: https://github.com/openresty/lua-nginx-module#ngxreqset_body_file
function request.start_time()
end
function reques... | apache-2.0 |
njligames/NJLIGameEngine | src/njli/platform/cmake.in/ldoc.in/Material.lua | 4 | 6450 |
----
-- @file Material
---- Brief description.
-- <#Description#>
-- @return <#return value description#>
function Material:calculateSerializeBufferSize()
end
---- Brief description.
-- @author James Folk, 16-02-11 15:02:32
-- <#Description#>
-- @param dataBuffer <#dataBuffer description#>
-- @param btSerializer <#... | mit |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/food/dish_synthsteak.lua | 2 | 3276 | --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/intangible/ship/blacksun_medium_s04_pcd.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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/intangible/ship/tieadvanced_pcd.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 |
DailyShana/ygopro-scripts | c36042004.lua | 9 | 1187 | --ベビケラサウルス
function c36042004.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(36042004,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondi... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/skirt/skirt_s04.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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/droid/droid_wound_repair_kit_d.lua | 2 | 3589 | --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/components/shield_generator/shd_cygnus_mk1.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 |
DailyShana/ygopro-scripts | c10755984.lua | 3 | 1876 | --ダイガスタ・イグルス
function c10755984.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x10),1)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(10755984,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGE... | gpl-2.0 |
DailyShana/ygopro-scripts | c16404809.lua | 9 | 1935 | --クリバンデット
function c16404809.initial_effect(c)
--mill
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetOperation(c16404809.sumsuc)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetDe... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/endor/jinda_elder_worker.lua | 2 | 1137 | jinda_elder_worker = Creature:new {
objectName = "@mob/creature_names:jinda_elder_worker",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "jinda_tribe",
faction = "",
level = 15,
chanceHit = 0.31,
damageMin = 160,
damageMax = 170,
baseXp = 831,
baseHAM = 2400,
baseHAMmax = 3000,
armor = 0,
resists = {5,5... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/pants/pants_s29.lua | 3 | 5176 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
DailyShana/ygopro-scripts | c51020079.lua | 5 | 1541 | --サイボーグドクター
function c51020079.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(51020079,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetTarget(c... | gpl-2.0 |
xiewen/DBProxy | tests/suite/base/t/xtab1-mock.lua | 4 | 1117 | --[[ $%BEGINLICENSE%$
Copyright (c) 2008, 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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/item/item_edb_con_tato_cup_s2.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/building/player/construction/construction_player_house_generic_small_style_01.lua | 3 | 2418 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Zefiros-Software/premake-core | modules/vstudio/tests/vc2010/test_debug_settings.lua | 8 | 2640 | --
-- tests/actions/vstudio/vc2010/test_debug_settings.lua
-- Validate handling of the working directory for debugging.
-- Copyright (c) 2011-2013 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("vstudio_vs2010_debug_settings")
local vc2010 = p.vstudio.vc2010
local project = p... | bsd-3-clause |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/stintaril_hue.lua | 3 | 2168 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
DailyShana/ygopro-scripts | c1073952.lua | 9 | 1186 | --マジック・プランター
function c1073952.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c1073952.cost)
e1:SetTarget(c1073952.target)
e1:SetOperation(c1073952.acti... | gpl-2.0 |
xunhuang1995/AdaIN-style | lib/StyleINLossModule.lua | 1 | 4974 | require 'nn'
local module, parent = torch.class('nn.StyleINLossModule', 'nn.Module')
function module:__init(strength, normalize, nChannel)
parent.__init(self)
self.normalize = normalize or false
self.strength = strength or 1
self.target_mean = nil
self.target_std = nil
self.mean_loss = 0
se... | mit |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/structure/naboo_house_player_large.lua | 2 | 3703 | --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 | c41741922.lua | 3 | 1734 | --ラヴァ・ドラゴン
function c41741922.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(41741922,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c41741922.spcost)
e1:SetTarget(c41741922.sptg)
e1:SetOpera... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/engine/engine_limiter_mk2.lua | 2 | 2797 | --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/space/content_infrastructure/quest_manager.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/draft_schematic/weapon/staff.lua | 2 | 2994 | --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/components/weapon/wpn_incom_seismic_missile_s01.lua | 3 | 2332 | --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/general/prp_junk_s5.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 |
DailyShana/ygopro-scripts | c90407382.lua | 3 | 1314 | --ザ・キックマン
function c90407382.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(90407382,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_chest_plate_quest.lua | 1 | 4776 | --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 |
silverkorn/ZeroBranePackage | overtype.lua | 1 | 1071 | local G = ...
local id = G.ID("overtype.overtype")
local menuid
return {
name = "Overtype on/off",
description = "Allows to switch overtyping on/off on systems that don't provide shortcut for that.",
author = "Paul Kulchenko",
version = 0.2,
dependencies = 0.50,
onRegister = function(self)
local menu =... | mit |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/weapon/blaster_barrel_wp_muzzle_lg_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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/hq_destructible/serverobjects.lua | 3 | 2354 | --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/attachment/engine/yt1300_engine_s02.lua | 3 | 2284 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/corellia/cloning_corellia.lua | 2 | 3694 | --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/building/player/city/garden_naboo_lrg_05.lua | 3 | 2749 | --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/Davoi/npcs/Hide_Flap.lua | 5 | 2499 | -----------------------------------
-- Area: Davoi
-- NPC: Hide Flap
-- Involved in Quest: The Doorman, The First Meeting
-- !pos 293 3 -213 149 (WAR)(K-9)
-- !pos -124 3 -43 149 (MNK)(F-7)
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
Whitechaser/darkstar | scripts/zones/Port_Bastok/npcs/Denvihr.lua | 5 | 1236 | -----------------------------------
-- Area: Port Bastok
-- NPC: Denvihr
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/zon... | gpl-3.0 |
KingRaptor/Zero-K | effects/gundam_beamimpact.lua | 26 | 2553 | -- beamimpact
return {
["beamimpact"] = {
groundflash = {
air = true,
alwaysvisible = true,
circlealpha = 0.2,
circlegrowth = 4,
flashalpha = 0.5,
flashsize = 110,
ground = true,
ttl = 10,... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_jewelry_necklace_06.lua | 2 | 3311 | --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 |
tectronics/crinkle | common/Position.lua | 1 | 3502 | --[[ Copyright 2012, Chris Ho ]]--
--[[ MIT License (Please read the LICENSE file for details) ]]--
-- The definition for positional data includes:
-- x: horizontal coordinate
-- y: vertical coordinate
Position = {};
-- Create a position from x/y coordinates.
function Position.Create(_x,... | mit |
DailyShana/ygopro-scripts | c89810518.lua | 5 | 1659 | --レプティレス・メデューサ
function c89810518.initial_effect(c)
--atk change
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(89810518,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c89810518.cost)
e1:SetT... | gpl-2.0 |
njligames/NJLIGameEngine | projects/ELIA/gameplay_scripts/yappybirds_game/scripts/headers.lua | 133 | 3698 | -----------------------------------------------------------------------------
-- Canonic header field capitalization
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
local socket = require("socket")
socket.headers = {}
local _M = socket.headers
... | mit |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/firework/firework_s05.lua | 2 | 2779 | --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/initializeComponent.lua | 4 | 2150 | --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/mobile/skeleton/fambaa.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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/armor/arm_kessel_imperial_sds_imperial_impervious.lua | 3 | 2384 | --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/Giddeus/TextIDs.lua | 5 | 1685 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6386; -- Obtained: <item>.
GIL_OBTAINED = 6387; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6... | gpl-3.0 |
DailyShana/ygopro-scripts | c2295831.lua | 3 | 1948 | --ピースの輪
function c2295831.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_TO_HAND)
e1:SetCondition(c2295831.regcon)
e1:SetOperation(c2295831.regop)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TO... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_ith_jacket_field_13.lua | 2 | 3470 | --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/managers/object/object_manager.lua | 2 | 12354 | Object = {}
-- for creation of new instances
function Object:new (o)
o = o or { }
setmetatable(o, self)
self.__index = self
return o
end
_localLuaAiAgent = LuaAiAgent(nil)
_localLuaAiAgent1 = LuaAiAgent(nil)
_localLuaAiAgent2 = LuaAiAgent(nil)
_localLuaAiAgent3 = LuaAiAgent(nil)
_localLuaSceneObject = LuaS... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dewback.lua | 3 | 2144 | --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 | c17132130.lua | 5 | 2263 | --D-HERO ドグマガイ
function c17132130.initial_effect(c)
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--special summon
local e... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/space/debris/objects.lua | 3 | 52704 | --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/mission/quest_item/feedback_controller.lua | 3 | 2724 | --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 |
AliKhodadad/Test | plugins/qr.lua | 14 | 1737 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
Whitechaser/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Justinius.lua | 5 | 1640 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Justinius
-- Involved in mission : COP2-3
-- !pos 76 -34 68 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("sc... | gpl-3.0 |
DailyShana/ygopro-scripts | c34694160.lua | 7 | 1391 | --真実の眼
function c34694160.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_PUBLIC)
e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(0,... | gpl-2.0 |
njligames/NJLIGameEngine | src/njli/platform/cmake.in/ldoc.in/PhysicsFieldBuilder.lua | 4 | 2084 |
----
-- @file PhysicsFieldBuilder
---- Brief description.
-- <#Description#>
-- @return <#return value description#>
function PhysicsFieldBuilder:calculateSerializeBufferSize()
end
---- Brief description.
-- @author James Folk, 16-02-11 15:02:14
-- <#Description#>
-- @param dataBuffer <#dataBuffer description#>
-- ... | mit |
DailyShana/ygopro-scripts | c44910027.lua | 3 | 1659 | --ヴィクトリー・ドラゴン
function c44910027.initial_effect(c)
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEffect(e1)
--summon with 3 tribute
local e1=Effect.CreateEff... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/chemistry/medpack_disease_stamina_a.lua | 2 | 3724 | --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/Crawlers_Nest/npcs/Treasure_Coffer.lua | 5 | 4225 | -----------------------------------
-- Area: Crawler Nest
-- NPC: Treasure Coffer
-- @zone 197
-- !pos -94 0 207
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/flora/serverobjects.lua | 3 | 4263 | --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/theme_park/alderaan/act3/grav_unit_repair_kit.lua | 3 | 2304 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/vehicle/objects.lua | 3 | 11546 | --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 |
DailyShana/ygopro-scripts | c2047519.lua | 9 | 1435 | --隠れ兵
function c2047519.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(c2047519.condition)
e1:SetTarget(c2047519.target)
e1:SetOperation(c2047519.activate)
c:RegisterEffect(e1... | gpl-2.0 |
Whitechaser/darkstar | scripts/globals/mobskills/hellclap.lua | 2 | 1240 | ---------------------------------------------------
-- Hellclap
-- Deals magical damage to enemies within a fan-shaped area. Additional effect: Weight
---------------------------------------------------
require("scripts/globals/monstertpmoves");
require("scripts/globals/settings");
require("scripts/globals/status");
--... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/encoded_disk/message_fragment_base.lua | 1 | 2326 | --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 | c32710364.lua | 3 | 2333 | --宝玉獣ルビー・カーバンクル
function c32710364.initial_effect(c)
--send replace
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TO_GRAVE_REDIRECT_CB)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetCondition(c32710364.repcon)
e1:SetOperation(c32710364.repop)
c:RegisterEffect(e1)
--special sum... | gpl-2.0 |
DailyShana/ygopro-scripts | c27618634.lua | 5 | 1841 | --薄幸の乙女
function c27618634.initial_effect(c)
--battle indestructable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetValue(1)
e1:SetCondition(c27618634.indcon)
c:RegisterEffect(e1)
--battled
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SI... | gpl-2.0 |
xuminwlt/codis | extern/redis-2.8.13/deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
MOON-CLJ/redis | deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | bsd-3-clause |
CptJason/codis | extern/redis-2.8.21/deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
njligames/NJLIGameEngine | projects/ELIA/gameplay_scripts/yappybirds_game/scripts/YAPPYBIRDS/NODES/BALLOON/STATES/Spawn.lua | 4 | 6138 | local BaseClass = require "NJLI.STATEMACHINE.NodeEntityState"
local Spawn = {}
Spawn.__index = Spawn
--#############################################################################
--DO NOT EDIT ABOVE
--#############################################################################
--##################################... | mit |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/rori/narmle_militia_major.lua | 1 | 1246 | narmle_militia_major = Creature:new {
objectName = "@mob/creature_names:narmle_major",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "narmle",
faction = "narmle",
level = 19,
chanceHit = 0.33,
damageMin = 180,
damageMax = 190,
baseXp = 1426,
baseHAM = 4500,
baseHAMmax = 5500,
armor = 0,
resists = {0,0,0... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/corellia/corl_stair_medium_s01.lua | 3 | 2276 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/bio_engineer/utilities/pet_stimpack_c.lua | 1 | 3651 | --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/wearables/gloves/gloves_s03.lua | 3 | 4228 | --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 |
VideahGams/thranduil | examples/chatbox/ui/Draggable.lua | 1 | 4076 | local ui_path = tostring(...):sub(1, -10)
local Object = require(ui_path .. 'classic/classic')
local Draggable = Object:extend('Draggable')
function Draggable:draggableNew(settings)
local settings = settings or {}
self.dragging = false
self.drag_hot = false
self.drag_enter = false
self.drag_exit = ... | mit |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/structure/generic_house_player_small.lua | 2 | 3737 | --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 |
usernameHed/Worms | Debug/scripts/ai.lua | 2 | 2250 | --[[data = {
{
awt1 = 0,
awt2 = 0,
awt3 = 0,
distance = 30,
groundSize = 20,
distNearestEnemy = 30,
currentLife = 0,
wormsId = 0
},
{
awt1 = 1,
awt2 = 0,
awt3 = 0,
distance = 30,
groundSize = 20,
distNearestEnemy = 30,
currentLife = 0,
wormsId = 1
... | mit |
Whitechaser/darkstar | scripts/globals/spells/armys_paeon_v.lua | 2 | 1368 | -----------------------------------------
-- Spell: Army's Paeon V
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
en... | gpl-3.0 |
DailyShana/ygopro-scripts | c69488544.lua | 3 | 3313 | --フェニックス・ギア・フリード
function c69488544.initial_effect(c)
aux.EnableDualAttribute(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(69488544,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_F... | gpl-2.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/commands/healMindSelf1.lua | 3 | 2149 | --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 | c24920410.lua | 3 | 2094 | --オーバー・レンチ
function c24920410.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,2492... | gpl-2.0 |
Whitechaser/darkstar | scripts/zones/West_Ronfaure/npcs/Yoshihiro_IM.lua | 2 | 2981 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Yoshihiro, I.M.
-- Outpost Conquest Guards
-- !pos -450.571 -20.807 -219.970 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
r... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/general/repairdroidtorso.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/mobile/conversations/village/fs_village_convo7_conv.lua | 1 | 5214 | fsVillageConvo7Template = ConvoTemplate:new {
initialScreen = "",
templateType = "Lua",
luaClassHandler = "fsVillageConvo7Handler",
screens = {}
}
intro = ConvoScreen:new {
id = "intro",
leftDialog = "@conversation/fs_village_convo7:s_6cf0908b", -- We're never going to get our planting done in time with everythi... | agpl-3.0 |
Whitechaser/darkstar | scripts/zones/Windurst_Woods/npcs/Etsa_Rhuyuli.lua | 5 | 1117 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Etsa Rhuyuli
-- Type: Standard NPC
-- !pos 62.482 -8.499 -139.836 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/hair/sullustan/sul_hair_s11_m.lua | 3 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/space/capacitor/quick_recharge_battery_mk2.lua | 2 | 3346 | --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/mobskills/wire_cutter.lua | 35 | 1160 | ---------------------------------------------------
-- Wire_Cutter
-- Single-target damage (~500-1500), absorbed by 2 Utsusemi shadows.
--
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
-------------... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/fynock_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 |
Whitechaser/darkstar | scripts/zones/Monastic_Cavern/npcs/Altar.lua | 5 | 1489 | -----------------------------------
-- Area: Monastic Cavern
-- NPC: Altar
-- Involved in Quests: The Circle of Time
-- !pos 108 -2 -144 150
-----------------------------------
package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require(... | gpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/droid_interface/ddi_cygnus_di8.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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.