content
stringlengths
5
1.05M
local action_state = require "telescope.actions.state" local action_set = require "telescope.actions.set" local finders = require "telescope.finders" local make_entry = require "telescope.make_entry" local pickers = require "telescope.pickers" local previewers = require "telescope.previewers" local sorters = require "t...
-------------------------------- -- @module RichItemImageFactory -- @extend RichItemFactory -- @parent_module ccui -------------------------------- -- -- @function [parent=#RichItemImageFactory] init -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- ...
function love.load() my_image = love.graphics.newImage("swoof.png") end function love.update(dt) end function love.draw() --LOVE defaults the coordinates to 0, 0 --Extra arguments include: quad, scaling (x or y), rotation, etc love.graphics.draw(my_image) end function love.gamepadpressed(joy, button...
local tex_image = "$user$albedo" local tex_droplets = "shaders\\fx_hud_droplets" function element_0(shader, t_base, t_second, t_detail) shader:begin("stub_screen_space", "rain_drops") :fog (false) :zb (false, false) shader:dx10texture ("s_image", tex_image) shader:dx10texture ("s_droplets", tex_droplets)...
--ファドレミコード・ファンシア --Scripted by mallu11 function c100416017.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --cannot disable spsummon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CANNOT_DISABLE_SPSUMMON) e1:SetProperty(EFFECT_FLAG_IGNORE_RANGE+EFFEC...
local Promisify = require(script.Parent.Promisify) local Promise = require(script.Parent.Promise) return function() local ERR = "Value must be string!" local myFunctionAsync = Promisify( function(value) assert(type(value) == "string", ERR) return value:rep(3) end ) describe( "Wrapping functions in a ...
// Created by TheApathetic, so you know who to // blame if something goes wrong (someone else :P) //Modified by Moggie100 to add additional functionality! TOOL.Category = "Wire Extras/Visuals/Indicators" TOOL.Name = "Adv. Hud Indicator" TOOL.Command = nil TOOL.ConfigName = "" TOOL.Tab = "Wire" if ( CLIENT ) t...
local Awaken = function() end local Update = function() end local LateUpdate = function() end local FixUpdate = function() end local OnDestroy = function() end luascript = { Awaken = Awaken, Update = Update, LateUpdate = LateUpdate , FixUpdate = FixUpdate, OnDestroy = OnDestroy}
---@meta ---@class cc.MenuItemImage :cc.MenuItemSprite local MenuItemImage={ } cc.MenuItemImage=MenuItemImage ---* Sets the sprite frame for the disabled image. ---@param frame cc.SpriteFrame ---@return self function MenuItemImage:setDisabledSpriteFrame (frame) end ---* Sets the sprite frame for the selected im...
--[[ @class PluginPane.story ]] local require = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).load(script) local Maid = require("Maid") local ConverterPane = require("ConverterPane") return function(target) local maid = Maid.new() local pane = ConverterPane.new() ma...
#!/usr/bin/env lua local glfw = require("moonglfw") local vk = require("moonvulkan") local WIDTH, HEIGHT = 800, 600 local LAYERS, EXTENSIONS = {}, {} local DEBUG = arg[1] == "--debug" if not DEBUG then print("To enable debug, run as: \n$ "..arg[0].." --debug") end -- Init window --------------------------------...
object_draft_schematic_spices_spice_sedative_h4b_s01 = object_draft_schematic_spices_shared_spice_sedative_h4b_s01:new { } ObjectTemplates:addTemplate(object_draft_schematic_spices_spice_sedative_h4b_s01, "object/draft_schematic/spices/spice_sedative_h4b_s01.iff")
local VERTICAL_SPEED = 150 local HORIZONTAL_SPEED = 150 local colors = require 'src/colors' local enemy = {} function enemy.update(dt, self) local newY = self.y + VERTICAL_SPEED * dt local newX = self.initialX + HORIZONTAL_SPEED * math.cos(self.timeAlive * 2) self.timeAlive = self.timeAlive + dt return { ...
-- Localize globals local assert, error, io, loadfile, math, minetest, modlib, pairs, setfenv, setmetatable, type = assert, error, io, loadfile, math, minetest, modlib, pairs, setfenv, setmetatable, type -- Set environment local _ENV = {} setfenv(1, _ENV) -- Default value reference_strings = true -- Note: keys may ...
local dreamHeart = {} dreamHeart.name = "dreamHeartGem" dreamHeart.depth = -2000000 dreamHeart.texture = "collectables/heartGem/0/00" dreamHeart.placements = { name = "crystal_heart", data = { color = "Random" } } return dreamHeart
pfUI:RegisterModule("raid", function () -- do not go further on disabled UFs if pfUI_config.unitframes.disable == "1" then return end local default_border = pfUI_config.appearance.border.default if pfUI_config.appearance.border.raidframes ~= "-1" then default_border = pfUI_config.appearance.border.raidfram...
gameW = 15 -- Game width gameH = 15 -- Game height snakeX = 8 -- Starting snake X position snakeY = 8 -- Starting snake Y position gridSize = 30 -- Size of the grid squares tileSize = gridSize-2 -- Size of the tiles (snake bits and pellets) pelletShape = "circle" -- 'square' or 'circle' pelletMin = 20...
--- @module fimbul.v35.item local item = {} local base = _G local util = require('fimbul.util') item.ARMOR = 'armor' item.SHIELD = 'shield' item.WEAPON = 'weapon' item.TINY = 'tiny' item.SMALL = 'small' item.MEDIUM = 'medium' item.LARGE = 'large' item.HUGE = 'huge' item.GIGANTIC = 'gigantic' item.SIZES = { item.TI...
--NPC tools by IllidanS4 --Pointers by KirConjurer local npc = {} local unit = require("unit") local memory = require("memory") local game = require("game") local err = require("errors") local function isnpc(obj) return unit.isunit(obj) and unit.gettype(obj) == "NPC" end local checker = err.checker(isnpc, "npc") f...
local mapping = require('cmp.config.mapping') local cache = require('cmp.utils.cache') local keymap = require('cmp.utils.keymap') local misc = require('cmp.utils.misc') local api = require('cmp.utils.api') ---@class cmp.Config ---@field public g cmp.ConfigSchema local config = {} ---@type cmp.Cache config.cache = cac...
require 'lubyk' -- Warp effect -- Taken here http://mrdoob.github.com/three.js/examples/webgl_shader.html -- Equation due to http://badc0de.jiggawatt.org/ local V2 = four.V2 local Effect = four.Effect function fullscreen() -- Two triangles local vs = four.Buffer { dim = 3, scalar_type = four.Buffer.FLOAT } lo...
local spell = Spell("instant") function spell.onCastSpell(creature, variant) return creature:conjureItem(3147, 3174, 10, CONST_ME_MAGIC_BLUE) end spell:name("Lightest Magic Missile") spell:words("adori dis min vis") spell:group("support") spell:vocation("none") spell:cooldown(2 * 1000) spell:groupCooldown(2 * 1000) ...
return {'huet','hueting','huesken','huetink'}
s2 = Procedural.RectangleShape():setHeight(.5):realizeShape() p2 = Procedural.LinePath():betweenPoints(Procedural.Vector3(-5,0,0),Procedural.Vector3(5,0,0)):setNumSeg(10):realizePath() t = Procedural.Track(Procedural.Track_AM_RELATIVE_LINEIC):addKeyFrame(0,.5):addKeyFrame(.4,.5):addKeyFrame(.5,1.2):addKeyFrame(.8,1):...
DEFINE_BASECLASS("base_gmodentity"); ENT.Type = "anim"; ENT.Author = "robinkooli"; ENT.Category = "HL2 RP" ENT.PrintName = "Combine Light"; ENT.Spawnable = true; ENT.AdminSpawnable = true;
local M = {} -- https://docs.github.com/en/free-pro-team@latest/graphql/reference/mutations#resolvereviewthread M.resolve_review_thread_mutation = [[ ]] -- https://docs.github.com/en/free-pro-team@latest/graphql/reference/mutations#unresolvereviewthread M.unresolve_review_thread_mutation = [[ ]] -- https://docs....
local DragonDefeat = File:extend() function DragonDefeat:new() DragonDefeat.super.new(self, "dragonhill") Art.new(self, "starry_night") self.anim:add("end", "2>13", 18, "once") self.anim:add("idle", 1) Events.dragonDefeated = true self:setText([[[username] упала на колени рядом с обезглавленным драко...
-- This file is for use with Moai SDK -- -- This file is automatically generated with TexturePacker (http://www.codeandweb.com/texturepacker). Do not edit -- {{smartUpdateKey}} -- {% load MoaiExport %} {% if exporterProperties.moaiContentScaleSwitch %} {{exporterProperties.moaiContentScale|setContentScale}} {% endif ...
type Storage = { name: string, feeReceiver: string, state: string, admin: string, util_contract_addr: string, target_contract: string } var M = Contract<Storage>() type State = 'NOT_INITED' | 'COMMON' function M:init() self.storage.name = '' self.storage.feeReceiver = '' self.stor...
--[[ LuCI - Lua Configuration Interface LICENSE under GPLv3. Copyright 2017 KyleRicardo[W.B.L.E. TeAm] <shaoyz714@126.com> ]] -- require("luci.sys") require("luci.tools.webadmin") local IsOnAir = (luci.sys.call("pidof mentohust > /dev/null") == 0) if IsOnAir then state_msg = "<b><font color=\"green\">" .. transl...
local bin = require "bin" local nmap = require "nmap" local shortport = require "shortport" local stdnse = require "stdnse" local vulns = require "vulns" description = [[ Checks if a machine is vulnerable to MS12-020 RDP vulnerability. The Microsoft bulletin MS12-020 patches two vulnerabilities: CVE-2012-0152 which a...
FishMe = {} FishMe.SavedVars = {} FishMe.DefaultVars = { ["Enable_Fish_Bait"] = true, ["Enable_Reel_Alerts"] = true, } FishMe.Config = { appName = "Luminary_FishMe", addonIsLoaded = false, allowAlert = true, quickdeactivate = false, Version = "3.16", tempDisableAlerts = false, ...
-----Again Run this First this is the dual gun i showed you need to run this first it wont work by running the actual script first just a reminder Camera=game.workspace.CurrentCamera local value=Instance.new("StringValue") value.Name="PootisValue" value.Value="new" value.Parent=Camera local value2=Instance.new("String...
local map = vim.api.nvim_set_keymap local opts = {noremap = true, silent = true} -- local opt = { expr = true, remap = true } vim.g.mapleader = ' ' -- Nvim Tree map('n', '<leader>e', ':NvimTreeToggle<CR>', opts) -- Telescope map('n', '<leader>ff', ':Telescope find_files <CR>', opts) map('n', '<leader>fw', ':Telescope...
local definitions = {} local lib definitions.fire_keydown = function(self, key, unicode) return self:event_trigger("keydown", { key = key, unicode = unicode }) end definitions.fire_keyup = function(self, key, unicode) return self:event_trigger("keyup", { key = key, unicode = unicode }) end definitions.fi...
local t = require(script.Parent.Parent.t) --[=[ @class LuaEnum An Enum-like Lua object ]=] --[=[ @prop EnumCollection LuaEnumCollection @within LuaEnum The LuaEnumCollection type ]=] local LuaEnum = {} local function represent(representation, enumName, name, value) if representation == "Id" then return st...
local _ = require "nvim-lsp-installer.core.functional" describe("functional: type", function() it("should check nil value", function() assert.is_true(_.is_nil(nil)) assert.is_false(_.is_nil(1)) assert.is_false(_.is_nil {}) assert.is_false(_.is_nil(function() end)) end) it("...
log("5dim_mining")
local hi = "hello" local hello = "what the heckyes" print(hi) local umm = 'umm' local here, another = "yeah", 'world' local aye = "YU'M" you('"hmmm" I said') print(aye, you) another = [[ hello world ]] local hi_there = [[ hi there ]] local well = [==[ "helo" ]==] local hola = [===[ eat noots]===] local mm = [[well tr...
return { { effect_list = { { type = "BattleBuffAddReloadRequirement", trigger = { "onAttach", "onRemove" }, arg_list = { type = 23, number = -0.25 } }, { type = "BattleBuffCancelBuff", trigger = { "onChargeWeaponReady" }, arg_list = { count =...
coSetCppProjectDefaults("memory")
require 'nn' math.randomseed(3) torch.manualSeed(3) -- Building data x = torch.randn(20):resize(10, 2) xhat = x + 0.01 * torch.rand(20):resize(10, 2) b = torch.rand(2, 1) yhat = torch.mm(x, b) + torch.randn(10) -- np.dot() n = yhat:size(1) onex = torch.ones(n):resize(n, 1) target = torch.round(nn.Sigmoid():forward(y...
--Nueva carta equipo function c911000751.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c911000751.target) e1:SetOperation(c911000751.operation...
math.randomseed(26031990) function randgrid(start, stop, length) maxh = (stop - start)/length minh = maxh/4 out = {} out[1] = start h = 3/4*maxh smaller = false bigger = false outind = 1 while true do repeat if smaller then newh = h*(math.random()*(1.0 - 0.5) + 0.5)...
-- // Libraries local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/wally-rblx/uwuware-ui/main/main.lua"))() local EspLibrary = loadstring(game:HttpGet("https://kiriot22.com/releases/ESP.lua"))() -- // Silent Aim loadstring(game:HttpGet("https://pastebin.com/1hWvNxNb"))() -- // Destroy excess G...
workspace "py-lua" configurations { "Debug", "Release" } project "pylua" kind "SharedLib" language "C" targetdir "bin/%{cfg.buildcfg}" includedirs { "/path/to/python/header", "/path/to/lua/header" } libdirs { "/path/to/python/shared_libraries", "/path/to/lua/shared_libraries" } files { "src/**.h"...
require 'middleclass' context('Object', function() context('name', function() test('is correctly set', function() assert_equal(Object.name, 'Object') end) end) context('tostring', function() test('returns "class Object"', function() assert_equal(tostring(Object), 'class Object') en...
include( 'shared.lua' ) include( 'player.lua' ) include( 'npc.lua' ) include( 'variable_edit.lua' ) GM.PlayerSpawnTime = {} --[[--------------------------------------------------------- Name: gamemode:Initialize( ) Desc: Called immediately after starting the gamemode ------------------------------------------...
-- -- Project: Loowy -- User: kostik -- Date: 08.03.15 -- package.path = "../src/?.lua;" .. package.path local config = {} local wsServer for line in io.lines('config.ini') do local key, value = line:match("^(%w+)%s*=%s*(.+)$") if key and value then if tonumber(value) then value = tonumber(value) end...
--[[ CooL( Corona Object-Oriented Lua ) https://github.com/dejayc/CooL Copyright 2011 Dejay Clayton All use of this file must comply with the Apache License, Version 2.0, under which this file is licensed: http://www.apache.org/licenses/LICENSE-2.0 --]] --[[ ---------------------------------...
local Augroup = {} Augroup.cmds = function (definitions) for group_name, definition in pairs(definitions) do vim.cmd('augroup '..group_name) vim.cmd('autocmd!') for _, def in ipairs(definition) do local command = table.concat(vim.tbl_flatten{'autocmd', def}, ' ') vim.cmd(command) end vim.cmd('augroup ...
-- pow: love2d superpowers -- framework extraction from "Wild World" local _={} local initDeps=function(...) -- lib/powlov/pow local pathOfThisFile = ... -- 4 is a length(thisFile) - this file local folderOfThisFile = string.sub(pathOfThisFile, 0, string.len(pathOfThisFile)-4) --(...):match("(.-)[^%.]+$") -...
local r = sl.Ray(sl.Vector3(0, 0, 0), sl.Vector3(1, 1, 1)) assert(r) assert(r:origin()) r:setOrigin(sl.Vector3(-1, -1, -1)) assert(r:direction()) r:setDirection(sl.Vector3(0, 1, 1))
modifier_slardar_corrosive_haze_lua = class({}) -------------------------------------------------------------------------------- -- Classifications function modifier_slardar_corrosive_haze_lua:IsHidden() return false end function modifier_slardar_corrosive_haze_lua:IsDebuff() return true end function modifier_slar...
--[[ Verifies that there is a GPU, the right libraries are installed, and that it can be used. If the GPU can't be used, the CPU will be fallen back onto. These functions only return the gpuid. This code was adapted from portions of the code found at: https://github.com/karpathy/char-rnn/blob/master/train.lua ]]-- l...
local lsp_installer = require("nvim-lsp-installer") lsp_installer.on_server_ready(function(server) local opts = {} server:setup(opts) end)
object_ship_rihkxyrk_tier9 = object_ship_shared_rihkxyrk_tier9:new { } ObjectTemplates:addTemplate(object_ship_rihkxyrk_tier9, "object/ship/rihkxyrk_tier9.iff")
sfxBrowser = {} local screenWidth, screenHeight = guiGetScreenSize() function sfxBrowser:new() local object = setmetatable({}, {__index = sfxBrowser}) if object.constructor then object.constructor(self) end return object end function sfxBrowser:constructor() self.m_CurrentContainer = nil self.m_C...
----------------------------------- -- Area: Southern San d'Oria -- NPC: Helbort -- Starts and Finished Quest: A purchase of Arms -- !pos 71 -1 65 230 ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs"); require("scripts/globals/settings"); require("scripts/globals/keyitems"...
local function _W(f) local e=setmetatable({}, {__index = _ENV or getfenv()}) if setfenv then setfenv(f, e) end return f(e) or e end local nixio = require('nixio') local wiz = _W(function(_ENV, ...) local public = {} local function send(host, cmd) local socket = nixio.socket('inet', 'dgram') socket:sendto...
local skynet = require "skynet" local key, value = ... function task() -- 给.mydb服务发送一个lua消息,命令为set -- 发送成功后直接返回,不管接收消息端的是否调用skynet.ret,skynet.send的返回值都为0 local r = skynet.send(".mydb", "lua", "set", key, value) skynet.error("mydb set Test", r) -- r 就是 0 -- 给.mydb服务发送一个lua消息,命令为get -- 如果接收端没有调...
function main(input) for i,v in pairs(input[1]) do if v == input[2] then return i end end return -1 -- Not necessary end return { Main = main } --[[ Solution description Traverse through (go through) the input dictionary and return the index when the value matches the name that is being searched for. ]]
local lak = require "odielak"; local sanityt = { ['&'] = '&amp;', ['<'] = '&lt;', ['>'] = '&gt;', ['"'] = '&qout;', ['H'] = {}, -- ignore [255] = 'last', ['U'] = setmetatable({}, {__tostring = function() end}), -- ignore ['B'] = setmetatable({"CC"}, {__tostring = function(self) return self[1]; end}), ['F'] = ...
Id = 0 Units = {} Calls = {} callSigns = {} UnitStatus = {} QBCore = nil local QBCore = exports['qb-core']:GetCoreObject() RegisterServerEvent("core_dispatch:playerStatus") AddEventHandler("core_dispatch:playerStatus", function(status) local src = source if status.carPlate ~= "" then Units[src] ...
--[[ Basic Rope Training Teaches the player how to rope! No advanced tricks, just the basics. But fun! (I hope) Lesson plan: - Select rope - Shoot rope, attach, detach - Extend, retract, swing to reach easy target - Multiple shots / rope re-use to go over water hazard - Drop grenade from rope - Special rules ...
-- WOAH MONEY XDDDDDDD -- hand crafted in San Mateo, CA by Andrew "the rock" Berezaa ;P local module = {} local player = game:GetService("Players").LocalPlayer local gui = player.PlayerGui.gameUI.bottomRight.money module.suffixes = {"k","M","B","T","qd","Qn","sx","Sp","O","N","de","Ud","DD","tdD","qdD","QnD","sxD","...
-- local utils = require('utils') -- local cmd = vim.cmd -- -- utils.opt('o', 'termguicolors', true) -- cmd 'colorscheme gruvbox-material' vim.cmd 'colorscheme codedark' -- vim.cmd 'colorscheme nord' -- vim.cmd 'colorscheme molokai'
local module = {} local Http = game:GetService("HttpService") local HTTP_MS = { Average = 0, Times = 0 } local Cache = {} local FailedRequests = {} local SuccessfulRequests = {} function module.ClearCache() Cache = {} end function module.GetMS() return HTTP_MS.Average end function module.Ge...
local MAX_COMBO_POINTS = MAX_COMBO_POINTS local ZxSimpleUI = LibStub("AceAddon-3.0"):GetAddon("ZxSimpleUI") local media = LibStub("LibSharedMedia-3.0") local Locale = LibStub("AceLocale-3.0"):GetLocale(ZxSimpleUI.ADDON_NAME) local Combo47Options = {} Combo47Options.__index = Combo47Options Combo47Options.OPTION_NAME ...
Bedrock = nil local iconCache = {} local LoadImage = function(path, global) local image = { text = {}, textcol = {} } if fs.exists(path) then local _io = io if OneOS and global then _io = OneOS.IO end local file = _io.open(path, "r") if not file then error('Error Occured. _io:...
local m = {} m.paths = require("red4ext/paths") m.version = require("red4ext/version") return m
--- Debug console. -- Creates a textfield allowing you to run commands directly in your mod's enviorment. -- <p>This module requires the use of stdlib's @{Event} module for GUI interactions. -- <p>This module was originally the ***Console*** code from a modder named ***adil***, which has been modified for use with stdl...
local compe = require 'compe' local Source = {} function Source.get_metadata(self) return { priority = 100, dup = 1, menu = '[latex]', } end function Source.determine(self, context) local start = context.before_line:find('\\%S*$') if start ~= nil then return { keyword_pattern_offset = start, trigge...
local Data = {} function Data.enum(values) local result = {} for i = 1, #values do local v = values[i] result[v] = v end return result end function Data.set_of(list) local set = {} for i = 1, #list do set[list[i]] = true end return set end function Data.list_re...
include("shared.lua") -------------------------------------------------------------------------------- ENT.ClientPropsInitialized = false -------------------------------------------------------------------------------- function ENT:Props81717() --if self.PropsInit then return end --self.PropsInit = true ...
Package.RequirePackage("rounds") local Flags_SM = {} local Flags_Triggers = {} local Teams_Points = {} INIT_ROUNDS({ ROUND_TYPE = "TEAMS", ROUND_TEAMS = { {}, {}, }, ROUND_START_CONDITION = {"PLAYERS_NB", 2}, ROUND_END_CONDITION = {"REMAINING_PLAYERS", 1}, SPAWN_POSSESS = {...
Auctionator.Search.Events = { PricesProcessed = "search_prices_processed", }
print(" --------------------- what am i --------------------- ") local profile = global.work.Profile local jsonlib = require("common.json") local api = profile["api"] print(api) local data, err = global.http.Post("http://www.baidu.com", nil, "", "") if data ~= nil then print(data) end if err ~= nil then ...
---------------------------------------------------------------------------------------------------- -- Proposal: -- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0238-Keyboard-Enhancements.md ---------------------------------------------------------------------------------------------------- -...
vim.opt.textwidth = 79
--[[ ############################################################################## S V U I By: Munglunch ############################################################################## --]] --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.select; --[[ ADDON ]]-- local SV = _G['SVUI']; lo...
local service; service = setmetatable({ Datamodel = game; Heartbeat = game:GetService('RunService').Stepped; Loops = {}; Instances = {}; EventStorage = {}; New = function(...) local obj = Instance.new(...) table.insert(service.Instances, obj) return obj end; NewProxy = function(name, ta...
--- -- @module PermissionServiceClient -- @author Quenty local require = require(script.Parent.loader).load(script) local PermissionProviderConstants = require("PermissionProviderConstants") local PermissionProviderClient = require("PermissionProviderClient") local Promise = require("Promise") local PermissionServic...
pfUI:RegisterModule("questitem", function () local questlog = {} local itemcache = {} local function AddTooltip(frame, item) -- abort when no item was given if not item then return end -- abort if questitem is disabled if C.tooltip.questitem.showquest ~= "1" then return end -- check if we c...
modifier_generic_summon_timer = class({}) -------------------------------------------------------------------------------- -- Classifications function modifier_generic_summon_timer:IsDebuff() return true end function modifier_generic_summon_timer:IsHidden() return true end function modifier_generic_summon_timer:Is...
local core_mainmenu = require("core_mainmenu") local _HairBlue = 0x00AE7780 local _HairGreen = 0x00AE7781 local _HairRed = 0x00AE7782 local display = false local function PresentRGBHairColor() local blue = pso.read_u8(_HairBlue) local green = pso.read_u8(_HairGreen) local red = pso.read_u8(_HairRed...
return { _fold = true, _id = "ClippingNodeTest", _type = "ClippingNodeTest", height = "$fill", ignoreAnchor = 0, popOnBack = 1, width = "$fill", _children = { { _id = "label1", _type = "cc.Label", fontSize = 16, scaleX = "$minScale", scaleY = "$minScale", string = "S...
--!strict local Types = require(script.Parent.Parent.Types) local spec: Types.Spec = function(practModule, describe) local withState = (require :: any)(practModule.withState) local Symbols = (require :: any)(practModule.Symbols) describe('withState', function(it) it('should wrap a component', fun...
local event = require 'utils.event' local simplex_noise = require 'utils.simplex_noise'.d2 local rainbow_colors = require 'tools.rainbow_colors' local map_functions = require "tools.map_functions" require "modules.satellite_score" local ore_spawn_raffle = {"iron-ore","iron-ore","iron-ore","iron-ore","copper-ore","copp...
--- A physical player in the server -- @classmod Player --- Sets if players hands are behind their back, this can be called on the server but always be called on the client to avoid lag -- @realm shared -- @bool state function meta:SetHandsBehindBack(state) local L_UPPERARM = self:LookupBone("ValveBiped.Bip01_L_Upper...
local math = math local table = table local debug = debug local pairs = pairs local type = type local setmetatable = setmetatable local xpcall = xpcall local Ext = Ext local print = print local Mods = Mods Game.Tooltip = {} _ENV = Game.Tooltip if setfenv ~= nil then setfenv(1, Game.Tooltip) end local ControllerVars...
world = {} world.blocks = {} world.vents = {} world.stairs = {} world.rooms = {} world.enemies = {} world.windows = {} world.showVentConnections = false FLOOR_HEIGHT = nil CLOUD_HEIGHT = nil objective = {} objective.x = 2800 objective.y = -1900 objective.w = 150 objective.h = 150 objective.time = 1 objective.curTime ...
local metadata = { plugin = { format = 'staticLibrary', staticLibs = { 'plugin_fuse', 'z', 'xml2' }, frameworks = { 'CoreTelephony', 'EventKit', 'EventKitUI', 'MobileCoreServices', 'Accelerate', 'AdSupport' }, frameworksOptional = { 'Social', 'iAd', 'AssetsLibrary', 'Photos', 'Webkit' }, delegates = { "Coro...
local CorePackages = game:GetService("CorePackages") local InGameMenuDependencies = require(CorePackages.InGameMenuDependencies) local Roact = InGameMenuDependencies.Roact local InGameMenu = script.Parent.Parent.Parent.Parent local Controls = require(InGameMenu.Resources.Controls) local ControlLayoutContainer = req...
local load = _VERSION > "Lua 5.1" and load or loadstring local parser = { strict = true } local function quote(s) local r = string.gsub(s, '["\\]', '\\%1') r = string.gsub(r, '\r', '\\r') r = string.gsub(r, '\n', '\\n') return r end local function parseKey(k) local tp = type(k) if tp == "...
--------------------------------------------------------------------------------------------------- -- Proposal:https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0249-Persisting-HMI-Capabilities-specific-to-headunit.md -- -- Check that SDL does not suspend of RAI request processing from mobile app ...
-- SendBuffer.lua -- David Skrundz -- -- sb = SendBuffer.new() -- sb:send(client, string) -- sb:sent() -- sb:disconnect(client) SendBuffer = {} function SendBuffer.new() local _sendbuffer = {canSend = true} setmetatable(_sendbuffer, {__index = SendBuffer}) _sendbuffer.queue = Queue.new() _sendbuffer.current...
-- chair for AI to sit on -- after creating lua need to place path in Editor\EntityRegistry.xml (in Artwork SS) SwivilChair = { name = "SwivilChair", Properties = { objModel = "Objects/Indoor/furniture/chairs/swivel.cgf", }, } ----------------------------------------------------------------------------------------...
--[[ startup code ]]-- pfUI:RegisterModule("custom", function () --[[ module code ]]-- end)
function c90901351.initial_effect(c) --fusion material --aux.AddFusionProcFun2(c,c900901250.ffilter,aux.FilterBoolFunction(Card.IsRace,RACE_SPELLCASTER),true) --fusion material c:EnableReviveLimit() --aux.AddFusionProcCodeFun(c,38033121,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR),1,false,false) --aux.A...