content
stringlengths
0
1.05M
origin
stringclasses
2 values
type
stringclasses
2 values
return { { effect_list = { { type = "BattleSkillFire", casterAniEffect = "", target_choise = "TargetHarmRandom", targetAniEffect = "", arg_list = { weapon_id = 64651 } }, { type = "BattleSkillFire", casterAniEffect = "", target_choise = "TargetHarmRandom", target...
nilq/small-lua-stack
null
-- -- Register fallback node handler (wildcard node) for sharetool -- -- Default radius for operation, area is cube and side length is RADIUS * 2 + 1 local RADIUS = 5 local ns = metatool.ns("sharetool") local get_meta = minetest.get_meta local get_node = minetest.get_node local definition = { name = '*', nodes = ...
nilq/small-lua-stack
null
function momoTweak.require.Sci30Recipe() local ele = momoTweak.ele if data.raw["tool"]["more-science-pack-1"] then momoTweak.replace_with_ingredient("more-science-pack-2", "burner-mining-drill", {"building-pack", 1}) bobmods.lib.recipe.replace_ingredient("more-science-pack-3", "light-armor", "stone-wall") bobmo...
nilq/small-lua-stack
null
--[[ MTA Role Play (mta-rp.pl) Autorzy poniższego kodu: - Patryk Adamowicz <patrykadam.dev@gmail.com> Discord: PatrykAdam#1293 Link do githuba: https://github.com/PatrykAdam/mtarp --]] local cmd = {} function cmd.plac(playerid, cmd, playerid2, money) if not exports.sarp_main:isPlayerLogged(play...
nilq/small-lua-stack
null
--[[ LuCI - Lua Configuration Interface Copyright (C) 2014-2015 MATTHEW728960 This is free software, licensed under the GNU General Public License v2. See /LICENSE for more information. $Id$ ]]-- local fs = require "nixio.fs" local util = require "nixio.util" local running=(luci.sys.call("pidof dnsforwarder > /dev...
nilq/small-lua-stack
null
EditorSpawnGageAssignment = EditorSpawnGageAssignment or class(MissionScriptEditor) EditorSpawnGageAssignment.USES_POINT_ORIENTATION = true function EditorSpawnGageAssignment:create_element() self.super.create_element(self) self._element.class = "ElementSpawnGageAssignment" end
nilq/small-lua-stack
null
local _M = {} local timer_mt = { __index = {} } local timer = timer_mt.__index -- create new event list function _M.new () return setmetatable ({jobs={}}, timer_mt) end -- add event -- f() is called no sooner than time t function timer:add (t, f) local job={time=t, func=f} local ins = -1 for i,v in ipairs (self...
nilq/small-lua-stack
null
CMD.name = 'GiveItem' CMD.description = 'command.giveitem.description' CMD.syntax = 'command.giveitem.syntax' CMD.permission = 'moderator' CMD.category = 'permission.categories.character_management' CMD.arguments = 2 CMD.player_arg = 1 CMD.aliases = { 'chargiveitem', 'plygiveitem' } function CMD:on_run(player, targets...
nilq/small-lua-stack
null
AddCSLuaFile() AddCSLuaFile("ammo.lua") AddCSLuaFile("cl_init.lua") include("ammo.lua") -- Base info SWEP.Base = "weapon_base" -- Spawnmenu info SWEP.Category = "Roleplay Weapons" SWEP.Spawnable = true SWEP.AdminOnly = true SWEP.DisableDuplicator = true -- Weapon selection menu info SWEP.AutoSwitc...
nilq/small-lua-stack
null
-- statusline.lua -- source https://icyphox.sh/blog/nvim-lua/ local mode_map = { ['n'] = 'normal ', ['no'] = 'n·operator pending ', ['v'] = 'visual ', ['V'] = 'v·line ', [''] = 'v·block ', ['s'] = 'select ', ['S'] = 's·line ', [''] = 's·block ', ['i'] = 'insert ', ['R'] = 'replace ', ['Rv'] = 'v·replace ',...
nilq/small-lua-stack
null
theme_park_marauder_pirate_leader = Creature:new { objectName = "@mob/creature_names:marooned_pirate_captain", socialGroup = "pirate", faction = "pirate", level = 24, chanceHit = 0.35, damageMin = 210, damageMax = 220, baseXp = 2543, baseHAM = 3800, baseHAMmax = 4200, armor = 0, resists = {20,20,10,40,-1,40...
nilq/small-lua-stack
null
local DATA = {} DATA.Name = "defansif" DATA.HoldType = "defansif" DATA.BaseHoldType = "normal" DATA.Translations = {} DATA.Translations[ ACT_LAND ] = { { Sequence = "ryoku_a_s2_land", Weight = 1 }, } DATA.Translations[ ACT_MP_STAND_IDLE ] = { { Sequence = "phalanx_h_idle", Weight = 1 }, } DATA.Trans...
nilq/small-lua-stack
null
local Ui = require 'neogit.lib.ui' local Component = require 'neogit.lib.ui.component' local util = require 'neogit.lib.util' local col = Ui.col local row = Ui.row local text = Ui.text local map = util.map local M = {} -- * commit e0a6cd38f783a6028cf1f18a72fdbb761ad2fd62 (HEAD -> commit-inspection, origin/commit-in...
nilq/small-lua-stack
null
-- digicompute/init.lua digicompute = {} digicompute.VERSION = 0.5 digicompute.RELEASE_TYPE = "beta" digicompute.path = minetest.get_worldpath().."/digicompute/" -- digicompute directory digicompute.modpath = minetest.get_modpath("digicompute") -- modpath local modpath = digicompute.modpath -- modpath pointer -- Loa...
nilq/small-lua-stack
null
local yatm_network = { kind = "hub", groups = { hub = 1, energy_consumer = 1, }, default_state = "off", states = { error = "yatm_device_hubs:hub_bus_error", conflict = "yatm_device_hubs:hub_bus_error", off = "yatm_device_hubs:hub_bus_off", on = "yatm_device_hubs:hub_bus_on", }, ene...
nilq/small-lua-stack
null
require 'setup/setup' local dummy = { dummy = "dummy" } -- we fulfill or reject with this when we don't intend to test against it describe("2.2.4: `onFulfilled` or `onRejected` must not be called until the execution context stack contains only platform code.", function() describe("`then` returns before the promis...
nilq/small-lua-stack
null
bgNPC:SetStateAction('disappearance', 'calm', { start = function(actor, state, data) local npc = actor:GetNPC() if not IsValid(npc) then return end npc:slibFadeRemove(1.5) end, not_stop = function(actor, state, data) return actor:EnemiesCount() == 0 end })
nilq/small-lua-stack
null
local AddonName, AddonTable = ... -- Castle Nathria AddonTable.castlenathria = { -- Shriekwing 183034, -- Cowled Batwing Cloak 182976, -- Double-Chained Utility Belt 182993, -- Chiropteran Leggings 183027, -- Errant Crusader's Greaves 182979, -- Slippers of the Forgotten Heretic -- Huntsman...
nilq/small-lua-stack
null
object_tangible_component_weapon_blaster_pistol_barrel_exceptional = object_tangible_component_weapon_shared_blaster_pistol_barrel_exceptional:new { } ObjectTemplates:addTemplate(object_tangible_component_weapon_blaster_pistol_barrel_exceptional, "object/tangible/component/weapon/blaster_pistol_barrel_exceptional.iff...
nilq/small-lua-stack
null
------------------------------------------------ -- Entity with physical properties. local BaseEntity = reload("entities.baseentity") local Entity = class("PhysEntity", BaseEntity) Entity.phystype = "dynamic" Entity.density = 1 Entity.mass = 0.1 Entity.w = 40 Entity.h = 40 function Entity:initialize(...) self.s...
nilq/small-lua-stack
null
-- ----------------------------------------------------------------------------------------------------------------------------------------- -- -- /REVISTAR -- ----------------------------------------------------------------------------------------------------------------------------------------- -- -- local iden...
nilq/small-lua-stack
null
--- vim: ts=2 tabstop=2 shiftwidth=2 expandtab -- @todo: как только явится Света, дописать handler в соответствии со спекой CMDBuild -- @todo: ВАЖНО! дописать описание методов и аргументов, пф, осталось чутка, а потом проверять и по новой до усеру -- -------------------------------------------------------------------...
nilq/small-lua-stack
null
local function readLittleEndian(file, bytes) local string = file:read(2) local bytes = string:byte() -- print(string, type(bytes), bytes) return bytes end -- https://gist.github.com/fdeitylink/3fded36e9187fe838eb18a412c712800 -- -=~ PXM File Data ~=- -- maps must be minimum of 21x16 local function readPXM(fi...
nilq/small-lua-stack
null
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") AddCSLuaFile("constants.lua") include("game_states.lua") include("shared.lua") include("state_updates.lua") include("util.lua") include("sql_interface.lua") -- nets util.AddNetworkString("game_state") util.AddNetworkString("cheers") util.AddNetworkString("boos") ...
nilq/small-lua-stack
null
function handler.get() end
nilq/small-lua-stack
null
if nil ~= require then require "fritomod/tests/Mixins-ArrayTests"; require "fritomod/tests/Mixins-TableTests"; end; local Suite=CreateTestSuite("fritomod.Iterators"); local arraySuite = ReflectiveTestSuite:New("Iterators (arrays)"); Mixins.ArrayTests(arraySuite, Iterators); function arraySuite:Array(...) return It...
nilq/small-lua-stack
null
--- Solution ------------------------------- workspace "Pathfinding" configurations { "Debug", "Release" } platforms { "x86", "x64" } startproject "App" filter "platforms:x86" architecture "x86" filter "platforms:x64" architecture "x86_64" --- Variables ------------------------------ ...
nilq/small-lua-stack
null
--- === Shade === --- --- Creates a semitransparent overlay to reduce screen brightness. --- --- Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/Shade.spoon.zip local obj = {} obj.__index = obj -- Metadata obj.name = "Shade" obj.version = "0.2" obj.author = "Leonardo Shibata" obj.homepage = "https:/...
nilq/small-lua-stack
null
ccs = ccs or {} ---BatchNode object ---@class BatchNode : Node local BatchNode = {} ccs.BatchNode = BatchNode -------------------------------- -- ---@return BatchNode function BatchNode:create() end -------------------------------- ---@overload fun(Node, int, string):BatchNode ---@overload fun(Node, int, int):BatchNo...
nilq/small-lua-stack
null
levelsLoaded = false layoutsloaded = false function _filllevels() if not levelsLoaded then levels = getlevels() size = table.getn(levels) for i=1,size do commandstring = "scr.loadlevel('" .. levels[i] .. "')" addelement("_levellist","levellist","dummy","button",levels[i],commandstring) end levelsLoaded...
nilq/small-lua-stack
null
-- All the code in this file is adapted from https://github.com/karthikncode/text-world-player -- Please see license (MIT) at: https://github.com/karthikncode/text-world-player/blob/main/LICENSE.txt local clock = os.clock function sleep(n) -- seconds local t0 = clock() while clock() - t0 <= n do end end function...
nilq/small-lua-stack
null
--[[ Copyright (c) 2010 Manuel "Roujin" Wolf 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, dist...
nilq/small-lua-stack
null
module(...,package.seeall) local debug = false local ffi = require("ffi") local C = ffi.C local buffer = require("core.buffer") local freelist = require("core.freelist") local lib = require("core.lib") local memory = require("core.memory") local freelist_add, freelist_remove = freelist.add, freelist.remove ...
nilq/small-lua-stack
null
local Path = {} function Path.Split(pathStr) local parts = {} for chunk in pathStr:gmatch("[^%.]+") do table.insert(parts, chunk) end return parts end function Path.IsValid(pathStr, start) start = start or game local parts = Path.Split(pathStr) for _, part in ipairs(parts) do -- skip redundant 'gam...
nilq/small-lua-stack
null
require("bufferline").setup({ options = { numbers = function(opts) return string.format("%s", opts.id) end, indicator_icon = "▎", buffer_close_icon = "", modified_icon = "●", close_icon = "", left_trunc_marker = "", right_trunc_marker = "", max_name_length = 20, max_p...
nilq/small-lua-stack
null
ang_g = {} ang_m = {} answ = {} ind = {} out = {} dat = "" sign = math.random(3) first_g = 90 +(2 - sign) * math.random(50) first_m = math.random(59) - 1 ang_g[1] = first_g ang_m[1] = first_m ang_g[2] = 179 - first_g ang_m[2] = 60 - first_m temp = math.floor(ang_m[2]/60) ang_g[2] = ang_g[2] + temp ang_m[...
nilq/small-lua-stack
null
object_tangible_loot_mustafar_old_republic_tech_analyzer = object_tangible_loot_mustafar_shared_old_republic_tech_analyzer:new { } ObjectTemplates:addTemplate(object_tangible_loot_mustafar_old_republic_tech_analyzer, "object/tangible/loot/mustafar/old_republic_tech_analyzer.iff")
nilq/small-lua-stack
null
module(..., package.seeall); -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >8 -- -- -- -- -- -- FlyWithLua graphics library V1.2 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- we can use these functions, to access to ...
nilq/small-lua-stack
null
----------------------------------- -- Area: East Sarutabaruta -- NPC: Pore-Ohre -- Involved In Mission: The Heart of the Matter -- !pos 261 -17 -458 116 ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/missions") local ID = require("scripts/zones/East_Sarutabaruta/IDs")...
nilq/small-lua-stack
null
local Style = script.Parent local Core = Style.Parent local UIBlox = Core.Parent -- This was a vestigial part of a style refactor which encountered some issues, -- and was never properly enabled. To minimize import changes, we re-export the -- original StyleProvider implementation. return require(UIBlox.Style.StylePro...
nilq/small-lua-stack
null
function Color( r,g,b,a ) if( a ) then return {r,g,b,a} else return {r,g,b} end end
nilq/small-lua-stack
null
return {'atelier','atelierbezoek','ateliermeisje','atelierruimte','atelierwoning','aterling','atelierhouder','atelierroute','atechnisch','atenaar','ate','atema','aten','ateliermeisjes','atelierruimten','atelierruimtes','ateliers','aten','aterlingen','atelierwoningen','ateliertje','atelierhouders','ates','atelierbezoeke...
nilq/small-lua-stack
null
momoTweak.fluid = {} momoTweak.fluid.ferric = "liquid-ferric-chloride-solution" momoTweak.fluid.plastic = "liquid-plastic" momoTweak.fluid.resin = "liquid-resin" momoTweak.fluid.rubber = "liquid-rubber" momoTweak.fluid.lube = "lubricant" momoTweak.fluid.crudeOil = "crude-oil" momoTweak.fluid.fuel = "liquid-fuel" momoTw...
nilq/small-lua-stack
null
codeFolder = '../code/' require('torch') require(codeFolder..'rbm') conv = require(codeFolder..'conv-functions') include(codeFolder..'mnist.lua') require(codeFolder..'ProFi') require 'paths' torch.setdefaulttensortype('torch.FloatTensor') require 'nn' num_threads = 2 torch.setnumthreads(num_threads) -- W : vis - ...
nilq/small-lua-stack
null
local _M = {} -- 插件名称 _M.plugin_name = "api_router" -- 认证(auth)服务 域名 _M.auth_server_domain_name = "AUTH_SERVER_DOMAIN_NAME"; -- 认证(auth)服务给悟空配置的 app_id _M.auth_server_ngr_app_id = "AUTH_SERVER_NGR_APP_ID"; -- 认证(auth)服务给悟空配置的 app_key _M.auth_server_ngr_app_key = "AUTH_SERVER_NGR_APP_KEY"; -- group_context old all ...
nilq/small-lua-stack
null
--[[ desc: SearchMove, a Ai of search and move. author: Musoucrow since: 2018-5-14 alter: 2019-8-15 ]]-- local _ECSMGR = require("actor.ecsmgr") local _BATTLE = require("actor.service.battle") local _INPUT = require("actor.service.input") local _STATE = require("actor.service.state") local _Timer = require("util....
nilq/small-lua-stack
null
#!/usr/bin/env tarantool test = require("sqltester") test:plan(3) --!./tcltestrunner.lua -- 2005 September 19 -- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive othe...
nilq/small-lua-stack
null
--utils:log("challengeLobby", "Loaded"); local challengePopup = require("challengeLobby.challengePopup"); local scene = composer.newScene(); scene.resMan = nil; -- The list of matches this player is involved in. scene.matchList = { }; scene.textNoMatches = nil; -- TableView that lists matches and how tall each ro...
nilq/small-lua-stack
null
local helpers = require('test.functional.helpers')(after_each) local thelpers = require('test.functional.terminal.helpers') local feed, clear = helpers.feed, helpers.clear local wait = helpers.wait local iswin = helpers.iswin describe('terminal window', function() local screen before_each(function() clear() ...
nilq/small-lua-stack
null
local presets = require('tabby.presets') local config = {} ---@class TabbyConfig ---@field tabline? TabbyTablineOpt high-level api ---@field components? fun():TabbyComponent[] low-level api ---@field opt? TabbyOption ---@class TabbyOption ---@field show_at_least number show tabline when there are at least ...
nilq/small-lua-stack
null
local summitGems = {} summitGems.name = "summitgem" summitGems.depth = 10100 function summitGems.texture(room, entity) local index = entity.gem or 0 return string.format("collectables/summitgems/%s/gem00", index) end return summitGems
nilq/small-lua-stack
null
local att = {} att.name = "bg_sb_m6x" att.displayName = "Insight M6X" att.displayNameShort = "M6X" att.isBG = true att.statModifiers = {DrawSpeedMult = 0.05, VelocitySensitivityMult = 0.05} --[[ 0.00 to 1.00 #- #+ "DamageMult", "Decreases damage", "Increases damage" "RecoilMult", "Decreases recoil", "Increases...
nilq/small-lua-stack
null
local ffi = require "ffi" local ffi_copy = ffi.copy local ffi_gc = ffi.gc local ffi_new = ffi.new local ffi_string = ffi.string local ffi_cast = ffi.cast local _C = ffi.C local _M = { _VERSION = "0.2.3" } local ngx = ngx local CONST = { SHA256_DIGEST = "SHA256", SHA512_DIGEST = "SHA512", -- ref : https:...
nilq/small-lua-stack
null
#!/usr/bin/env lua -- (C) Copyright 2009 Hewlett-Packard Development Company, L.P. -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -- TH...
nilq/small-lua-stack
null
-- amoguSV v3.1 (21 Dec 2021) -- by kloi34 -- Many SV tool ideas were stolen from other plugins, so here is credit to those plugins and the -- creators behind them: --------------------------------------------------------------------------------------------------- -- Plugin Creator Link ...
nilq/small-lua-stack
null
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:29' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
nilq/small-lua-stack
null
timers = {} local nextTimer = 1 local deadline = math.huge thread = nil function add(func, time) local timer = { func = func, time = time, thread = kernel.modules.threading.currentThread or "kernel", next = computer.uptime() + time } if deadline > timer.next then ...
nilq/small-lua-stack
null
Script.ReloadScript( "Scripts/Entities/Boids/Birds.lua" ); Crows = { Properties = { Boid = { object_Model = "objects/characters/animals/birds/crow/crow.cdf", }, }, Audio = { "Play_idle_crow", -- idle "Play_scared_crow", -- scared }, } MakeDerivedEntityOverride( Crows,Birds ) function Crows:On...
nilq/small-lua-stack
null
--[[ Editor ]]-- local drawing = require "nesdraw" local utf8 = require "utf8" local luatable = require "LuaTable" local listloader = require "listloader" local EditRoomState = 1 local EditWorldState = 2 local textInputText = "" local NamingActive = 1 local NamingCompeleted = 2 local NamingInactive = 3 local Layer...
nilq/small-lua-stack
null
local im = require "imlua" require "imlua_capture" local gl = require "luagl" local iup = require "iuplua" require "iupluagl" local vc = im.VideoCaptureCreate() if (not vc) then error("ERROR: No capture device found!") end if (vc:Connect(0) == 0) then error("ERROR: Fail to connect to capture device") ...
nilq/small-lua-stack
null
local skynet = require "skynet" local mutexLock = require "skynet.queue" local CMD = {} local cs = mutexLock() local f local filename = "logClient" --require "functions" function init() end function CMD.exit() cs(function() if f then f:close() end end) end function CMD.log(errdata) cs(function() f = i...
nilq/small-lua-stack
null
function plugindef() -- This function and the 'finaleplugin' namespace -- are both reserved for the plug-in definition. finaleplugin.Author = "Robert Patterson" finaleplugin.Copyright = "CC0 https://creativecommons.org/publicdomain/zero/1.0/" finaleplugin.Version = "1.0" finaleplugin.Date = "Feb...
nilq/small-lua-stack
null
project "FastNoise2" kind "StaticLib" language "C++" targetdir ("bin/" .. outputdir .. "/%{prj.name}") objdir ("bin-int/" .. outputdir .. "/%{prj.name}") includedirs { "include" } files { "include/FastSIMD/*.h", "src/FastSIMDD/Internal/*.h", "src/FastS...
nilq/small-lua-stack
null
class "AntiSpam" function AntiSpam:__init() self.kickMessage = "был кикнут за флуд :(" self.kickReason = "\n\nВы были отключены системой Анти-Флуд.\n\n" .. "Кикнуло просто так? - Возможо у вас привязаны команды к клавишам. Ипользуйте /unbindall, чтобы отвязать их.\n\n" .. "Поддержка в ВК - vk.com/ru...
nilq/small-lua-stack
null
require'lspconfig'.clangd.setup { cmd = {DATA_PATH .. "/lspinstall/cpp/clangd/bin/clangd"}, on_attach = require'lsp'.common_on_attach, handlers = { ["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, { virtual_text = O.lang.clang.diagnostics.virt...
nilq/small-lua-stack
null
local PANEL = {} local image1 = surface.GetTextureID("VGUI/minicrosshair") local image2 = surface.GetTextureID("VGUI/minishockwave") local image3 = surface.GetTextureID("VGUI/minigroupadd") local function ButtonPaint(self, w, h) draw.DrawSimpleRect(0, 0, w, h, Color(60, 0, 0, self.alpha)) surface.SetDrawColor(25...
nilq/small-lua-stack
null
local Fabric = require(script.Parent) return function() describe("Fabric.new", function() it("should return a fabric", function() local fabric = Fabric.new("the namespace") expect(fabric.namespace).to.equal("the namespace") end) end) describe("Fabric:registerUnit", function() it("should register units...
nilq/small-lua-stack
null
return require('packer').startup(function() local use = require('packer').use -- Packer use 'wbthomason/packer.nvim' use 'lewis6991/impatient.nvim' -- Async building & commands -- use { 'tpope/vim-dispatch', cmd = { 'Dispatch', 'Make', 'Focus', 'Start' } } -- Utility Plugins use 'tpope/vim-surround' ...
nilq/small-lua-stack
null
Omen3DB = { ["profileKeys"] = { ["黑暗主宰 - 森金"] = "黑暗主宰 - 森金", }, ["profiles"] = { ["黑暗主宰 - 森金"] = { ["PositionY"] = 459.000008282667, ["PositionX"] = 567.5000220757034, }, }, }
nilq/small-lua-stack
null
--[[ ########################################################## S V U I By: Munglunch ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.selec...
nilq/small-lua-stack
null
--[[--------------------------------------------------------- Panel: windowsWeaponsItem -----------------------------------------------------------]] local PANEL = {} --[[--------------------------------------------------------- Function: canPurchase -----------------------------------------------------------...
nilq/small-lua-stack
null
local b = true local introBG = nil local introText = nil local introBGXform = nil local introBGMesh = nil local introTextXform = nil local introTextMesh = nil local introLayer = nil local BGFadedOut = false local TextFadeIn = true TextFadeInTimer = 10.0 TextFadeOutTimer = 4.0 BGFadeOutTimer = 14.0 BGTextureName = "t...
nilq/small-lua-stack
null
return { invoker_quas = { ID = 5370, AbilityBehavior = "DOTA_ABILITY_BEHAVIOR_NO_TARGET | DOTA_ABILITY_BEHAVIOR_IMMEDIATE", SpellDispellableType = "SPELL_DISPELLABLE_NO", MaxLevel = 7, AbilityCooldown = 0, AbilityManaCost = 0, AbilityCastAnimation = "ACT_INVALID", AbilitySpecial = { ...
nilq/small-lua-stack
null
local function mode() local mode_map = { ['__'] = '------', ['n'] = 'NORMAL', ['i'] = 'INSERT', ['v'] = 'VISUAL', ['V'] = 'V-LINE', [''] = 'V-BLOCK', ['R'] = 'REPLACE', ['r'] = 'REPLACE', ['Rv'] = 'V-REPLACE', ['c'] = 'COMMAND', ['t'] = 'TERMINAL', ['s'] = 'SE...
nilq/small-lua-stack
null
PageUtil = class("PageUtil") PageUtil.Ctor = function (slot0, slot1, slot2, slot3, slot4) pg.DelegateInfo.New(slot0) slot0._leftBtn = slot1 slot0._rightBtn = slot2 slot0._maxBtn = slot3 slot0._numTxt = slot4 onButton(slot0, slot0._leftBtn, function () if slot0._curNum - slot0._addNum <= 0 then slot0._curN...
nilq/small-lua-stack
null
do local function run(msg, matches) if not is_sudo(msg) then return end local chat = msg.to.id local hash = 'ar:enable'..chat if matches[1] == 'ar' then redis:set(hash, true) return 'تم اختيار اللغة العربية في المجموعة' end if matches[1] == 'en' then redis...
nilq/small-lua-stack
null
--!A cross-platform build utility based on Lua -- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apach...
nilq/small-lua-stack
null
screenboundary = class:new() function screenboundary:init(x) self.x = x self.y = -1000 self.width = 0 self.height = 1020 self.static = true self.active = true self.category = 10 self.mask = {true} end
nilq/small-lua-stack
null
local inventories = { -- Armor must be before main or the sync will fail when the inventory -- bonus slots from the armor are in use. armor = defines.inventory.character_armor, main = defines.inventory.character_main, guns = defines.inventory.character_guns, ammo = defines.inventory.character_ammo, trash = defin...
nilq/small-lua-stack
null
--[[ AscendScripting Script - This software is provided as free and open source by the staff of The AscendScripting Team.This script was written and is protected by the GPL v2. The following script was released by a AscendScripting Staff Member. Please give credit where credit is due, if modifying, redistributing and/...
nilq/small-lua-stack
null
#!/usr/bin/env tarantool -- Fix tests in out of source build local dirs = { "..", ".", os.getenv("BINARY_DIR") } package.path = "" package.cpath = "" for _, dir in pairs(dirs) do package.path = package.path .. dir .. "/?/init.lua;" .. dir .. "/?.lua;" package.cpath = package.cpath .. dir .. "/?.so;" .. dir .....
nilq/small-lua-stack
null
DefineClass.CloningVats = { __parents = { "ElectricityConsumer", "Workplace" }, progress = false, } function CloningVats:Init() self.progress = 0 end function CloningVats:BuildingUpdate(dt, ...) if self.working then local points = MulDivRound(self.performance,g_Consts.cloning_points, 100) self.progress = self...
nilq/small-lua-stack
null
local function map(func, collection) local results = {} for index, value in pairs(collection) do local newValue, newIndex = func(value, index) results[newIndex or index] = newValue end return results end local function optionalMap(func, collection) local results = {} for index, value in pairs(co...
nilq/small-lua-stack
null
print ("Access Virus TI Lua ext initialized") patch.requestAll ()
nilq/small-lua-stack
null
SingingMountainClanScreenPlay = ScreenPlay:new { numberOfActs = 1, screenplayName = "SingingMountainClanScreenPlay", } registerScreenPlay("SingingMountainClanScreenPlay", true) function SingingMountainClanScreenPlay:start() if (isZoneEnabled("dathomir")) then self:spawnMobiles() end end function SingingMount...
nilq/small-lua-stack
null
local createEnum = require(script.Parent.createEnum) local RequestType = createEnum("RequestType", { "None", "Asset", "Bundle", "GamePass", "Product", "Premium", "Subscription", }) return RequestType
nilq/small-lua-stack
null
package("libogg") set_homepage("https://www.xiph.org/ogg/") set_description("Ogg Bitstream Library") set_urls("https://downloads.xiph.org/releases/ogg/libogg-$(version).tar.gz", "https://gitlab.xiph.org/xiph/ogg.git") add_versions("1.3.4", "fe5670640bd49e828d64d2879c31cb4dde9758681bb664f9...
nilq/small-lua-stack
null
local controller = {} controller.name = "MaxHelpingHand/SetFlagOnSpawnController" controller.depth = 0 controller.texture = "ahorn/MaxHelpingHand/set_flag_on_spawn" controller.placements = { name = "controller", data = { flag = "flag_name", enable = false, onlyOnRespawn = false, ...
nilq/small-lua-stack
null
--[[---------------------------------------------------------------------------------------------------- <auto-generated> This file was generated by: ClientIntegration/Tools/LuaStringsGenerator/GenerateAllLocales.py Changes to this file should always follow: Building an Internationalized Feature - Engineer's Gu...
nilq/small-lua-stack
null
-- Storage disks holostorage.disks = {} function holostorage.disks.register_disk(index, desc, capacity) local mod = minetest.get_current_modname() minetest.register_craftitem(mod..":storage_disk"..index, { description = desc.."\nStores "..capacity.." Stacks", inventory_image = "holostorage_disk"..index..".png",...
nilq/small-lua-stack
null
local hyper = {"cmd", "ctrl"} local INCREASE_VOLUME, DECREASE_VOLUME = 1, -1 local lastTime = -1 local lastDirection = 0 local gap = 1 -- hs.hotkey.bind(hyper, "l", function() -- hs.caffeinate.systemSleep() -- end) function isRecentChange(args) local time = hs.timer.localTime() local res = time - lastTim...
nilq/small-lua-stack
null
--[[ Shine Custom Spawns plug-in. - Server ]] local Shine = Shine local SetupClassHook = Shine.Hook.SetupClassHook local Lower = string.lower local StringFormat = string.format local IsType = Shine.IsType local Plugin = Shine.Plugin( ... ) Plugin.Version = "1.1" Plugin.NS2Only = true Plugin.HasConfig = true Plugi...
nilq/small-lua-stack
null
----------------------------------------- -- ID: 6054 -- Windstorm Schema -- Teaches the white magic Windstorm ----------------------------------------- function onItemCheck(target) return target:canLearnSpell(114) end function onItemUse(target) target:addSpell(114) end
nilq/small-lua-stack
null
----------------------------------- -- Area: Gusgen Mines -- NPC: _5ga (Lever C) -- !pos 44 -40.561 -54.199 196 ----------------------------------- function onTrade(player, npc, trade) end function onTrigger(player, npc) --local nID = npc:getID() -- printf("id: %u", nID) local Lever = npc:getID() n...
nilq/small-lua-stack
null
AddCSLuaFile() AddCSLuaFile("sh_sounds.lua") include("sh_sounds.lua") SWEP.magType = "arMag" SWEP.PrintName = "AEK-971" if CLIENT then SWEP.DrawCrosshair = false SWEP.CSMuzzleFlashes = true SWEP.IconLetter = "w" killicon.Add( "", "", Color(255, 80, 0, 150)) SWEP.MuzzleEffect = "muzzleflash_ak47" SWEP.PosB...
nilq/small-lua-stack
null
local core = require "sys.core" local json = require "sys.json" local zproto = require "zproto" local assert = assert local pairs = pairs local match = string.match local tonumber = tonumber local lprint = core.log local M = {} local role_count local role_rpc = {} function M.join(conns, count) if not role_count then...
nilq/small-lua-stack
null
object_tangible_smuggler_contraband_contraband_5 = object_tangible_smuggler_contraband_shared_contraband_5:new { } ObjectTemplates:addTemplate(object_tangible_smuggler_contraband_contraband_5, "object/tangible/smuggler/contraband/contraband_5.iff")
nilq/small-lua-stack
null
require "dialog" require "character" local dialog = Dialog() --******************* -- Sprites --******************* local cop_Sprite = CharSprite() cop_Sprite.age = 45 cop_Sprite.imgPath = "res/characters/cop.png" cop_Sprite.spriteImg = love.graphics.newImage(cop_Sprite.imgPath) cop_Sprite.spritename = "Bobby...
nilq/small-lua-stack
null
--[[ :Timestamp: 2015-09-09 03:15:49 +0000 UTC :Type: mysql.slow-query :Hostname: app1.gamesales3 :Pid: 0 :Uuid: 87303593-3a61-4a6f-ab87-675cae0b0533 :Logger: slow_input :Payload: SELECT * FROM seo WHERE url = '/app/acct/17/104' LIMIT 0, 1; :EnvVersion: :Severity: 7 :Fields: | name:"Rows_examined" type:double value...
nilq/small-lua-stack
null
local ParserContext = require('erde.ParserContext') local constants = require('erde.constants') local rules = require('erde.rules') -- ----------------------------------------------------------------------------- -- CompilerContext -- ----------------------------------------------------------------------------- local...
nilq/small-lua-stack
null