content
stringlengths
5
1.05M
# -*- coding: utf-8 -*- -- Modifications for Firefall's chat module to filter messages through -- chatmaid. @mod "chatmaid - include chatmaid.lua" @after last glob "require \"?*\"" @include "chatmaid.lua" @mod "chatmaid - sanitize message" @after "function lf.ProcessChatMessageArgs(args)" @before "\treturn args" if c...
-- -- Please see the readme.txt file included with this distribution for -- attribution and copyright information. -- -- -- GENERAL -- function getActiveInit() local nActiveInit = nil; local nodeActive = getActiveCT(); if nodeActive then nActiveInit = NodeManager.get(nodeActive, "initresult", 0); end ret...
local class = require "lib.middleclass" local matcher = require "util.matching" local fill = require "components.Rectangle.fill" local line = require "components.Rectangle.line" local Item = require "components.Item" local Rectangle = class("Rectangle", Item) local colMatcher = matcher("tbl{t.number, t.number, t.num...
-- Credits to stassart on curse.com for suggesting to use InCombatLockdown() checks in the code -- Debug function. Adds message to the chatbox (only visible to the loacl player) function dout(msg) DEFAULT_CHAT_FRAME:AddMessage(msg); end -- Additional debug info can be found on http://www.wowwiki.com/Blizzard_...
meshes = { { vertexes = {{400,400},{350,550},{300,400},{350,250}, {400,400},{450,550},{500,400},{450,250}}, colors = {0x00ff0030, 0x00ff0030, 0x00ff0030, 0x00ff0030, 0x00ff0030, 0x00ff0030, 0x00ff0030, 0x00ff0030}, segments = {{0,1,2,3,0},{4,5,6,7,4}} }, }
local M = {} M.url = 'hrsh7th/cmp-nvim-lua' M.description = 'Neovim lua API source for nvim-cmp' M.requires = { 'nvim-cmp' } M.after = { 'nvim-cmp', } return M
local song; local discimg = "fallback"; local t = Def.ActorFrame { -- --CD Mask -- Def.ActorFrame{ -- Name="CdMask"; -- InitCommand=cmd(); -- LoadActor(THEME:GetPathG("", "MusicWheelItem Song NormalPart/cd/cd_mask"))..{ -- OnCommand=cmd(blend,'BlendMode_NoEffect';zwrite,true;clearzbuffer,false;); -- }; -...
object_tangible_collection_col_force_shui_table_01 = object_tangible_collection_shared_col_force_shui_table_01:new { gameObjectType = 8211,} ObjectTemplates:addTemplate(object_tangible_collection_col_force_shui_table_01, "object/tangible/collection/col_force_shui_table_01.iff")
--[[ desc:状态机 auth:Carol Luo ]] local class = require("class") local pokerStatus = require("poker.tatus") ---@class zjh_status:pokerStatus local status = class(pokerStatus) ---构造函数 function status:ctor() end return status
local function isarray(t, emptyIsObject) if type(t)~='table' then return false end if not next(t) then return not emptyIsObject end local len = #t for k,_ in pairs(t) do if type(k)~='number' then return false else local _,frac = math.modf(k) if frac~=0 or k<1 or k>len then return false ...
-- Aero Proxy -- Rocky28447 -- June 27, 2020 --[[ A proxy module to allow main menu Aero code to interface with the obfuscated network module. Only include functions that the Aero-side will need. AeroProxy.getGameSaveData() AeroProxy.renderCharacter(mask, appearanceData) ]] local AeroProxy = {} local Repl...
local class = require "lib.middleclass" local Component = require "util.Component" local straightShader = love.graphics.newShader [[ extern Image gradient; extern vec2 direction; vec4 effect(vec4 color, Image texture, vec2 texture_coords, vec2 screen_coords) { vec4 result = Texel(gradient, vec2(dot(texture_...
-- load test base ClassicWoT = require("testbase") local FLOAT_NEAR = 0.00001 describe("table helpers", function() describe("reduce", function() it("can sum ints", function() assert.equals(ClassicWoT.table.reduce({ one = 1, two = 2, three = 3 }, function(v, carry) return carry ...
require 'torch' require 'nn' require 'optim' util = paths.dofile('../util/util.lua') require 'image' require 'models/models' require 'gnuplot' require 'cunn' require 'cudnn' require 'xlua' require 'math' require 'gnuplot' require 'sys' require 'image' require('ROI.ROI') require('ROI.ROIPooling') require('networks/SeGA...
return { name = 'EffectType', description = 'The different types of effects supported by love.audio.setEffect.', constants = { { name = 'chorus', description = 'Plays multiple copies of the sound with slight pitch and time variation. Used to make sounds sound "fuller" or "thi...
-- -- User: slevin -- Date: 11/22/14 -- Time: 8:52 PM --
-- Table utils local tostring = tostring local type = type local pairs = pairs local string = string local table = table local load = load local pcall = pcall local setmetatable = setmetatable -- Create the module table here local M = {} package.loaded[...] = M if setfenv and type(setfenv) == "function" t...
local AddonName, AddonTable = ... AddonTable.naxx = { 40408, -- Haunting Call -- Shared/Multiple 122197, -- Music Roll: Wrath of the Lich King 40299, -- pauldrons-of-the-abandoned 40300, -- spire-of-sunset 39702, -- arachnoid-gold-band 40346, -- final-voyage 40345, -- broken-promise ...
require "resty.nettle.types.nettle-types" local ffi = require "ffi" local ffi_cdef = ffi.cdef ffi_cdef [[ void nettle_ctr_crypt(const void *ctx, nettle_cipher_func *f, size_t block_size, uint8_t *ctr, size_t length, uint8_t *dst, const uint8_t *src); ]]
local addonName, RIC = ... local LD = LibStub("LibDeflate") local response = {} function RIC.SendComm(message, channel) local messageSerialized = LD:EncodeForWoWAddonChannel(LD:CompressDeflate(RIC:Serialize(message))) if channel == nil then RIC:SendCommMessage("ricroster", messageSerialized, "RAID") RIC:SendComm...
SitAnywhere = SitAnywhere or {} SitAnywhere.NET = { ["SitWantedAng"] = 0, ["SitRequestExit"] = 1, } SitAnywhere.ClassBlacklist = { ["gmod_wire_keyboard"] = true, ["prop_combine_ball"] = true } SitAnywhere.DoNotParent = { ["yava_chunk"] = true } SitAnywhere.ModelBlacklist = { } local EMETA = FindM...
local M = {} local function symbols_override() local diagnostic_signs = { Error = '', Warning = '', Hint = '', Information = '' } for type, icon in pairs(diagnostic_signs) do local hl = 'LspDiagnosticsSign' .. type vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = '' }) end end -- local fun...
local mt = require 'vm.manager' local multi = require 'vm.multi' function mt:callPcall(func, values, source) local funcValue = values:first() if not funcValue then return end local realFunc = funcValue:getFunction() if not realFunc then return end local argList = multi() ...
return {'tot','totaal','totaalaanbod','totaalaanpak','totaalakkoord','totaalbedrag','totaalbeeld','totaalbegrip','totaalbestand','totaalbudget','totaalcijfer','totaalconcept','totaalcontrole','totaalervaring','totaalgeluid','totaalgewicht','totaalindruk','totaalklank','totaalkolom','totaalomzet','totaaloordeel','totaal...
local Action = {}; Action.Synchronous = false; -- Stops the player from proceeding to the next dialogue/leaving -- the conversation until the action is complete. -- Note: If this is an "action before" function, -- this causes the dialogue box to be *blank* -- until the action is complete. ...
pprint = require 'lib.pprint' require 'lib.helpers.core_funcs' require 'lib.ECFS' require 'lib.load_all_scripts' local state = require 'lib.UI.handling' MYSTATE = state require 'lib.UI.ui_data_state' local gamera = require 'lib.gamera' CAM = gamera.new(-200, -200, 9600, 9600) font = love.graphics.newFont(32) P = {} P....
return {'clyde','clydes'}
local mixin, oldVersion = LibStub("LibJayOptions"):RegisterControl("Button", 0, "Button") if not mixin then return end ---@param self table ---@param motion boolean local function OnEnter(self, motion) if self:IsEnabled() then self.callbacks:TriggerEvent("OnEnter", self, motion) end end ---@param self table ---@para...
function f (tuple0) a, b = table.unpack(tuple0) return table.pack(a + 1, b + 1) end local t = f(table.pack(0, 1)) a, b = table.unpack(t) io.write(string.format("%d -- %d--\n", a, b))
local speed_timer = 0 local vehicle = nil function OnPackageStart() Delay(1000, function() speed_timer = CreateTimer(GetSpeedData, 150) end) end AddEvent("OnPackageStart", OnPackageStart) function GetSpeedData() if vehicle ~= 0 and vehicle ~= nil and vehicle ~= '0' then local speed = mat...
-- -- buttplug.lua -- -- MIT License -- -- Copyright (c) 2021 abbiwyn -- -- 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 ...
-- Make sure love table exists. if not love then love = {} end -- Used for setup: love.path = {} function love.insmod(name, provides) if love.__mod[provides] and love.__mod[provides][name] then love.__mod[provides][name].open() print("Opened " .. provides .. " module " .. name .. ".") end end --...
-- Vertex blending require 'lubyk' local Demo = require 'demo' local Manip = require 'manip' local V2 = four.V2 local V3 = four.V3 local Quat = four.Quat local Buffer = four.Buffer local Transform = four.Transform local Geometry = four.Geometry local Effect = four.Effect local Camera = four.Camera local Color = four...
-------------------------------------------------------------------------------- -- Copyright (c) 2015 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- -- Use, modification and distribution are subject to the "New BSD License" -- as listed at <url: http://www.opensource.org/licenses/bsd...
conference_call_session = NIL first_time_main_menu = false first_time_submenu = false api = freeswitch.API() is_a_demo_user_extension = "false" ----------------------------------------------------------------------- session:answer() session:execute("playback", "silence_stream://1000") if(not session:ready())then goto...
AddCSLuaFile() local VehicleName = "2020 NYPD Ford Explorer" local EMV = {} EMV.Siren = "nypdssr" EMV.Skin = "pringle/skins/nypd/2020explorer/20exnypd" EMV.Color = Color(255,255,255) ---CUSTOM COLORS--- local B = "BLUE" local R = "RED" local A = "AMBER" local W = "WHITE" local G = "GREEN" local DR = "D_RED" loca...
require "lsp.lspcolors" require "lsp.lspsaga" require "lsp.cmp" require "lsp.trouble" require "lsp.lspconfig" -- require "lsp.lspsignature" require "lsp.null-ls"
local MAJOR,MINOR = "Lib:Busted-2.0", 6 -- Get a reference to the package information if any local APkg = Apollo.GetPackage(MAJOR) -- If there was an older version loaded we need to see if this is newer if APkg and (APkg.nVersion or 0) >= MINOR then return -- no upgrade needed end -- Set a reference to the actual p...
-- Binary trees benchmark from benchmarks game -- https://benchmarksgame-team.pages.debian.net/benchmarksgame/description/binarytrees.html -- -- This is a small GC-focused benchmark, with not much room for clever tricks. -- The code used here is based on the one contributed by Mike Pall: -- * The leaf nodes are now st...
function Thirhaly_EnterCombat (pUnit, event) pUnit:SendChatMessage(14, 0, "HEY FUCKER, COME HERE") pUnit:RegisterEvent("Thirhaly_Deathstrike", 1000, 1) pUnit:RegisterEvent("Thirhaly_Asunder", 24000, 0) pUnit:RegisterEvent("Thirhaly_Direnova", 20000, 0) pUnit:RegisterEvent(...
local K, C, L, _ = unpack(select(2, ...)) if C["skins"].recount ~= true or not IsAddOnLoaded("Recount") then return end -- Recount skin local Recount = _G.Recount local function SkinFrame(frame) frame.bgMain = CreateFrame("Frame", nil, frame) K.SetBlizzBorder(frame.bgMain, 3) if frame == Recount.MainWindow then ...
function PlaySound(sound, volume, panning) volume = volume or UserConfig.Settings.SoundVolume panning = panning or 0 return Audio:Play(sound, volume, panning, UserConfig.Settings.SoundsMuted) end function PlayLoopedSound(sound, volume, panning) volume = volume or UserConfig.Settings.SoundVolume panning = pa...
function gadget:GetInfo() return { name = "mo_greenfields", desc = "mo_greenfields", author = "TheFatController", date = "19 Jan 2008", license = "GNU GPL, v2 or later", layer = 0, enabled = true -- loaded by default? } end -----------------------------------...
function message(message) windower.add_to_chat(messageColor,'PARSE: '..message) end function debug(message) if settings.debug then windower.add_to_chat(messageColor,'PARSE DEBUG: '..message) end end function merge_tables(t1,t2) for key,value in pairs(t2) do if not t1[key] then -- doesn't exist already --de...
local naughty = require('naughty') local session = require('sessiond_dbus') local config = require('dovetail.config') local inhibit = require('dovetail.inhibit') local screenshot = require('dovetail.screenshot') naughty.connect_signal('request::display', function (n) naughty.layout.box {notification = n} end) n...
return { version = "1.1", luaversion = "5.1", tiledversion = "1.0.2", orientation = "orthogonal", renderorder = "left-down", width = 100, height = 100, tilewidth = 128, tileheight = 128, nextobjectid = 71, properties = {}, tilesets = { { name = "spritesheet_ground", firstgid = 1,...
--[[ Description: Responsible for logging Author: Sceleratis Date: 12/11/2021 --]] local Root, Package, Utilities, Service local Logging = { Logs = {}; AddLog = function(self, logType: string, logEntry: {Text: string?, Description: string?, Time: number?, NoTime: boolean?}|string, ...) local logTable = self...
--- -- @author wesen -- @copyright 2021 wesen <wesen-ac@web.de> -- @release 0.1 -- @license MIT -- local Object = require "classic" local ScoreContextProvider = require "GemaScoreManager.ScoreContextProvider" local TemplateException = require "AC-LuaServer.Core.Util.Exception.TemplateException" --- -- Util class that...
function givePlayerParachute(player) if not isElement(player) then return end setPlayerActiveWeaponSlot(player) player:setData("has_parachute", true) giveWeapon(player, 46, 1, true) end function takePlayerParachute(player) if not isElement(player) then return end if not...
local args = ...; InputNamespace = {}; InputNamespace.KeyPressed = args.PiroGame:load('Input/KeyPressed.lua'); InputNamespace.KeyReleased = args.PiroGame:load('Input/KeyReleased.lua'); InputNamespace.MousePressed = args.PiroGame:load('Input/MousePressed.lua'); InputNamespace.MouseReleased = args.PiroGame:load('Input...
local sBannerPath = THEME:GetPathG("Common", "fallback jacket"); local sJacketPath = THEME:GetPathG("Common", "fallback jacket"); local bAllowJackets = true local song; local group; local bannerPath; function GetSongBanner(song) if song then local path = song:GetBannerPath() if path then return path end...
--烙印の使徒 -- --Script by Trishula9 function c101107053.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --negate local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetCode(EVENT_CHA...
MSBTProfiles_SavedVars = { ["profiles"] = { ["RealUI"] = { ["critFontName"] = "pixel_crits", ["stickyCritsDisabled"] = true, ["animationSpeed"] = 70, ["normalFontSize"] = 8, ["textShadowingDisabled"] = true, ["creationVersion"] = "5.4.78", ["critFontSize"] = 16, ["critOutlineIndex...
AddEventHandler('chatMessage', function(source, name, msg) if msg == "/fixcar" then CancelEvent(); TriggerClientEvent('trap:fix', source); end end)
--[[ © CloudSixteen.com do not share, re-distribute or modify without permission of its author (kurozael@gmail.com). Clockwork was created by Conna Wiles (also known as kurozael.) http://cloudsixteen.com/license/clockwork.html --]] local Clockwork = Clockwork; local COMMAND = Clockwork.command:New("MapChange"); ...
--------------------------------------------------------------- -- Copyright 2021 Deviap (https://deviap.com/) -- --------------------------------------------------------------- -- Made available under the MIT License: -- -- https://github.com/deviap/deviap-main/blob/master/LICENSE -- ...
Tabs = {} local screenSize = Vector2(guiGetScreenSize()) local tabsOrder = { "home", "character", "shop", "rewards", "statistics" } local currentTabName local currentTab local tabsY = 30 local tabsHeight = 45 local tabsX = 50 local tabsHorizontalOffset = 10 local tabsSpace = 20 local tabsTextScale = 1.5 if scree...
-- This file is auto-generated by shipwright.nvim local common_fg = "#534C49" local inactive_bg = "#DCD6D3" local inactive_fg = "#596A76" return { normal = { a = { bg = "#B4A69E", fg = common_fg, gui = "bold" }, b = { bg = "#C5B9B3", fg = common_fg }, c = { bg = "#D5CDCA", fg = "#2C363C" }, }, insert = { a...
local API = {} API.KEYBINDS = { "ability_primary", "ability_extra_21", "ability_extra_30", "ability_extra_31", "ability_extra_32" } function API.IsWhitelisted(keybind) for _, string in pairs(API.KEYBINDS) do if string == keybind then return string end end end r...
-- See: https://github.com/cappyzawa/trim.nvim/blob/master/lua/trim/config.lua local patterns = { [[%s/\s\+$//e]], [[%s/\($\n\s*\)\+\%$//]], [[%s/\%^\n\+//]], } vim.cmd('autocmd BufWritePre * lua require("whitespace").trim()') return { trim = function() local save = vim.fn.winsaveview() for _, patter...
local levels = {} local screenSize = require( "libs.screenSize" ) local colours = require( "libs.colours" ) local myApp = require( "libs.myapp" ) -- forward declarations and other locals local screenW, screenH, halfW, halfH = screenSize.screenW, screenSize.screenH, screenSize.halfW, screenSize.halfH local startP...
-- Copyright (c) 2021 Trevor Redfern -- -- This software is released under the MIT License. -- https://opensource.org/licenses/MIT describe("game.rules.map.terrain", function() local terrain = require "game.rules.map.terrain" it("can describe terrain", function() terrain.describe { key = "newRoom", b...
--- A class handling the playing, pausing, and looping of audio. --- @classmod audioHandler local scheduler = require "scheduler" local loader = require "love-loader.love-loader" local audioHandler local function addFromAudioObject(audioObj, name) audioHandler.audioObjs[name] = audioObj end local audioDir = "/a...
-- ---------------------------------------------------------------------------------------- -- MIT License -- -- Copyright(c) 2021 Mario Borrajo Megoya -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files(the "Software"), to deal --...
function event_combat(e) local random_result = math.random(60); if(e.joined) then e.self:Say("Foolish adventurer!! You shall die. You are nothing to Azdalin. "); if(random_result <=20) then e.self:Say("" .. e.other:Class() .. " like you always bring out the worst in me!"); elseif(random_result <=40) then...
--[[ #Screenshotter Combined with a small Node.JS server, takes, crops, and masks screenshots of the Roblox viewport for automated screenshotting. Module API: Screenshotter .new{ optional string apiBase = 'localhost:28081' optional number port/[1] = 28081 optional autoRetry = true } Creates a Screenshotter ...
--Bedrock Build: 572 --This code is squished down in to one, rather hard to read file. --As such it is not much good for anything other than being loaded as an API. --If you want to look at the code to learn from it, copy parts or just take a look, --you should go to the GitHub repo. http://github.com/oeed/Bedrock/ --...
--[[-- EMVU Key Listener. @copyright Photon Team @release v74 Hot Sulphur Springs @author Photon Team @module EMVU --]]-- AddCSLuaFile() local key_primary_toggle = GetConVar("photon_key_primary_toggle") local key_primary_alt = GetConVar("photon_key_primary_alt") local key_siren_toggle = GetConVar("photon_key_siren_tog...
local SCHEMS_DIR = minetest.get_worldpath() .. "/bxschems" minetest.mkdir(SCHEMS_DIR) local function get_schema_dir(name, mkdir) local dir = SCHEMS_DIR .. "/" .. name if mkdir then minetest.mkdir(dir) end return dir end local function save_json(filename, data) local file = io.open(filename...
--gist:036f6139506ee782b39f ----------------------------------------------------------------------------- -- Imports and dependencies ----------------------------------------------------------------------------- local robot = require("robot") local sides = require("sides") ---------------------------------------------...
local util = require 'utility' local files = require 'files' local autoRequire = require 'core.command.autoRequire' local client = require 'client' local findInsertRow = util.getUpvalue(autoRequire, 'findInsertRow') local applyAutoRequire = util.getUpvalue(autoRequire, 'applyAutoRequire') local orig...
-- luacheck: std min+busted local zip = require "zip" describe("zip", function() it("is set as a global", function() assert.truthy(_G.zip) assert.are_same(zip, _G.zip) end) describe(".open", function() it("returns nil, error message on a non-existent zip file", function() local zfi...
local guai = { Attack4 = { operation = { [60] = { fire_bullet = {} }, }, }, } return guai
-- test.TbTestGlobal return { unlock_equip=10, unlock_hero=20, },
----------------------------------- -- Area: La Theine Plateau -- NPC: Galaihaurat -- Involved in Mission: The Rescue Drill -- !pos -482 -7 222 102 ----------------------------------- require("scripts/globals/missions") local ID = require("scripts/zones/La_Theine_Plateau/IDs") ----------------------------------- func...
MS_Items["ZG"] = { [19862] = { -- Aegis of the Blood God ["MS"] = {"W - Tank", }, ["OS"] = {"W - DW", "W - 2H", } }, [19852] = { -- Ancient Hakkari Manslayer ["MS"] = {"W - Tank", "W - DW", }, ["OS"] = {"Hunter", "S - Enhance", } }, [19892] = { -- Animist's Boots ...
--[[ Fade Module ]]-- local _, BCM = ... BCM.modules[#BCM.modules+1] = function() if bcmDB.BCM_Fade then return end -- Instead of just changing the global fading variables like we previously did, -- we now cleanly securehook the fade out functions and do the fading ourself. This should prevent -...
require("common/commonGameLayer"); require("uilibs/dotView"); require("ui/viewPager"); require("hall/main/widget/hallGameListPageView"); local hallGameListView = require(ViewPath .. "hall/main/hallGameListView"); --[[ 大厅游戏列表的界面 ]] HallGameListView = class(CommonGameLayer, false); HallGameListView.Delegate...
local TOKEN_FILE_NAME = "ota.ready" local LFS_PENDING_FILE = "lfs.pending.img" local ROOT_PENDING_FILE = "root.pending.img" local CONFIG_PENDING_FILE = "config.pending.img" local function makeRestRequestUrl(command) return string.format("/ota/%06X/%s", node.chipid(), command) end local OtaCheck = {} OtaCheck.__in...
return _csharp_getType("io.LuaFileSystemInfo");
object_tangible_furniture_all_frn_all_table_s03 = object_tangible_furniture_all_shared_frn_all_table_s03:new { } ObjectTemplates:addTemplate(object_tangible_furniture_all_frn_all_table_s03, "object/tangible/furniture/all/frn_all_table_s03.iff")
local rate_limit_key = KEYS[1] local now = ARGV[1] local burst = ARGV[2] local rate = ARGV[3] local period = ARGV[4] local cost = ARGV[5] local emission_interval = period / rate local increment = emission_interval * cost local burst_offset = emission_interval * burst local tat = redis.call("GET", rate_limit_key) if ...
import('GlobalVars') import('Console') import('BoxDrawing') freezeMenuNum = 0 doLevelSwitch = true background1 = { { xCoord = -280, yCoord = 140, length = 560, text = " ", boxColour = ClutColour(10, 8), textColour = ClutColour(13, 9), execute = nil, letter = "Select Level", underbox = -145 }, { xCoo...
local playsession = { {"mewmew", {681331}}, {"larshp", {1361490}}, {"sharpshot2566", {881505}}, {"VincentMonster", {1338228}}, {"Nemium", {1077648}}, {"ZiP84", {159028}}, {"Serennie", {640544}}, {"Bokrug", {327105}}, {"RonnDlear", {408178}}, {"adlmr", {555552}}, {"010110", {777468}}, {"Zory", {1461138}}, {...
------------------------------------------------------------------------------------------------------- -- lua based Tracking Projectiles manager, allowing for some custom and dynamic tracking projectiles. ------------------------------------------------------------------------------------------------------- TrackingP...
-- Generated by CSharp.lua Compiler local System = System local SlipeClientSounds local SlipeMtaDefinitions local SlipeSharedElements local SystemNumerics System.import(function (out) SlipeClientSounds = Slipe.Client.Sounds SlipeMtaDefinitions = Slipe.MtaDefinitions SlipeSharedElements = Slipe.Shared.Elements S...
require 'torch' local SZ = tonumber(arg[1]) local N = tonumber(arg[2]) local scale = tonumber(arg[3]) or 1 torch.manualSeed(1111) local x = torch.rand(SZ,SZ) local y = torch.rand(SZ,SZ) print('x', x:norm()) print('y', x:norm()) print('running') local clk = os.clock() if scale == 1 then for i=1,N do tor...
object_tangible_furniture_all_frn_all_banner_rebel = object_tangible_furniture_all_shared_frn_all_banner_rebel:new { } ObjectTemplates:addTemplate(object_tangible_furniture_all_frn_all_banner_rebel, "object/tangible/furniture/all/frn_all_banner_rebel.iff")
-- Debug thing for Mari0 2. Feel free to use it, MIT License local FrameDebug3 = {} local advanceDT = 1/60 local playing = true local advanceFrame = false function FrameDebug3.update(dt) local mul = 1 if VAR("ffKeys") then for _, ffKey in ipairs(VAR("ffKeys")) do if love.keyboard.isDown(ffKey.key) ...
object_tangible_furniture_house_cleanup_xeno_desk_lamp = object_tangible_furniture_house_cleanup_shared_xeno_desk_lamp:new { } ObjectTemplates:addTemplate(object_tangible_furniture_house_cleanup_xeno_desk_lamp, "object/tangible/furniture/house_cleanup/xeno_desk_lamp.iff")
local Prop = {} Prop.Name = "Furniture Store" Prop.Government = true Prop.Doors = { Vector( 2236.000000, 3182.000000, -13355.687500 ), Vector( 2236.000000, 3090.000000, -13355.687500 ), } GM.Property:Register( Prop )
vim.o.undodir = vim.fn.expand('~/.cache/nvim/undo/') vim.o.undofile = true vim.api.nvim_set_keymap('', '<leader>u', ':UndotreeToggle<CR>', {})
--[[ Project: lowHealthAlarm Friendly Name: Low Health Alarm Author: AndrielChaoti File: low_health_alarm.lua Purpose: Main code, handles making the beeps happen Copyright (c) Donald Granger. All Rights Reserved Licenced under the MIT License. See LICENSE file in the project root for full licence infor...
-- -- Created by IntelliJ IDEA. -- User: Noneatme -- Date: 05.02.2015 -- Time: 13:38 -- To change this template use File | Settings | File Templates. -- cCorporationProductionManagementGUI = inherit(cSingleton); --[[ ]] -- /////////////////////////////// -- ///// show ////// -- ///// Returns: void //////...
function nadmin:ReloadCommand(cmd) if isstring(cmd) then local f = "nadmin/plugins/" .. cmd .. ".lua" if file.Exists(f, "LUA") then include(f) net.Start("nadmin_update_cmds") net.WriteString(file.Read(f, "LUA")) net.Broadcast() ...
-- -- Created by IntelliJ IDEA. -- User: jufeng -- Date: 18/12/2019 -- Time: 上午11:02 -- To change this template use File | Settings | File Templates. -- local _M = {} local plugins_schema = { type = "object" } local host_def_pat = "^\\*?[0-9a-zA-Z-.]+$" local host_def = { type = "string", pattern = host_...
function cat_attack_skull() if azs.targetCross() then catAttack() else stop_autoattack() end end function cat_attack_cross() if azs.targetCross() then catAttack() else stop_autoattack() end end function catAttack() druid_cat_form() feralFaerieFire()...
local M = { } local __ = ... local split split = function(str, symbol) if symbol == nil then symbol = "%s" end local _accum_0 = { } local _len_0 = 1 for x in string.gmatch(str, "([^" .. symbol .. "]+)") do _accum_0[_len_0] = x _len_0 = _len_0 + 1 end return _accum_0 end local root1 = (split(__...
#!/usr/bin/env lua --[[ Author: Peter Odding <peter@peterodding.com> Last Change: July 12, 2014 URL: http://peterodding.com/code/vim/lua-ftplugin This Lua script is executed by the Lua file type plug-in for Vim to provide dynamic completion of function names defined by installed Lua modules. This works by expanding ...
-- -- Created by IntelliJ IDEA. -- User: Noneatme -- Date: 05.02.2015 -- Time: 13:38 -- To change this template use File | Settings | File Templates. -- cCorporationFinanzManagementGUI = inherit(cSingleton); --[[ ]] -- /////////////////////////////// -- ///// show ////// -- ///// Returns: void ////// --...