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
ZeroK-RTS/Zero-K
LuaRules/Gadgets/unit_econ_mult.lua
6
5836
if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Economy Multiplier Handicap", desc = "Handles...
gpl-2.0
ZeroK-RTS/Zero-K
scripts/turretaaheavy.lua
2
2114
include "constants.lua" -------------------------------------------------------------------------------- -- pieces -------------------------------------------------------------------------------- local base, turret, barrel, flare = piece('base', 'turret', 'barrel', 'flare') local smokePiece = {turret, barrel} ------...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/unit_auto_reclaim_heal_assist.lua
6
4545
function widget:GetInfo() return { name = "Auto Reclaim/Heal/Assist", desc = "Makes idle unselected builders automatically repair nearby damages units, reclaim nearby wrecks and assist nearby construction.", author = "dyth68", date = "2020", license = ...
gpl-2.0
X-Coder/sbep
lua/entities/sbep_elev_system/init.lua
1
16676
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( "shared.lua" ) ENT.WireDebugName = "SBEP Elevator System" local PMT = {} PMT.S = { "models/smallbridge/elevators_small/sbselevp0.mdl" , "models/smallbridge/elevators_small/sbselevp1.mdl" , "models/smallbridge/elevators_small/sbselevp2e.mdl" , ...
apache-2.0
ZeroK-RTS/Zero-K
effects/nota_lrpc_expl.lua
50
1295
-- lrpc_expl return { ["lrpc_expl"] = { usedefaultexplosions = true, bang = { air = true, class = [[heatcloud]], count = 2, ground = true, water = true, properties = { heat = 12, ...
gpl-2.0
threathunterX/nebula
nebula_apps/nebula_nginx/lualib/resty/http_headers.lua
4
1150
local rawget, rawset, setmetatable = rawget, rawset, setmetatable local str_lower = string.lower local _M = { _VERSION = '0.11', } -- Returns an empty headers table with internalised case normalisation. function _M.new() local mt = { normalised = {}, } mt.__index = function(t, k) ...
apache-2.0
threathunterX/nebula
nebula_apps/openresty/lualib/resty/http_headers.lua
4
1150
local rawget, rawset, setmetatable = rawget, rawset, setmetatable local str_lower = string.lower local _M = { _VERSION = '0.11', } -- Returns an empty headers table with internalised case normalisation. function _M.new() local mt = { normalised = {}, } mt.__index = function(t, k) ...
apache-2.0
threathunterX/nebula
nebula_apps/openresty/lualib/ngx/balancer.lua
3
3670
-- Copyright (C) Yichun Zhang (agentzh) local ffi = require "ffi" local base = require "resty.core.base" local C = ffi.C local ffi_str = ffi.string local errmsg = base.get_errmsg_ptr() local FFI_OK = base.FFI_OK local FFI_ERROR = base.FFI_ERROR local int_out = ffi.new("int[1]") local getfenv = getfenv local error =...
apache-2.0
threathunterX/nebula
nebula_apps/openresty/lualib/metrics_util.lua
2
4148
local _M = {} local str_fmt = string.format local tbl_cat = table.concat local tbl_ins = table.insert local str_find = string.find local str_sub = string.sub local log = ngx.log local ERR = ngx.ERR local DEBUG = ngx.DEBUG function _M.string_split(s, delimeter, step) local index = 0 local res = {} local count ...
apache-2.0
ZeroK-RTS/Zero-K
LuaRules/Utilities/pmap.lua
1
6097
--[[ 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, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will b...
gpl-2.0
ZeroK-RTS/Zero-K
LuaRules/Gadgets/game_synced_lod.lua
1
1396
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/unit_shapes.lua
2
25761
function widget:GetInfo() return { name = "UnitShapes", desc = "0.5.8.zk.02 Draws blended shapes around units and buildings", author = "Lelousius and aegis, modded Licho, CarRepairer, jK, Shadowfury333", date = "30.07.2010", license = "GNU GPL, v2 or later", layer = 2, enabled =...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/gui_chili_deluxeplayerlist.lua
5
56410
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Chili Deluxe Player List - Alpha 2.02", desc = "v0.210 Chili Deluxe Player List, Alpha Release...
gpl-2.0
ZeroK-RTS/Zero-K
units/chickenspire.lua
2
3997
return { chickenspire = { unitname = [[chickenspire]], name = [[Chicken Spire]], description = [[Static Artillery]], activateWhenBuilt = true, buildCostEnergy = 0, buildCostMetal = 0, builder ...
gpl-2.0
ZeroK-RTS/Zero-K
effects/nuke_bigland.lua
7
10352
return { ["nukebigland"] = { --This is the Nuke - it consists of a Ground Explosion going up --a Shockwave going outwards --a Smokepillar forming and slowly disspipating -- 1 Seconds Explosion -- 2 Seconds Arrival of Shockwave- Formation of Explodecloud -- 5 Seconds Shockwave at 1,5 km - after this has en...
gpl-2.0
gigte/gram
lua/gram/render_radar.lua
1
6271
--[[ Gram is a map framework for Garry's Mod Copyright (C) 2015 GIG <bigig@live.ru> -- 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 3 of the License, or (at your option)...
gpl-3.0
ZeroK-RTS/Zero-K
effects/disruptor_beam.lua
4
2523
return { ["heavy_disruptor_beam_hit"] = { usedefaultexplosions = false, airflash = { air = true, class = [[heatcloud]], count = 3, ground = true, water = true, underwater = 1, unit = 1, properties = { ...
gpl-2.0
ZeroK-RTS/Zero-K
LuaRules/Configs/StartBoxes/Fallendell_V3.lua
12
2179
local tiny = { [0] = { startpoints = { {250,2200}, }, boxes = { { {20,1975}, {550,1975}, {550,2375}, {20,2375}, }, }, nameLong = "West", nameShort = "W", }, [1] = { startpoints = { {6144-250,5120-2200}, }, boxes = { { {6144-20,5120-1975}, {6144-550,5120-1975},...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/cmd_guard_remove.lua
1
3813
function widget:GetInfo() return { name = "Guard Remove", desc = "Removes non-terminating orders when they seem to have been used accidentally.", author = "Google Frog", date = "13 July 2017", license = "GNU GPL, v2 or later", layer = -10, -- Before NoDuplicateOrders enabled = ...
gpl-2.0
ZeroK-RTS/Zero-K
scripts/vehcon.lua
2
4481
include "constants.lua" local base, body, lift, turret, cradle, rear, nano, cab, firepoint = piece('base', 'body', 'lift', 'turret', 'cradle', 'rear', 'nano', 'cab', 'firepoint') local panel_t, panel_r, panel_l, panel_b = piece('panel_t', 'panel_r', 'panel_l', 'panel_b') local door1, door2 = piece('door1', 'door2') l...
gpl-2.0
ZeroK-RTS/Zero-K
LuaRules/Configs/StartBoxes/Lava Highground 2.11.lua
1
3626
local startSW = { 596, 3566} local boxSW = { {1471, 4095}, {1456, 4025}, {1434, 3992}, {1428, 3959}, {1427, 3928}, {1425, 3880}, {1382, 3813}, {1371, 3777}, {1364, 3730}, {1366, 3669}, {1381, 3645}, {1384, 3622}, {1356, 3543}, {1325, 3502}, {1301, 3474}, {1238, 3451}, {1157, 3446}, {1125, 3437}, {105...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/gfx_lups_manager.lua
6
10482
-- $Id: gfx_lups_manager.lua 4440 2009-04-19 15:36:53Z licho $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- author: jK -- -- Copyright (C) 2007,2008. -- Licensed under the terms of the GNU GPL,...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/snd_text_to_speech.lua
8
3192
function widget:GetInfo() return { name = "Text To Speech Control", desc = "Enables or disables text to speech through Zero-K lobby", author = "Licho", date = "10.6.2011", license = "GNU GPL, v2 or later", layer = math.huge, enabled = true, -- loaded by default? alwaysStart = true } end ----...
gpl-2.0
ZeroK-RTS/Zero-K
gamedata/modularcomms/weapons/disintegrator.lua
6
1204
local name = "commweapon_disintegrator" local weaponDef = { name = [[Disintegrator]], areaOfEffect = 48, avoidFeature = false, avoidFriendly = false, avoidGround = false, avoidNeutral = false, commandfire = true, craterBoost ...
gpl-2.0
ZeroK-RTS/Zero-K
scripts/turretheavy.lua
8
5589
include "constants.lua" include "QueryWeaponFixHax.lua" --pieces local base = piece "Base" local shellbase = piece "ShellBase" local shell_1 = piece "Shell_1" local shell_2 = piece "Shell_2" -- guns local cannonAim = piece "cannonAim" local cannonbase = piece "CannonBase" local cannon = piece "Cannon" local flare1 =...
gpl-2.0
SpiderNight/TwilightsEveORPG
game/scripts/vscripts/abilities/druid/summoner/ArcticFreeze.lua
1
1979
teve_druid_summoner_arctic_freeze = class({}) LinkLuaModifier( "modifier_teve_druid_summoner_arctic_freeze", "abilities/druid/summoner/modifier_teve_druid_summoner_arctic_freeze", LUA_MODIFIER_MOTION_NONE ) function teve_druid_summoner_arctic_freeze:OnSpellStart() local arctic_freeze_duration = 3 local arctic_...
mit
ZeroK-RTS/Zero-K
effects/norma.lua
7
4059
-- norma_flames_smoke -- norma -- norma_flames_orange -- norma_flames return { ["norma_flames_smoke"] = { fire = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = true, propertie...
gpl-2.0
ZeroK-RTS/Zero-K
units/jumpaa.lua
2
5036
return { jumpaa = { unitname = [[jumpaa]], name = [[Toad]], description = [[Heavy Anti-Air Jumper]], acceleration = 0.54, brakeRate = 1.2, buildCostMetal = 500, buildPic = [[jumpaa.png]], canMove = true, category ...
gpl-2.0
ZeroK-RTS/Zero-K
lups/ParticleClasses/gimmick1.lua
8
4466
-- $Id: gimmick1.lua 3171 2008-11-06 09:06:29Z det $ ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- local SantaHat = {} SantaHat.__index =...
gpl-2.0
ZeroK-RTS/Zero-K
lups/ParticleClasses/OverdriveParticles.lua
8
11147
-- $Id: OverdriveParticles.lua 3345 2008-12-02 00:03:50Z jk $ ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- local OverdriveParticles = {}...
gpl-2.0
ZeroK-RTS/Zero-K
units/bomberprec.lua
2
8006
return { bomberprec = { unitname = [[bomberprec]], name = [[Raven]], description = [[Precision Bomber (Anti-Sub)]], brakerate = 0.4, buildCostMetal = 300, builder = false, buildPic = [[bomberprec.png]], canFly = true, ...
gpl-2.0
ZeroK-RTS/Zero-K
scripts/platespider.lua
4
1683
include "constants.lua" include "plates.lua" local base, turret, arm_1, arm_2, arm_3, nanobase, nanoemit, pad, nozzle, cylinder, body = piece ('base', 'turret', 'arm_1', 'arm_2', 'arm_3', 'nanobase', 'nanoemit', 'pad', 'nozzle', 'cylinder', 'body') local nanoPieces = { nanoemit } local smokePiece = { base, body } lo...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/gui_api_draw_after_chili.lua
8
1073
------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Draw After Chili", desc = "Lets widgets with layers below Chili do some of their drawing ...
gpl-2.0
ZeroK-RTS/Zero-K
units/jumparty.lua
1
3982
return { jumparty = { unitname = [[jumparty]], name = [[Firewalker]], description = [[Saturation Artillery Walker]], acceleration = 0.36, brakeRate = 1.44, buildCostMetal = 900, builder = false, buildPic ...
gpl-2.0
threathunterX/nebula
nebula_apps/openresty/luajit/share/luajit-2.1.0-beta2/jit/bcsave.lua
2
18503
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
apache-2.0
ZeroK-RTS/Zero-K
LuaRules/Configs/StartBoxes/Iced Coffee v4.3.lua
8
1916
return { [0] = { boxes = { { {2501.6335449219, 753.90344238281}, {2172.1101074219, 430.34170532227}, {2216.1037597656, 386.40158081055}, {2320.662109375, 364.4716796875}, {2398.1352539063, 343.24713134766}, {2467.3872070313, 353.52038574219}, {2566.8725585938, 365.91967773438}, {26...
gpl-2.0
ZeroK-RTS/Zero-K
LuaRules/Gadgets/awards.lua
3
22304
function gadget:GetInfo() return { name = "Awards", desc = "v1.002 Awards players at end of battle with shiny trophies.", author = "CarRepairer", date = "2008-10-15", --2013-09-05 license = "GNU GPL, v2 or later", layer = 1000000, -- Must be after all other build steps and before unit_spawner.l...
gpl-2.0
ZeroK-RTS/Zero-K
effects/hovers.lua
8
3177
-- hovers_on_ground -- heavyhovers_on_ground -- transport_hovers_on_ground return { ["hovers_on_ground"] = { clouds0 = { air = false, class = [[CSimpleParticleSystem]], count = 1, ground = true, underwater = 0, water...
gpl-2.0
ZeroK-RTS/Zero-K
LuaRules/Configs/cai/general.lua
8
1436
include("LuaRules/Configs/CAI/buildtasks.lua") include("LuaRules/Configs/CAI/unitarrays.lua") include("LuaRules/Configs/CAI/brains.lua") include("LuaRules/Configs/CAI/battlegroupcondition.lua") include("LuaRules/Configs/CAI/configCoordinator.lua") include("LuaRules/Configs/CAI/strategies.lua") include("LuaRules/Configs...
gpl-2.0
ZeroK-RTS/Zero-K
scripts/plateshield.lua
2
1798
include "constants.lua" include "plates.lua" local base, turret, arm_1, arm_2, arm_3, nanobase, rightpiece, leftpiece, nanoemit, pad, nozzle, cylinder, back = piece ('base', 'turret', 'arm_1', 'arm_2', 'arm_3', 'nanobase', 'rightpiece', 'leftpiece', 'nanoemit', 'pad', 'nozzle', 'cylinder', 'back') local nanoPieces = ...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/gui_recv_indicator.lua
6
20273
local versionName = "v1.294" function widget:GetInfo() return { name = "Receive Units Indicator", desc = versionName .. " Notify users of received units from unit transfer", author = "msafwan", date = "Jan 30, 2012", --minor clean up: June 25, 2013 license = "GNU GPL, v2 or lat...
gpl-2.0
ZeroK-RTS/Zero-K
LuaRules/Configs/oneclick_weapon_defs.lua
1
3775
-- reloadTime is in seconds local oneClickWepDefs = {} local oneClickWepDefNames = { terraunit = { { functionToCall = "Detonate", name = "Cancel", tooltip = "Cancel selected terraform units.", texture = "LuaUI/Images/Commands/Bold/cancel.png", partBuilt = true}, }, gunshipkrow = { { functionToCall = "ClusterBo...
gpl-2.0
ZeroK-RTS/Zero-K
LuaRules/Gadgets/weapon_reaim_time.lua
8
3092
function gadget:GetInfo() return { name = "Weapon Reaim Time", desc = "Implement weapon reaim time tag", author = "GoogleFrog", date = "4 February 2018", license = "GNU GPL, v2 or later", layer = 0, enabled = true, } end --------------------------------------------------------...
gpl-2.0
ZeroK-RTS/Zero-K
effects/gundam_factorysparks.lua
26
2414
-- factorysparks return { ["factorysparks"] = { sparks1 = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, properties = { airdrag = 0.9, colormap = [[0.4 0.5 0.9 0.04 ...
gpl-2.0
thypon/ulatencyd
rules/test.lua
2
1182
flag = ulatency.new_flag{name="test", reason="dbus"} ulatency.add_flag(flag) flag = ulatency.new_flag{name="test", reason="need more data", value=32, threshold=666} ulatency.add_flag(flag) print("-------") pprint(ulatency.get_sessions()) print("-------") PrintProcTest = { name = "Test", --re_basename = "preload",...
gpl-3.0
SpiderNight/TwilightsEveORPG
game/scripts/vscripts/abilities/druid/summoner/Regeneration.lua
1
1115
teve_druid_summoner_regeneration = class({}) LinkLuaModifier( "modifier_teve_druid_summoner_regeneration", "abilities/druid/summoner/modifier_teve_druid_summoner_regeneration", LUA_MODIFIER_MOTION_NONE ) function teve_druid_summoner_regeneration:OnSpellStart() print("Regeneration!!") local hTarget = self:GetCu...
mit
ZeroK-RTS/Zero-K
units/turretmissile.lua
1
4461
return { turretmissile = { unitname = [[turretmissile]], name = [[Picket]], description = [[Light Missile Tower]], buildCostMetal = 100, builder = false, buildingGroundDecalDecaySpeed = 30, buildingGroundD...
gpl-2.0
SpiderNight/TwilightsEveORPG
game/scripts/vscripts/abilities/druid/druid/modifier_teve_druid_druid_fire_storm.lua
1
2003
modifier_teve_druid_druid_fire_storm = class({}) function modifier_teve_druid_druid_fire_storm:OnCreated( kv ) self.fire_storm_damage = 30 * self:GetAbility():GetLevel() self.tick_rate = 0.1 self.iter = 0 if IsServer() then self:StartIntervalThink( self.tick_rate ) end end function modifi...
mit
AYTOOR/aytoor
plugins/banhammer.lua
24
41763
local function pre_process(msg) if msg.to.type ~= 'pv' then chat = msg.to.id user = msg.from.id local function check_newmember(arg, data) test = load_data(_config.moderation.data) lock_bots = test[arg.chat_id]['settings']['lock_bots'] local hash = "gp_lang:"..arg.chat_id local lang = redis:get(hash) if data...
gpl-3.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/COFCtools/ExportUtilities.lua
6
1098
function SetCameraState(cs, smoothness) if WG.COFC_SetCameraState then WG.COFC_SetCameraState(cs, smoothness or 0) else Spring.SetCameraState(cs, smoothness or 0) end end function SetCameraTarget(x, y, z, smoothness, useSmoothMeshSetting, dist) if WG.COFC_SetCameraTarget then WG.COFC_SetCameraTarget(x, y, z...
gpl-2.0
X-Coder/sbep
lua/autorun/client/cl_spawnlist_gen.lua
3
52490
--[[ Copyright (C) 2012-2014 Spacebuild Development Team Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
apache-2.0
billzorn/torch-rnn
test/LSTM_test.lua
17
7013
require 'torch' require 'nn' require 'LSTM' local gradcheck = require 'util.gradcheck' local tests = torch.TestSuite() local tester = torch.Tester() local function check_size(x, dims) tester:assert(x:dim() == #dims) for i, d in ipairs(dims) do tester:assert(x:size(i) == d) end end function tests.testFo...
mit
ZeroK-RTS/Zero-K
units/nebula.lua
2
5581
return { nebula = { unitname = [[nebula]], name = [[Nebula]], description = [[Atmospheric Mothership]], acceleration = 0.04, activateWhenBuilt = true, airStrafe = 0, bankingAllowed = false, brakeRate = 0.48, bu...
gpl-2.0
threathunterX/nebula
nebula_apps/openresty/lualib/resty/upload.lua
2
5178
-- Copyright (C) Yichun Zhang (agentzh) -- local sub = string.sub local req_socket = ngx.req.socket local match = string.match local setmetatable = setmetatable local type = type local ngx_var = ngx.var -- local print = print local _M = { _VERSION = '0.10' } local CHUNK_SIZE = 4096 local MAX_LINE_SIZE = 512 loca...
apache-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/cmd_newton_firezone.lua
2
34744
function widget:GetInfo() return { name = "Newton Firezone", desc = "Adds the Firezone command for Newtons. Allies in an area are targeted.", author = "wolas, xponen, Google Frog", --xponen (add crash location estimator) date = "2013", license = "GNU GPL, v2 or later", layer = 20, handler = true,...
gpl-2.0
ZeroK-RTS/Zero-K
units/amphraid.lua
2
5665
return { amphraid = { unitname = [[amphraid]], name = [[Duck]], description = [[Amphibious Raider (Anti-Sub, Undersea Fire)]], acceleration = 0.54, activateWhenBuilt = true, brakeRate = 2.25, buildCostMetal = 80, buildPic ...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/gui_selection_modkeys.lua
8
7236
function widget:GetInfo() return { name = "Selection Modkeys", desc = "Implement reimplementation of selection modkeys.", author = "GoogleFrog", date = "24 January 2018", license = "GNU GPL, v2 or later", layer = -32, enabled = true, } end -------------------------------------...
gpl-2.0
ZeroK-RTS/Zero-K
effects/torpedolauncher.lua
25
1343
-- placeholder return { ["placeholder"] = { bubbles = { air = false, class = [[CSimpleParticleSystem]], count = 1, ground = false, water = true, properties = { airdrag = 0.6, colormap ...
gpl-2.0
ZeroK-RTS/Zero-K
scripts/gunshipkrow.lua
1
10098
include 'constants.lua' include 'letsNotFailAtTrig.lua' -- by MergeNine -- shortcuts local GetUnitPosition = Spring.GetUnitPosition local SpawnCEG = Spring.SpawnCEG local GetGroundHeight = Spring.GetGroundHeight --pieces local Base = piece "Base" local RearTurretSeat = piece "RearTurretSeat" local RearTurret = piece...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/camera_smoothcam.lua
8
2263
local versionNumber = "0.5" function widget:GetInfo() return { name = "SmoothCam", desc = "[v" .. string.format("%s", versionNumber ) .. "] Moves camera smoothly", author = "very_bad_soldier", date = "August, 8, 2010", license = "GNU GPL, v2 or later", layer = 0, handler = true...
gpl-2.0
ZeroK-RTS/Zero-K
LuaRules/Gadgets/unit_teleporter.lua
5
29523
function gadget:GetInfo() return { name = "Teleporter", desc = "Implements mass teleporter", author = "Google Frog", date = "29 Feb 2012", license = "GNU GPL, v2 or later", layer = 0, enabled = true -- loaded by default? } end include("LuaRules/Configs/customcmds.h.lua") --...
gpl-2.0
ZeroK-RTS/Zero-K
effects/gundam_comm_explosiona.lua
26
4807
-- comm_explosiona return { ["comm_explosiona"] = { dirt = { count = 4, ground = true, properties = { alphafalloff = 2, alwaysvisible = true, color = [[0.2, 0.1, 0.05]], pos = [[r-10 r10, 0, r-10 r10...
gpl-2.0
ZeroK-RTS/Zero-K
effects/bulldozer.lua
7
9399
return { ["bull_flash"] = { usedefaultexplosions = false, groundflash = { circlealpha = 0.8, circlegrowth = 0, flashalpha = 1, flashsize = 125, ttl = 310, color = { [1] = 0.2, [2...
gpl-2.0
ZeroK-RTS/Zero-K
effects/disarmmissile_explosion.lua
7
4133
-- empmissile_explosion -- based on gundam_powerplant_explosion.lua return { ["disarmmissile_explosion"] = { -- electric1 = { -- air = true, -- class = [[heatcloud]], -- count = 3, -- ground = true, -- water = true, ...
gpl-2.0
ZeroK-RTS/Zero-K
scripts/hoverassault.lua
2
7195
local base = piece 'base' local shield = piece 'shield' local turret = piece 'turret' local gun = piece 'gun' local flare1 = piece 'flare1' local flare2 = piece 'flare2' local wakes = {} for i = 1, 8 do wakes[i] = piece ('wake' .. i) end local ground1 = piece 'ground1' local door1 = piece 'door1' local door2 = piece...
gpl-2.0
ZeroK-RTS/Zero-K
LuaUI/Widgets/gui_savegame.lua
6
17000
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Save Game Menu", desc = "Implements autosaves and the save menu", author = "KingRaptor", dat...
gpl-2.0
ZeroK-RTS/Zero-K
LuaRules/Gadgets/unit_is_on_fire.lua
2
8663
-- $Id: unit_is_on_fire.lua 3309 2008-11-28 04:25:20Z google frog $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Units on fire", desc = "Aa...
gpl-2.0
destdev/ygopro-scripts
c62473983.lua
4
1579
--墓守の長 function c62473983.initial_effect(c) c:SetUniqueOnField(1,0,62473983) --immune to necro valley local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EFFECT_NECRO_VALLEY_IM) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(1,0) c:RegisterEffect(e1...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/items/irmik_helvasi.lua
11
1155
----------------------------------------- -- ID: 5572 -- Item: irmik_helvasi -- Food Effect: 3 hours, All Races ----------------------------------------- -- HP +10% (cap 75) -- MP +3% (cap 13) -- INT +1 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------...
gpl-3.0
salihn11/ARMANDO
plugins/admin.lua
1
9554
--[[ _ ____ __ __ _ _ _ ____ ___ / \ | _ \| \/ | / \ | \ | | _ \ / _ \ @salih_n11 / _ \ | |_) | |\/| | / _ \ | \| | | | | | | | / ___ \| _ <| | | |/ ___ \| |\ | |_| | |_| | /_/ \_\_| \_\_| |_/_/ \_\_| \_|____/ \___/ --]] loc...
gpl-3.0
simonfork/aquaria
game_scripts/_mods/guert_mod/scripts/node_openenergydoor.lua
12
1262
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
destdev/ygopro-scripts
c75498415.lua
4
2644
--BF-暁のシロッコ function c75498415.initial_effect(c) --summon & set with no tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(75498415,0)) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c75498415.ntcon) c:RegisterEffect(e1) ...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Arrapago_Reef/mobs/Velionis.lua
11
1944
----------------------------------- -- Area: Arrapago Reef -- ZNM: Velionis ----------------------------------- mixins = {require("scripts/mixins/rage")} require("scripts/globals/status") ----------------------------------- -- Todo: blaze spikes effect only activates while not in casting animation function onMobInitia...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/weaponskills/empyreal_arrow.lua
10
1602
----------------------------------- -- Empyreal Arrow -- Archery weapon skill -- Skill level: 250 -- In order to obtain Empyreal Arrow, the quest From Saplings Grow must be completed. -- Delivers a single-hit attack. Damage varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt ...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/pot_of_honey.lua
18
1119
----------------------------------------- -- ID: 4370 -- Item: pot_of_honey -- Food Effect: 5Min, All Races ----------------------------------------- -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---...
gpl-3.0
destdev/ygopro-scripts
c84025439.lua
1
4241
--超量機神王グレート・マグナス function c84025439.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,12,3) c:EnableReviveLimit() --to deck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(84025439,0)) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHint...
gpl-2.0
your-gatsby/skynet
lualib/snax/loginserver.lua
42
5057
local skynet = require "skynet" require "skynet.manager" local socket = require "socket" local crypt = require "crypt" local table = table local string = string local assert = assert --[[ Protocol: line (\n) based text protocol 1. Server->Client : base64(8bytes random challenge) 2. Client->Server : base64(8bytes...
mit
topameng/tolua
Assets/ToLua/Lua/protobuf/type_checkers.lua
15
2366
-- -------------------------------------------------------------------------------- -- FILE: type_checkers.lua -- DESCRIPTION: protoc-gen-lua -- Google's Protocol Buffers project, ported to lua. -- https://code.google.com/p/protoc-gen-lua/ -- -- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.co...
mit
RwNigma/darkstar
scripts/zones/Altar_Room/npcs/Magicite.lua
19
1576
----------------------------------- -- Area: Altar Room -- NPC: Magicite -- Involved in Mission: Magicite -- @zone 152 -- @pos -344 25 43 ----------------------------------- package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scri...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Quicksand_Caves/TextIDs.lua
15
1486
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6384; -- Obtained: <item> GIL_OBTAINED = 6385; -- Obtained <number> gil KEYITEM_OBTAINED = 6387; -- Obtain...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/weaponskills/glory_slash.lua
10
1635
----------------------------------- -- Glory Slash -- Sword weapon skill -- Skill Level: NA -- Only avaliable during Campaign Battle while weilding Lex Talionis. -- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun. -- Will stack with Sneak Attack. -- Aligned with the Flam...
gpl-3.0
streamdataio/kong
kong/plugins/response-ratelimiting/daos.lua
7
2900
local cassandra = require "cassandra" local BaseDao = require "kong.dao.cassandra.base_dao" local timestamp = require "kong.tools.timestamp" local ResponseRateLimitingMetrics = BaseDao:extend() function ResponseRateLimitingMetrics:new(properties) self._table = "response_ratelimiting_metrics" self.queries = { ...
apache-2.0
Deadwing888/darkstar
scripts/globals/spells/jubaku_san.lua
27
1700
----------------------------------------- -- Spell: Jubaku: San -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT. -- taken from paralyze ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------...
gpl-3.0
emadni/amuemadteam
plugins/stats.lua
236
3989
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
ichramm/LuaNode
lib/luanode/__private_luastate.lua
2
6062
-- Copyright (c) 2011-2012 by Robert G. Jakabosky <bobby@neoawareness.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 -...
mit
destdev/ygopro-scripts
c1834753.lua
4
1709
--マックス・テレポーター function c1834753.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) e1:SetValue(aux.FALSE) c:RegisterEffect(e1) --special summon local e2=...
gpl-2.0
destdev/ygopro-scripts
c8396952.lua
4
1904
--アルカナフォースⅠ-THE MAGICIAN function c8396952.initial_effect(c) --coin local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8396952,0)) e1:SetCategory(CATEGORY_COIN) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c8396952.cointg) e1:SetOperation(c839695...
gpl-2.0
destdev/ygopro-scripts
c57062206.lua
4
3156
--ドイツ function c57062206.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(57062206,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c57062206.eqtg) e1:SetOperation(c570622...
gpl-2.0
destdev/ygopro-scripts
c64414267.lua
2
3498
--煉獄の騎士 ヴァトライムス function c64414267.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x9c),4,2) c:EnableReviveLimit() --attribute local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CHANGE_ATTRIBUTE) e1:SetRange(LOCATION_MZONE) e1:SetTargetRa...
gpl-2.0
Deadwing888/darkstar
scripts/globals/items/withered_rolanberry.lua
18
1190
----------------------------------------- -- ID: 5675 -- Item: Withered Rolanberry -- Food Effect: 30 Mins, All Races ----------------------------------------- -- Intelligence 1 -- Agility -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Windurst-Jeuno_Airship/IDs.lua
12
1300
----------------------------------- -- Area: Windurst-Jeuno_Airship ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.WINDURST_JEUNO_AIRSHIP] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/La_Theine_Plateau/Zone.lua
9
3470
----------------------------------- -- -- Zone: La_Theine_Plateau (102) -- ----------------------------------- local ID = require("scripts/zones/La_Theine_Plateau/IDs"); require("scripts/zones/La_Theine_Plateau/globals"); require("scripts/globals/icanheararainbow"); require("scripts/globals/chocobo_digging"); require("...
gpl-3.0
linuxmaniac/pkg-prosody
tools/jabberd14sql2prosody.lua
1
31518
#!/usr/bin/env lua do local _parse_sql_actions = { [0] = 0, 1, 0, 1, 1, 2, 0, 2, 2, 0, 9, 2, 0, 10, 2, 0, 11, 2, 0, 13, 2, 1, 2, 2, 1, 6, 3, 0, 3, 4, 3, 0, 3, 5, 3, 0, 3, 7, 3, 0, 3, 8, 3, 0, 3, 12, 4, 0, 2, 3, 7, 4, 0, 3, 8, 11 }; local _parse_sql_trans_keys = { [0] = 0, 0, 45, 45, 10, 10, 42, 42, 10, 4...
mit
RwNigma/darkstar
scripts/globals/items/moon_carrot.lua
35
1194
----------------------------------------- -- ID: 4567 -- Item: moon_carrot -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
simonfork/aquaria
game_scripts/scripts/entities/jellysmall.lua
6
5946
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
mogaal/libquvi-scripts
share/media/audioboo.lua
1
2166
-- libquvi-scripts v0.9.20131130 -- Copyright (C) 2011-2013 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GNU Affero General Public -- License as publis...
agpl-3.0
Deadwing888/darkstar
scripts/globals/items/tortilla.lua
18
1246
----------------------------------------- -- ID: 4408 -- Item: tortilla -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 6 -- Dexterity -1 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/maws.lua
8
5885
----------------------------------- -- Cavernous Maw global functions ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/quests") require("scripts/globals/settings") require("scripts/globals/teleports") require("scripts/globals/titles") r...
gpl-3.0
RwNigma/darkstar
scripts/globals/items/mercanbaligi.lua
18
1262
----------------------------------------- -- ID: 5454 -- Item: Mercanbaligi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 4 -- Mind -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
destdev/ygopro-scripts
c21924381.lua
2
1900
--ヒロイック・アドバンス function c21924381.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_BE_BATTLE_TARGET) e1:SetCondition(c21924381.condition) e1:SetTarget(c21924381.target) e1:SetOperation(c21924381.activate) c:Reg...
gpl-2.0