content
stringlengths
5
1.05M
----------------------------------- -- Matrimonial Coffer NPCs ----------------------------------- require("scripts/globals/npc_util") tpz = tpz or {} tpz.matrimonialcoffer = tpz.matrimonialcoffer or {} function tpz.matrimonialcoffer.startEvent(player) local playerGender = player:getGender() if playerGender =...
if not turtle then printError("Requires a Turtle") return end local tArgs = { ... } if #tArgs < 1 then local programName = arg[0] or fs.getName(shell.getRunningProgram()) print("Usage: " .. programName .. " <direction> <turns>") return end local tHandlers = { ["lt"] = turtle.turnLeft, ["le...
--[[ Variables ]] MenuData = { ems_sign_in = { { title = "EMS", description = "Sign in or sign out", children = { { title = "Sign In", action = "caue-signin:handler", params = { sign_in = true, job = "ems" } }, { title = "Sign Out", ...
local KUI, E, L, V, P, G = unpack(select(2, ...)) function KUI:LoadXIVProfile() XIVBarDB = { ["profiles"] = { ["Klix"] = { ["modules"] = { ["tradeskill"] = { ["barCC"] = true, }, ["talent"] = { ["barCC"] = true, }, ["currency"] = { ["xpBarCC"] = true, ["curre...
--=========== Copyright © 2019, Planimeter, All rights reserved. ===========-- -- -- Purpose: Pathfinding Node class -- --==========================================================================-- class "node" ( "vector" ) function node:node( x, y, parent ) vector.vector( self, x, y ) self.parent = parent self.g...
local map = require 'map' local zombie = require 'zombie' local player = require 'player' local bullet = require 'bullet' local maps = {} local bullets = {} local currentMapIndex = 1 local survivor function love.load() love.window.setTitle('Survival') map.loadAssets() table.insert(maps, map.load('maps/map1.json'...
Assets = nil Baton = require "lib.baton" Roomy = require "lib.roomy" Slog = require "lib.slog" Icon = Slog.icon StalkerX = require "lib.stalker-x" Brady = require "lib.brady" Cartographer = require "lib.cartographer" Lighter = require "lib.lighter" LuaStar = requ...
slot0 = class("SummerFeastMediator", import("view.base.ContextMediator")) slot0.MINI_GAME_OPERATOR = "SummerFeastMediator:MINI_GAME_OPERATOR" slot0.register = function (slot0) slot0:bind(slot0.MINI_GAME_OPERATOR, function (slot0, ...) slot0:sendNotification(GAME.SEND_MINI_GAME_OP, ...) end) end slot0.listNotifica...
local Prop = {} Prop.Name = "Dream Machine Car Garage" Prop.Government = false Prop.Doors = { Vector( -1732, -3167, 190 ), Vector( -1732, -3073, 190 ), Vector( -2100, -3009, 190 ), } GM.Property:Register( Prop )
--Edit parameters in this section local desired_letter = 'A' --End of parameters local atkdef local spespc local enemy_addr local version = memory.readbyte(0x141) local region = memory.readbyte(0x142) if version == 0x54 then if region == 0x44 or region == 0x46 or region == 0x49 or region == 0x53 then prin...
-- == RTCTIME Module == -- -- Copyright (c) 2018 by Rene K. Mueller <spiritdude@gmail.com> -- -- License: MIT License (see LICENSE file) -- -- Description: -- Providing rtctime in case module doesn't exist -- -- History: -- 2018/02/27: 0.0.2: rtctime.dsleep() and rtctime.dsleep_aligned() placeholder -- 2018/02/10:...
---- French language strings local L = LANG.CreateLanguage("Français") --- General text used in various places L.traitor = "Traitre" L.detective = "Détective" L.innocent = "Innocent" L.last_words = "Derniers mots" L.terrorists = "Terroristes" L.spectators = "Spectateurs" --- Round statut messages L.round_minp...
require 'torch' require 'nn' local compose_utils = require 'utils.compose_utils' -- -- Full lexical composition model -- -- local Fulllex, parent = torch.class('torch.Fulllex', 'torch.CompositionModel') function Fulllex:__init(inputs, outputs, mhEmbeddingsSize, withNoise) parent.__init(self) self.inputs = input...
require("hop").setup({}) local opts = { noremap = true, silent = true } vim.api.nvim_set_keymap("n", "s", "<cmd>HopChar2<CR>", opts) vim.api.nvim_set_keymap("n", "<Leader>f", "<cmd>HopChar1<CR>", opts) vim.api.nvim_set_keymap( "v", "f", "<cmd>lua require('hop').hint_char1({ direction = require('hop.hint').HintDirec...
algo = algo or {}; local Polynomial = 0xEDB88320; local lookup = {}; for i = 0, 0xFF do local crc = i; for j = 0, 7 do crc = (crc >> 1) ~ ((crc & 1) * Polynomial); end lookup[i] = crc; end local function dw(x) return x & 0xFFFFFFFF; end function algo.CRC32(stuff) stuff = tostring(stuff); local crc = dw(~0...
local util = require("tests.helpers.util") local verify = require("tests.helpers.verify") local config = require("neo-tree").config local get_value = require("neo-tree.utils").get_value local run_focus_command = function(command, expected_tree_node) local winid = vim.api.nvim_get_current_win() vim.cmd(command) ...
-- Logging a message volt.log = function (msg) if type(msg) == "table" then msg = minetest.serialize(msg) end local modname = minetest.get_current_modname() minetest.log("action", "["..modname.."] "..tostring(msg)) end -- Terminates execution with an error -- -- Useful for critcal errors (unre...
--////////////////////////////////////////////////////////////////////// --************************ --Battle consts --************************ return { win1 = { w = 8, h = 6, startX = 0, startY = 0, regularX = 8, regularY = 8, selectedX = 16, selectedY = 8 }, win2 = { ...
-- CommonModule: Node -- module(...,package.seeall) Node = {} -- Create Node object function Node.new(self, arg) arg = arg or {} object = arg.object or {} setmetatable(object, self) self.__index = self self.log = arg.log self.database = arg.database self.record = arg.record self.session = arg.session ...
local hints = {} -- Modules local UI = require "modules.UI" -- Initialize the pseudo random number generator with os time math.randomseed( os.time() ) -- Pop off some random numbers for good measure (Not sure if this does anything, but Lua Doc. says to so...) math.random(); math.random(); math.random() local hintLi...
local parsers = require "parsers" local utils = require "utils" local SENDERS = require "senders" local M = {} math.randomseed(os.time()) local idCounter = math.random() function M._setIdCounter(counter) idCounter = counter end function M.toSessionTable(sdp, opts) local creator = opts.creator or "initiator"...
local fw = fw local net_WriteUInt = net.WriteUInt local pairs = pairs local ipairs = ipairs local setmetatable = setmetatable -- -- RESOURCE ENTITIES -- ndoc.table.fwEntityResources = ndoc.table.fwEntityResources or {} local resource_entities = __FW_RESOURCE_ENTITIES or {} __FW_RESOURCE_ENTITIES = resource_entities...
n = 1024 while n>0 do print(n) n = math.floor(n/2) end
function DumpTable(table, nb) if nb == nil then nb = 0 end if type(table) == "table" then local s = "" for i = 1, nb + 1, 1 do s = s .. " " end s = "{\n" for k,v in pairs(table) do if type(k) ~= "number" then k = "'"..k.."'" end for i = 1, nb, 1 do s = s .. " " end s = s .. "["...
return { [1]={ lang={ ["Simplified Chinese"]={ [1]={ limit={ [1]={ [1]=1, [2]="#" } }, text="被辅助技能造成的近战物理总伤害额外提高 {0}%" }, [2]={ [1]={ k="negate", v=1 }, limit={ [1]={ [1]="#", [2]=-1 } }, text="被辅助技...
print("Discord - Momo Hirai (?? ??)#9155") print("Dark Devs") -- Anti Idle local VirtualUser=game:service'VirtualUser' game:service'Players'.LocalPlayer.Idled:connect(function() VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end) -- Instances: local SUPEREZ = Instance.new("ScreenGui") local ...
local respond_to, capture_errors do local application = require("lapis.application") respond_to = application.respond_to capture_errors = application.capture_errors end local to_json = require("lapis.util").to_json local from_json = require("lapis.util").from_json local ngx = ngx local pass = function(endp...
local ffi = require("ffi") local bit = require("bit") function CountNatives() local nativeCount = 0 local funcCount = 0 for i=0,(engine.Objects.Count-1) do local obj = engine.Objects:Get(i) if IsNull(obj) then goto continue end if not obj:IsA(engine.Classes.UFunction) then goto continue end obj = ffi.cast...
----------------------------------- -- Area: King Ranperre's Tomb -- DOOR: _5a0 (Heavy Stone Door) -- !pos -39.000 4.823 20.000 190 ----------------------------------- local ID = require("scripts/zones/King_Ranperres_Tomb/IDs") require("scripts/globals/missions") ----------------------------------- function onTrade(pl...
local data = {} local finish = {} for k, v in pairs( for k, v in pairs(data) do if tostring(v) == tostring(_G) or tostring(v) == tostring(data) then table.remove(data, 1) continue elseif type(v) == "table" then for kk, vv in pairs(v) do finish[k .. "________" .. kk] = vv ...
--[[ 2020-2022 Xalalau Xubilozo. MIT License https://xalalau.com/ --]] include("bs/init.lua")
return {'fok','fokbedrijf','fokdier','fokhengst','fokken','fokkenhals','fokkenist','fokkenmaat','fokkenmast','fokkenra','fokkenwant','fokker','fokkerij','fokmateriaal','fokmethode','fokpaard','fokprogramma','foksia','fokstation','fokster','fokstier','fokvee','fokverbod','fokzeug','fokje','fokke','fokko','fokkema','fokk...
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' files { "config/config.ini", "config/vehicles.ini", "config/props.ini", "config/weapons.ini", "config/trashpeds.ini", "config/pocce.ini", "config/pets.ini", "config/scenarios.ini", "MenuAPI.dll" } client_script 'PocceMod.net.dll' server_sc...
local test = require('test') local Vector2 = Vector2 test.suite('Vector2 Library') test.test('creation', function() local v = Vector2.new() test.assert_equal(#v, 2) test.expect_equal(v:get(1), 0) test.expect_equal(v:get(2), 0) v = Vector2.new(1, 2) test.assert_equal(#v, 2) test.expect_equ...
local gender_file = minetest.get_worldpath() .. "/player_genders" local genders = {} local function loadgenders() local input = io.open(gender_file, "r") if input then repeat local gender_choice = input:read("*n") if gender_choice == nil then break end local name = input:read("*l") genders[name:...
local nbt = require("nbt") local intTest = { -- name, minrange, maxrange, testtruncval, cmptrunc, oormin, oormax {"newByte", -128, 127, 32.4, 32, -2147483648, 65535}, {"newShort", -32768, 32767, 662.4, 662, -2147483648, 2147483647}, {"newInt", -2147483648, 2147483647, -222222222.2, -222222222, -4294967296, 4...
local M = {} local files = { adjectives = 'data/adjectives.dat', nouns = 'data/nouns.dat' } local function load(what) local h = io.open(files[what], 'r') local words = {} for w in h:lines() do words[#words + 1] = w:match('^%s*(.-)%s*$') end return words end setmetatable(M, { __index = function(se...
game.Workspace.Events.Shop.ChangeActiveGun:FireServer("Commando")
str = string.lower( "March 7 2009 7:30pm EST" ) month = string.match( str, "%a+" ) if month == "january" then month = 1 elseif month == "february" then month = 2 elseif month == "march" then month = 3 elseif month == "april" then month = 4 elseif month == "may" then month = 5 elseif month == "june...
fx_version "cerulean" games { "gta5" }
s.hearts = {"position", "size", "hearts"} s.hearts.draw = function(i, position, size, hearts) local quad = spritesheet:get("heart") for x = 1, hearts.hp do love.graphics.setColor(0.5, 0, 0) love.graphics.draw( spritesheet.image, quad, position.x - size.w / 2 ...
-- -- client.lua -- UDP client -- local net = require "SDL.net" -- Init net.init() -- "connect" to host and send hello local addr = net.resolveHost("localhost", 9898) local s = net.openUdp(0) -- Send "Hello" local ret, err = s:send("Hello", addr)
TOOL.Category = "Construction" TOOL.Name = "#tool.hoverball.name" TOOL.Command = nil TOOL.ConfigName = nil TOOL.ClientConVar[ "keyup" ] = "9" TOOL.ClientConVar[ "keydn" ] = "6" TOOL.ClientConVar[ "speed" ] = "1" TOOL.ClientConVar[ "resistance" ] = "0" TOOL.ClientConVar[ "strength" ] = "1" TOOL.Clien...
minpac.add('tpope/vim-eunuch', {type = 'opt'})
local Stream = require("lockbox.util.stream"); local Digest = require("lockbox.digest.sha1"); local String = require("string"); local test = {}; test[""] = "da39a3ee5e6b4b0d3255bfef95601890afd80709"; test["abc"] = "a9993e364706816aba3e25717850c26c9cd0d89d"; test["abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopno...
clientOn = false; function ClientCommand() serverIP = "127.0.0.1"; if (WM_MBUTTONDOWN.occured) then print("Attempting to connect to server at "..serverIP.."..."); result = chiNetworkStartClient(serverIP); if (result) then print("Success"); clientOn = true; e...
WeaponSounds = { sounds = { "weapon/fusion" }, range = 600, volume = 0.65, }
-- --Manage a collection of documents. --You will need to create '/yourPath/data/' yourself --to load it use 'collection.load("yourPath/data")' local fs=require("filesystem") local serialization=require("serialization") local c={} c.metaData={} function c.saveMeta() --saves management data local file=io.open(c.meta...
--[[-----------------------------< In this script file all the screens have to be put (for a better view x3) This means that the scripts of the screen itselves also have to be included here. --]]-----------------------------< local ScreensList = {} local vidStatus = dxGetStatus() local screenX, screenY = guiGetScreenS...
if cc.bPlugin_ then luaoc = require("cocos.cocos2d.luaoc") else -- luaoc = require(cc.PACKAGE_NAME .. ".luaoc") end
-------------------------------------------------------------------------------- -- Module Declaration -- local mod = BigWigs:NewBoss("Azurethos, The Winged Typhoon", -895, 2199) if not mod then return end mod:RegisterEnableMob(136385) mod.otherMenu = -947 mod.worldBoss = 136385 -------------------------------------...
----------------------------------- --Global Variables/Helper Classes-- ----------------------------------- local modName = "Skill Issue" local json = require("json") SKILL_ISSUE_MOD = RegisterMod(modName, 1) SKILL_ISSUE_MOD.SFX = SFXManager() SKILL_ISSUE_MOD.WHISPER_SOUND = Isaac.GetSoundIdByName('LOSER_WHISPER') SKI...
-- Discord RPC GLua API local dllname = "examplerpc" -------------------------------------- local dllname32 = "gmcl_" .. dllname .. "_win32.dll" local dllname64 = "gmcl_" .. dllname .. "_win64.dll" local dllexist = false if file.Exists("bin/" .. dllname32, "lsv") then require(dllname) dllexist = true ...
--[[-------------------------------------------------- GUI Editor client snapping.lua manages element snapping while being moved/resized --]]-------------------------------------------------- Snapping = { active = Settings.default.snapping.value, precision = Settings.default.snapping_precision.value, offset ...
local shell = require("shell") local filesystem = require("filesystem") local args = {...} local scripts = { "action.lua", "database.lua", "gps.lua", "posUtil.lua", "scanner.lua", "signal.lua", "autoStat.lua", "autoCrossbreed.lua", "autoSpread.lua", "install.lua" } local functio...
local pairs = pairs local ipairs = ipairs local smatch = string.match local slower = string.lower local ssub = string.sub local slen = string.len local cjson = require("cjson") local resty_sha256 = require("resty.sha256") local str = require("resty.string") local pwd_secret = "c29a95a6a375c5406b88ce6cdfea3d65" local lo...
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ========== PlaceObj('XTemplate', { group = "InGame", id = "TouristOverview", PlaceObj('XTemplateWindow', { '__context', function (parent, context) return context or {} end, '__class', "XDialog", }, { PlaceObj('XTemplateFunc', { 'name', "Close", 'fu...
meta.name = "Chaotic Events" meta.description = "A chaos mod similar to that of the GTA V Chaos Mod." meta.version = "WIP" meta.author = "C_ffeeStain" local names = {"All Mounts Go Wild", "Shopkeeper Mayhem", "Discount", "Expensive Shops", "Low Render Distance", "Indiana Jones", "Brainfreeze", "Here He Comes!", "I'm a...
--[[ This file is part of 'Masque', an add-on for World of Warcraft. For license information, please see the included License.txt file. * File...: Locales\esES.lua [ Notes ] To help with translations, use the localization system on WoWAce (https://www.wowace.com/projects/masque/localization) or contri...
pcall(function() require "import" end) -- require module and use global env -- only use true in the debug env require "table_serialize" (true) local dump = dump or print local main_dir=debug.getinfo(function()end).short_src if main_dir~=nil then main_dir = main_dir:match("(.+)/main.lua") end local test_path if ...
local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB local UF = E:GetModule('UnitFrames'); local LSM = LibStub("LibSharedMedia-3.0"); --Cache global variables --Lua functions local unpack = unpack local find = string.find local format = string.format local tinsert = t...
--[[ Name: furniture_hl2.lua For: TalosLife By: TalosLife ]]-- local Item = {} Item.Name = "Sofa 1" Item.Desc = "Looks comfy." Item.Type = "type_furniture" Item.Model = "models/props_c17/FurnitureCouch001a.mdl" Item.Weight = 250 Item.Volume = 50 Item.HealthOverride = 3000 Item.CanDrop = true Item.DropClass = "prop_...
--[[ ModuleName : Path : script/lualib/common/base/global.lua Author : jinlei CreateTime : 2020-07-02 19:10:11 Description : --]] function GIsServer() return true end function GIsClient() return false end
Locales['en'] = { ['actions'] = 'Menu', ['amount'] = 'Antal', ['balance'] = 'Konto', ['bank'] = 'Bank', ['bill_amount'] = 'Fakture', ['billing'] = 'Fakt...
local function teleportHumanoidToCFrame(humanoid: Humanoid, cframe: CFrame) local rootPart = humanoid.RootPart if rootPart then rootPart.CFrame = cframe + Vector3.new(0, rootPart.Size.Y / 2 + humanoid.HipHeight, 0) end end return teleportHumanoidToCFrame
-- Confirm that Nylon core can start a cord. io.write 'Nylon.cord creation' require 'site' require 'nylon.syscore' NylonSysCore.addOneShot( 1000, function() -- failsafe timer print '\ngot failsafe' os.exit(1) end ) loc...
-- copy all globals into locals, some locals are prefixed with a G to reduce name clashes local coroutine,package,string,table,math,io,os,debug,assert,dofile,error,_G,getfenv,getmetatable,ipairs,Gload,loadfile,loadstring,next,pairs,pcall,print,rawequal,rawget,rawset,select,setfenv,setmetatable,tonumber,tostring,type,un...
return { name = "Roll!!!", intro = { notification = "phone", image = "roll" }, map = "ratzi-map", spawn = { x = 910, y = 2170 }, steps = { { item = "roll", marker = "roll", position = { x = 4095, ...
-- Generated by LairTool yavin4_whisper_bird_lair_neutral_medium = Lair:new { mobiles = {{"whisper_bird_female",1},{"whisper_bird_hatchling",2}}, spawnLimit = 15, buildingsVeryEasy = {"object/tangible/lair/base/poi_all_lair_nest_large.iff"}, buildingsEasy = {"object/tangible/lair/base/poi_all_lair_nest_large.iff"},...
-- -- Copyright 2013 John Pormann -- -- 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...
themepark_loot_datapad = { minimumLevel = 0, maximumLevel = -1, customObjectName = "Datapad", directObjectTemplate = "object/tangible/loot/misc/damaged_datapad.iff", craftingValues = { }, customizationStringNames = {}, customizationValues = {} } addLootItemTemplate("themepark_loot_datapad", themepark_loot_data...
-- spritepanel : graphical util for single sprite and border-sprite widgets -- allows anim via texcoord-matrix : multiple frames in single texture reachable via texcoord transform -- restrictions : a single spritelist : all parts must be inside a single texture (otherwise you can just use multiple spritepanels) -- m...
local EphemeralSystem = Tiny.processingSystem(Class "EphemeralSystem") EphemeralSystem.filter = Tiny.requireAll("lifetime") function EphemeralSystem:process(e, dt) e.lifetime = e.lifetime - dt if e.lifetime <= 0 then world:remove(e) end end return EphemeralSystem
local json = require "cjson"; local io = require("io"); local check = "on" local count1 = 1000 local count2 = 2000 local count3 = 5000 local seconds = 10 local random_rate1 = 20 local random_rate2 = 50 local random_rate3 = 100 local err_data = {}; err_data['data'] = {}; err_data['err_code'] = 1101; err_data['err_msg'] ...
local a = require("plenary.async").tests local describe = a.describe local Path = require("plenary.path") local scandir = require("plenary.scandir") local refactoring = require("refactoring.refactor") local Config = require("refactoring.config") local test_utils = require("refactoring.tests.utils") local utils = requir...
module("mem", package.seeall) local memory_names = { current_tileset = 0xD367, current_map = 0xD35E, map_height_blocks = 0xD368, map_width_blocks = 0xD369, ----player player_x_coord = 0xD362, player_y_coord = 0xD361, movement_scripted = 0xD730,--weird and maybe broken player_facing_direction = 0xC109, p...
dofile("git/shared.lua") UPDATE_PORT = channel.new("UPDATE_PORT") local info = http.get("http://devdavisnunez.x10.mx/wikihb/api/v1/auto_update.php?id=152&v="..APP_VERSION); if info then info /= "|" local version = info[1] if version and tonumber(version) then version = tonumber(version) local major = (versi...
local out = {} local console = {} function console.log(msg) table.insert(out, msg) end function console.draw() local start = 0 if(#out > 10) then start = #out - 10 end for line = start, start + 10, 1 do if out[line] then love.graphics.print(out[line], 20, 10 * (line -...
--[[ ? 2013 CloudSixteen.com do not share, re-distribute or modify without permission of its author (kurozael@gmail.com). --]] local ITEM = Clockwork.item:New("clothes_base"); ITEM.name = "CWU. Medical Jacket"; ITEM.group = "betacz"; ITEM.weight = 2; ITEM.access = "m"; ITEM.business = true; ITEM.description = "A med...
local nmos_assembly = { ["adc"] = { {"adc_imm", {"immediate"}}, {"adc_zpg", {"zeropage"}}, {"adc_zpg_x", {"zeropage_x"}}, {"adc_abs", {"absolute"}}, {"adc_abs_x", {"absolute_x"}}, {"adc_abs_y", {"absolute_y"}}, {"adc_ind_x", {"indirect_x"}}, {"adc_ind_y", {"indirect_y"}}, }, ["and"...
local gwallpaper = require("gears.wallpaper") local gsurface = require("gears.surface") local gdebug = require("gears.debug") local cairo = require("lgi").cairo local wallpaper = {} -- Scales surface to width or height of screen and then repeats along other -- axis. By default scales horizontally and repeats vertical...
---------------------------------------------------------------------------------- --- Total RP 3 --- Map marker and coordinates system --- --------------------------------------------------------------------------- --- Copyright 2014 Sylvain Cossement (telkostrasz@telkostrasz.be) --- Copyright 2014-2019 Morgane "Ellyp...
AntiCheat.Locales['en'] = { ['checking'] = ' [🛡️RioClient-VPNCheck🛡️] | Proxy Resolver...', ['empty_reason'] = '[🛡️RioClient-AC]:No Reseaon Given', ['resource_starting'] = '[🛡️RioClient-AC🛡️] | Server is Restarting....RioClient Can Authorize a Connection', ['unknown_error'] = ' [🛡️RioClient-AC🛡️]...
AuctionatorConfigRadioButtonGroupMixin = {} function AuctionatorConfigRadioButtonGroupMixin:InitializeRadioButtonGroup() Auctionator.Debug.Message("AuctionatorConfigRadioButtonGroupMixin:InitializeRadioButtonGroup()") if self.groupHeadingText ~= nil then self.GroupHeading.subHeadingText = self.groupHeadingTex...
--- Component loader for Lua ---------------------------------------- --- Logging error or something. -- LUNO_LOG environmental variable is checked at loading time, -- and it can be NOTSET, DEBUG, INFO or ERROR. -- If LUNO_LOG_FILE specifies a file to write, log messages are -- stored into it. local logger = {} funct...
local BasePlugin = require "kong.plugins.base_plugin" local access = require "kong.plugins.kong-upstream-hmac.access" local UpstreamHMACHandler = BasePlugin:extend() function UpstreamHMACHandler:new() UpstreamHMACHandler.super.new(self, "kong-upstream-hmac") end function UpstreamHMACHandler:access(conf) Ups...
return {[1]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="{0}% more Duration "},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="{0}% less Duration "}}},name="quality_duration_final",stats={[1]="active_skill_quality_duration_+%_final"}},[2]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTe...
local K, C, L, _ = unpack(select(2, ...)) if C["blizzard"].capturebar ~= true then return end local _G = _G local select = select local unpack = unpack local hooksecurefunc = hooksecurefunc -- Reposition Capture Bar local function CaptureUpdate() if not NUM_EXTENDED_UI_FRAMES then return end for i = 1, NUM_EXTENDED...
local Map = {} Map.__index = Map local CELL_SIZE = 30 local deck = MOAITileDeck2D.new() deck:setTexture(ResourceManager.getSprite('tiles.png')) deck:setSize(1, 1) function Map.new(map_data) local map = setmetatable({}, Map) local main_grid = map:_make_grid(map_data) local pf_grid = map:_make_pf_grid(map_...
object_tangible_wearables_bracelet_bracelet_gcw_imperial_r = object_tangible_wearables_bracelet_shared_bracelet_gcw_imperial_r:new { } ObjectTemplates:addTemplate(object_tangible_wearables_bracelet_bracelet_gcw_imperial_r, "object/tangible/wearables/bracelet/bracelet_gcw_imperial_r.iff")
return function(nvim_lsp, on_attach, handlers) -- JS Linter local eslint = { lintCommand = 'eslint_d -f unix --stdin --stdin-filename ${INPUT}', lintStdin = true, lintFormats = { '%f:%l:%c: %m' }, lintIgnoreExitCode = true, formatCommand = 'eslint_d --fix-to-stdout --stdin --stdin-filename=${INP...
local GameMath = require "smee.logic.gamemath" local CollisionComponent = require "sandbox.entitycomponents.collisioncomponent" local Abilities = require "sandbox.statics.abilitiydefinitions" local CombatLogic = {} local function applyEffect(effect, target) local targetUnitComponent = ...
-- Copyright (C) 2021 Igara Studio S.A. -- -- This file is released under the terms of the MIT license. -- Read LICENSE.txt for more information. dofile('./test_utils.lua') -- Test app.events do local i = 0 local listener = app.events:on('sitechange', function() i = i + 1 end) ...
----------------------------------------------------------------------------- -- Name: Sensor.wx.lua -- Purpose: Graphical Interface for use the Sensor in IoT tests -- Author: João Victor Oliveira Couto -- Created: April 2018 -- Licence: wxWidgets licence ----------------------------------------...
treesitter_languages = { "go", "javascript", "lua", "tsx", "typescript" } polyglot_languages = { "elixir", "python" } local treesitter = require("nvim-treesitter.configs") treesitter.setup { ensure_installed = treesitter_languages, highlight = { enable = true, disable = polyglot_languages ...
--[[ File: cw_npc_spawn_red.lua Author: toneo Realm: Server This represents one of red team's npc spawn points. ]]-- -- Point entities have no model and are extremely cheap. ENT.Type = "point"
if SERVER then AddCSLuaFile( "countdown/client.lua" ) include( "countdown/server.lua" ) else include( "countdown/client.lua" ) end
local g_Me = getLocalPlayer(); local g_Rockets = {}; local resetTimer = false; local MyKiller = false; local DrawText = ""; local DrawingTime = 0; local scrX,scrY = guiGetScreenSize(); addEventHandler("onClientPlayerWasted",root, function() if (source == g_Me) then if isTimer(resetTimer) then killTimer(resetTime...
local ReplicatedStorage = game:GetService('ReplicatedStorage') local StarterGui = game:GetService('StarterGui') local LayoutUtil = require(ReplicatedStorage.LayoutUtil) -- Construct the UI local gui = Instance.new('ScreenGui') local scrollingFrame = Instance.new('ScrollingFrame') scrollingFrame.AutomaticCan...
local util = require "lua-pie.util" () local warning = util.warning local writing_allowed = util.writing_allowed return function(classes) local FORBIDDEN_OPERATORS = { __index = true, __newindex = true, __mode = true, __gc = true } local function import(name) return classe...