content
stringlengths
5
1.05M
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:27' 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...
--- 宠物模块 --- @module Pet Module --- @copyright Lilith Games, Avatar Team --- @author Dead Ratman local Pet, this = ModuleUtil.New('Pet', ClientBase) --宠物物体 local petOBJ = nil --移动路径 local moveTable = {} --移动步速 local moveStep = 0 --宠物数据 local petData = { name = '', state = 0, animTable = {} } --宠物状态枚举 l...
TextLogSetEnabled("UiLog", true)
local _2afile_2a = "fnl/aniseed/autoload.fnl" local _0_ do local name_0_ = "conjure.aniseed.autoload" local module_0_ do local x_0_ = package.loaded[name_0_] if ("table" == type(x_0_)) then module_0_ = x_0_ else module_0_ = {} end end module_0_["aniseed/module"] = name_0_ module_...
local ffi = require("ffi"); local sspi = require("sspi"); --[[ // unknown name type NameUnknown = 0, // CN=John Doe, OU=Software, OU=Engineering, O=Widget, C=US NameFullyQualifiedDN = 1, // Engineering\JohnDoe NameSamCompatible = 2, // Probably "John Doe" but could be something else. I...
CcsTwoBtnTab = class("CcsTwoBtnTab") CcsTwoBtnTab.ctor = function (slot0) createSetterGetter(slot0, "enable", true, false, false, false, false, handler(slot0, slot0.onEnableChanged)) createSetterGetter(slot0, "isSelected", false, false, false, false, false, handler(slot0, slot0.onSelectedChanged)) createSetterGette...
local objects = { --Maxime createObject(14534,-2141.5000000,645.6992200,1204.9000200,0.0000000,0.0000000,0.0000000,42), --object(ab_woozies01,42), (1,42), createObject(17564,-2146.0000000,647.0999800,1206.6200000,0.0000000,0.0000000,90.0000000,42), --object(tempdoor_lae2,42), (1,42), createObject(1649,-2134.500000...
local t = Def.Sprite { Texture=NOTESKIN:GetPath('_down','tap note'); Frame0000=0; Delay0000=1; }; return t;
-- Copyright 2020 Patrick Huck local typedefs = require "kong.db.schema.typedefs" return { name = "grant-proxy-oauth", fields = { {consumer = typedefs.no_consumer}, {config = { type = "record", fields = { {secret = {type = "string", required = true}}, ...
gooi = {} gooi.__index = gooi gooi.components = {} gooi.dialogFOK = function() end gooi.showingDialog = false gooi.desktop = false gooi.vibration = false gooi.delayVibration = 0 gooi.dialogMsg = "" gooi.dialogH = 0 gooi.dialogW = 0 gooi.canvas = love.graphics.newCanvas(love.graphics.getWidth(), love.graphics.getHeight(...
--- -- Takes care of drawing the large ASCII titles used in different menus. -- @module UIMenuTitle -- -- ------------------------------------------------ -- Required Modules -- ------------------------------------------------ local Class = require( 'lib.Middleclass' ) local TexturePacks = require( 'src.ui.texturepac...
print("TFT144 yell()") dofile("lib-TFT144.lua") tmr.alarm(0,2000,0,function() Disp.yell(" go", " BACK", " again",nil,nil,nil,255,255) end )
local function GetArrayIndexStart(ui, arrayName) local i = 0 while ui:GetValue(arrayName, nil, i) ~= nil do i = i + 1 end return i end local raceTalents = {["Lizard_Persuasion"] = {94, "ha4af67a7g7112g4e66gbaedg6bf024feb097"}, ["Elf_Lore"] = {89, "hcfd646bdg491dg4d...
ids = {} ids[100] = { name = "unknown", blocking = false, asset = "Unknown", region = { x = 0, y = 0, width = 32, height = 32 } } ids[99] = { name = "player", blocking = true, asset = "Player", region = { x = 0, y = 0, width = 256, height = 256 } } ids[98] = { name = "monster", blocking = ...
--mte 0v728 local M = {} local json = require("json") local ceil = math.ceil local floor = math.floor local abs = math.abs local tileSets = {} local loadedTileSets = {} local tileSetNames = {} local map = {} local worldSizeX local worldSizeY local layerWidth = {} local layerHeight = {} local imageDirectory = "" loca...
local awful = require("awful") local gears = require("gears") local wibox = require("wibox") local beautiful = require("beautiful") local dpi = beautiful.xresources.apply_dpi local helpers = require('helpers') local cpu = wibox.widget.textbox("") local popup = awful.popup{ ontop = true, visible = false, s...
local Fluid = require("lib.fluid") local Vector = require("lib.vector") local Body = Fluid.component(function(e, velocity, groundCoef, airCoef, gravityScale) e.velocity = velocity or Vector(0, 0) e.groundCoef = groundCoef or 200 e.airCoef = airCoef or 40 e.gravityScale = gravityScale...
/* SFM Bridge for Garry's Mod This software is licensed under the MIT License. Copyright (c) 2021 KiwifruitDev 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. ...
local portalx = 25 local portaly = 55 local portalz = 100 local detectRadius = portaly _G.mins = Vector(-(portalx / 2), -(portaly / 2), -(portalz / 2)) _G.maxs = Vector(portalx / 2, portaly / 2, portalz / 2) Debugging = _G.Debugging or false tickrate = _G.tickrate or 0.05 local LightOmniTemplate = { targetname...
--[[---------------------------------------------------------------------------- Script Name: "LiveImage" Description: Set up the camera to take live images continuously. How to Run: To show this sample script, set it as main (right-click -> "Set as main") before running the app. Then start by running ...
ys = ys or {} slot1 = ys.Battle.BattleConfig slot2 = class("BattleDropsView") ys.Battle.BattleDropsView = slot2 slot2.__name = "BattleDropsView" slot2.FLOAT_DURATION = 0.4 slot2.Ctor = function (slot0, slot1, slot2) slot0._go = slot1 slot0._tf = slot1.transform slot0._container = slot2 slot0._containerTF = slot0._...
if not modules then modules = { } end modules ['util-ran'] = { version = 1.001, comment = "companion to luat-lib.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } local random = math.ra...
--[[ Name: book_store.lua ]]-- local MapProp = {} MapProp.ID = "book_store" MapProp.m_tblSpawn = { { mdl = 'models/props_interiors/cashregister01.mdl',pos = Vector('2046.187500 1454.843750 573.968750'), ang = Angle('-0.527 -164.004 0.527'), }, { mdl = 'models/props_interiors/furniture_lamp01a.mdl',pos = Vector...
--冥鬼 子非余 local m=14050005 local cm=_G["c"..m] function cm.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(m,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,m) e1:SetCost(cm.rmcost) e1:Set...
return function() local ReplicatedStorage = game:GetService("ReplicatedStorage") local Packages = ReplicatedStorage.Packages local Llama = require(Packages.Llama) local List = Llama.List local push = List.push it("should validate types", function() local _, err = pcall(function() push(0) end) expect(...
vim.g.nvim_tree_indent_markers = 1 vim.g.nvim_tree_git_hl = 1 vim.g.nvim_tree_window_picker_exclude = { filetype = { 'qf', 'help' }, buftype = { 'terminal' } } vim.g.nvim_tree_show_icons = { git = 1, folders = 1, files = 1, folder_arrows = 0 } vim.g.nvim_tree_icons = { default = '▪ ', s...
function logSensor(sensorName, value) if (not value) then return end print('Logging', sensorName, value) sensorId = sensors[sensorName] require('currentReadingTime') local time = currentReadingTime() package.loaded['currentReadingTime'] = nil require('insertLogIntoDb') i...
--[[Notice:This lua uiview file is auto generate by UIViewExporter,don't modify it manually! --]] local public = {} local cachedViews = nil public.viewPath = "Arts/UI/Prefabs/UILoginPanel.prefab" function public.BindView(uiView, Panel) cachedViews = {} if nil ~= Panel then local collection = Panel:GetComponent("...
local Job = require("plenary.job") local log = require("cmp_git.log") local sort = require("cmp_git.sort") local format = require("cmp_git.format") local Git = { cache_commits = {}, config = {}, } Git.new = function(overrides) local self = setmetatable({}, { __index = Git, }) self.config ...
local c; local cf; local ShowComboAt = 2; local Pulse = Comboanicombo; --\Scripts\Themefunctions.lua --local PulseLabel = Pulse; local t = Def.ActorFrame { InitCommand=cmd(); -- normal combo elements: Def.ActorFrame { Name="ComboFrame"; LoadFont( "Combo", "numbers" ) .. { Name="Number"; O...
local Ans = select(2, ...); local Config = Ans.Config; local TextInput = Ans.UI.TextInput; AnsGeneralSettingsFrameMixin = {}; local basic = { "showDressing", "useCoinIcons", "showId", }; local tooltipRealm = { "tooltipRealmRecent", "tooltipRealmMin", "tooltipRealm3Day", "tooltipRealmMarke...
do --- charpattern assert(type(utf8.charpattern) == 'string') end
local set_compiler = RELOAD('utils.functions').set_compiler set_compiler('clang', { language = 'cpp' })
local cmd = vim.cmd local apply_globals = require "settings.utils".apply_globals cmd "filetype plugin indent on" apply_globals( { ultest_icons = 1, dap_virtual_text = true, dict = "/Users/void/.config/word10k.txt", gitblame_enabled = 0, gitblame_message_template = "  <author> • <summary> • <...
require 'utils' require 'action' require 'hardware' cfg = require 'config' --------------------- -- Reload config -- --------------------- function reloadConfig(files) doReload = false for _,file in pairs(files) do if file:sub(-4) == ".lua" then doReload = true end end if doReload then i...
-- Gets the output of given program as string -- Note that io.popen is not available on all platforms local function getOutput(prog) local file = assert(io.popen(prog, "r")) local output = assert(file:read("*a")) file:close() return output end -- Iterates files in given directory local function files(d...
local ev = require 'common.event' local foreground local background local bright local underline local negative local function split(str) local r = {} str:gsub('[^;]+', function (w) r[#r+1] = tonumber(w) end) return r end local function vtmode(text) local vt = {} if foreground then vt[#vt...
--[[ This code is MIT licensed, see http://www.opensource.org/licenses/mit-license.php (C) 2010 - 2012 Elias York This code provides an example of using the findCentroid() function to position text labels at the center of polygons without manual calculations. (A second function is provided to fidn the area of ...
-- Arithmetic on the finite field of integers modulo p -- Where p is the finite field modulus local arith = require(script.Parent.arith) local add = arith.add local sub = arith.sub local addDouble = arith.addDouble local mult = arith.mult local square = arith.square local p = { 3, 0, 0, 0, 0, 0, 15761408 } -- We're u...
-- luacheck: globals hs appFilters -- Store appFilters in a global so they're not garbage collected appFilters = {} -- return an AppFilter listening to specific app by name local function get(appName) local newFilter = appFilters[appName] if (newFilter == nil) then -- Need keepActive as we aren't listening t...
require "keybow" mac_snippets = {} function modifier(key, ...) for i = 1, select('#', ...) do local j = select(i, ...) keybow.set_modifier(j, keybow.KEY_DOWN) end keybow.tap_key(key) for i = 1, select('#', ...) do local j = select(i, ...) keybow.set_modifier(j, keybow.K...
dofile('project.lua')
local config = { colorscheme = "default_theme", header = { " ", " ", " ", " ", " ", " █████ ███████ ████████ ██████ ██████", "██ ██ ██ ██ ██ ██ ██ ██", "███████ ███████ ██ ██████ ██ ██", "██ ██ ██ ██ ██ ██ ██ ██", "██ ██ ██...
return require("zenbones.util").get_lualine_theme "zenburned"
local current_screen --gamemode functions function GM:StackerUIScreenClose() current_screen:Remove() current_screen = nil end function GM:StackerUIScreenGet() return current_screen end function GM:StackerUIScreenOpenOrder() if current_screen then current_screen:Remove() end current_screen = vgui.Create("Stac...
require "ISUI/ISCollapsableWindow" ---@class LuaDebugger : ISCollapsableWindow LuaDebugger = ISCollapsableWindow:derive("LuaDebugger"); function LuaDebugger:initialise() ISCollapsableWindow.initialise(self); self.title = "Current Coroutine"; end function LuaDebugger:createChildren() --print("instance"...
object_mobile_imp_security_05 = object_mobile_shared_imp_security_05:new { } ObjectTemplates:addTemplate(object_mobile_imp_security_05, "object/mobile/imp_security_05.iff")
-- marimba v0.0.1 -- ? -- -- llllllll.co/t/? -- -- -- -- ▼ instructions below ▼ -- -- ? if not string.find(package.cpath,"/home/we/dust/code/marimba/lib/") then package.cpath=package.cpath..";/home/we/dust/code/marimba/lib/?.so" end json=require("cjson") Lattice = require("lattice") Part=include("marimba/lib/par...
local lspconfig = require "lspconfig" local map = require('settings.utils').map local sign_define = vim.fn.sign_define local lsp = vim.lsp local filetypes = { typescript = "eslint", typescriptreact = "eslint", } local linters = { eslint = { sourceName = "eslint", command = "eslint_d", ...
local resty_chash = require "resty.chash" local loadbalancer = {} loadbalancer.setup_server_list = function() local server_list = { ["edge"] = 1, ["edge1"] = 1, ["edge2"] = 1, } local chash_up = resty_chash:new(server_list) package.loaded.my_chash_up = chash_up package.loaded.my_servers = serve...
local type = type; local package = package; local ppload, pload = package.preload, package.loaded; local cache_read, cache_stat; local limport = { makeshift = {}; data_packages = {}; }; --makeshift.getRequest --makeshift.read --[[ local limport = require('Limport'); limport.import( { directory = 'jso...
--- === cp.blackmagic.resolve.color.Tracker === --- --- Tracker local require = require --local log = require "hs.logger".new "Tracker" local axutils = require "cp.ui.axutils" local CheckBox = require "cp.ui.CheckBox" local Group = require "cp.ui.Group" lo...
local internallog = _log.internal local testtable = {1, 2} local new = _log.new local defaults = _log.default local rootlogger = _log.root local label_getlogger = "libmtlog interface.getlogger() " local msg_getlogger_badname = label_getlogger.."no valid name passed and not running at mod initialisation time, cannot ge...
local patch_retail = loadfile("out/lua/API_info.patch.api_retail.lua")() local flavor = loadfile("out/lua/API_info.flavor.api.lua")() local Util = require("Util/Util") local function GetNotExist() for _, k in pairs(Util:SortTable(patch_retail)) do if not flavor[k] then print(k) end end end GetNotExist()
--[[ Title: Diff World UI Author(s): Big Date: 2021.08.09 Desc: use the lib: ------------------------------------------------------------ local DiffWorldUI = NPL.load('(gl)Mod/DiffWorld/DiffWorldUI.lua') ------------------------------------------------------------ ]] -- libs local ItemClient = commonlib.gettable('My...
package("libudev") set_homepage("https://www.freedesktop.org/wiki/Software/systemd/") set_description("API for enumerating and introspecting local devices") on_fetch("linux", function (package, opt) if opt.system then return package:find_package("pkgconfig::libudev") or package:find_pa...
local xerror = require 'tulip.xerror' local xio = require 'tulip.xio' local xpgsql = require 'xpgsql' local TOKEN_LEN = 32 local MIGRATIONS = { function (conn) xerror.must(xerror.db(conn:exec[[ CREATE TABLE "tulip_pkg_token_tokens" ( "token" CHAR(44) NOT NULL, "type" VARCHAR(100) NOT ...
-- -- c_switch.lua -- ---------------------------------------------------------------- ---------------------------------------------------------------- -- Effect switching on and off -- -- To switch on: -- triggerEvent( "onClientSwitchDetail", root, true ) -- -- To switch off: -- triggerEvent( "onClientSwitchDetai...
------------------------------------------------------------------------------ -- Find and Load Lua Files in the ${load_path} ------------------------------------------------------------------------------ local loadfile = loadfile local str_match, str_sub = string.match, string.sub local glob = require'lift.fs'.glob ...
local actions = { ["has"] = true, ["add"] = true, ["remove"] = true } RegisterCommand("clFlag", function (source, args) local flagType, action, flag = args[1], args[2], args[3] local playerPed = PlayerPedId() local vehicle = GetVehiclePedIsIn(playerPed, true) if not DoesEntityExist(vehicle) then ...
-- 130909012021 return(function(e,...)local R="This file was obfuscated using PSU Obfuscator 4.0.A | https://www.psu.dev/ & discord.gg/psu";local U=e[((954821632-#("'psu > luraph' - memcorrupt 2020")))];local S=e[((#{760;801;324;661;}+425093748))];local k=e['TvPeHyg7r'];local C=e["oEDC8um"];local g=e[((#{438;168;}+3225...
-- local _, sqlite = pcall(require, 'sqlite') local sys = require 'sys' if not STORAGE.db_path then STORAGE.db_path = sys.db_root .. '/aztlan.db' end require('storage.versions').setup() local M = { get_version = require('storage.versions').get_version, set_version = require('storage.versions').set_versio...
return { ["prefix"] = {embed={ title = "Add/delete/list prefixes", description = "Multiple prefixes are possible", fields = { {name = "Usage:",value = "prefix [(add | remove | list (default)) [<new prefix>]]"}, {name = "Perms:",value = "Administrator"}, } }}, ["alias"] = {e...
local lm = require "libmoon" local TBL_SIZE = 10 -- small, we don't want to spent all the time in (de-)serialization local NUM_LOCAL_TABLES = 1000 local function makeLargeTable() local tbl = {} for i = 1, TBL_SIZE do tbl[tostring(i)] = {1, 2, 3, 4, "Entry " .. i} end return tbl end local function checkResult(t...
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' description 'Police vehicle tracker' version '1.0' ui_page "html/index.html" client_scripts { '@es_extended/locale.lua', 'locales/en.lua', 'locales/sl.lua', 'locales/fr.lua', 'config.lua', 'client.lua' } server_scripts...
object_tangible_veteran_reward_frn_plush_tauntaun = object_tangible_veteran_reward_shared_frn_plush_tauntaun:new { } ObjectTemplates:addTemplate(object_tangible_veteran_reward_frn_plush_tauntaun, "object/tangible/veteran_reward/frn_plush_tauntaun.iff")
return { -- when you're translating, do NOT translate the things in CAPS! locale = 'ru', joinChatMessages = { 'Добро пожаловать, NAME!', 'Привет, NAME!', 'Наслаждайся группой, NAME!', 'Как хорошо что ты зашёл, NAME!', 'Хей, NAME!', 'Хай, NAME!' }, userAddedBot = 'Привет! Спасибо что добавил меня, NAME!'...
local L = BigWigs:NewBossLocale("Corborus", "ruRU") if not L then return end if L then L.burrow = "Закапывается/вылезает" L.burrow_desc = "Сообщить, когда Корбор закапывается или вылезает на поверхность." L.burrow_message = "Корбор закапывается" L.burrow_warning = "Закапается через 5 сек!" L.emerge_message = "Корб...
local core = require('vfiler/libs/core') local vim = require('vfiler/libs/vim') -- Functions local fnamemodify = vim.fn.fnamemodify local strwidth = vim.fn.strwidth local DeviconsColumn = {} DeviconsColumn.configs = { selected = { icon = '', link = 'vfilerSelected', name = 'Selected', }, closed =...
function fWeld(zName, zParent, zPart0, zPart1, zCoco, a, b, c, d, e, f) local funcw = Instance.new("Weld") funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1 if (zCoco == true) then funcw.C0 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f) else funcw.C1 = CFrame.new(a...
-- <%= title %> -- © <%= now.getFullYear() %> <%= author %> function onAddOnLoaded(eventCode, addOnName) if addOnName ~= "<%= name %>" then return nil end -- Your code goes here... end) EVENT_MANAGER:RegisterForEvent("<%= name %>", EVENT_ADD_ON_LOADED, onAddOnLoaded)
Elona.FeatMenu = { Window = { Title = "Feats and Traits", }, Header = { Available = "[Available feats]", Gained = "[Feats and traits]", }, FeatMax = "MAX", Topic = { Name = "Name", Detail = "Detail", }, FeatCount = function(featsRemaining) ...
local args = {...} if #args == 0 then for name in pairs(require("settings").load("/.users.cfg")) do print(name) end return end require("fs").makeDir("/users/"..args[1]) require("settings").set("/.users.cfg", args[1], args[2] or "thing") os.exit()
--* This Document is AutoGenerate by OrangeFilter, Don't Change it! * ---@meta --- ---[3.2]float vector has 4 components[parent:] --- ---@class Vec4f --- ---[3.2]x --- ---@field x float --- ---[3.2]y --- ---@field y float --- ---[3.2]z --- ---@field z float --- ---[3.2]w --- ---@field w float Vec4f = {} --- ---[3.2...
object_mobile_dressed_lab_assistant = object_mobile_shared_dressed_lab_assistant:new { } ObjectTemplates:addTemplate(object_mobile_dressed_lab_assistant, "object/mobile/dressed_lab_assistant.iff")
----------------------------------- -- Area: Bastok Markets -- NPC: Charging Chocobo -- Standard Merchant NPC -- !pos -301.531 -10.319 -157.237 235 ----------------------------------- local ID = require("scripts/zones/Bastok_Markets/IDs") require("scripts/globals/shop") function onTrigger(player, npc) local stock...
local Set = {} Set.__index = Set function Set:new() return setmetatable({ _values = {} }, Set) end function Set:contains(value) for _, v in ipairs(self._values) do if v == value then return true end end return false end function Set:size() return #self._values end function Set:get(index) if #self._value...
-- -- dwc2r29.lua -- -- Copyright (c) 2017, Mingyuan Luo -- require 'torch' require 'nn' require 'cunn' require 'cutorch' require 'cudnn' require '../layers/AddRes' torch.setdefaulttensortype('torch.FloatTensor') local stages = {2, 2, 2, 2} local reduction = 0.8 local channels = { 64, 64, 64, 56 } function addLay...
-- key codes generated from WinUser.h using misc/generate_keycodes.py return { VK_LBUTTON = 0x01, VK_RBUTTON = 0x02, VK_CANCEL = 0x03, VK_MBUTTON = 0x04, VK_XBUTTON1 = 0x05, VK_XBUTTON2 = 0x06, VK_BACK = 0x08, VK_TAB = 0x09, VK_CLEAR = 0x0C, VK_RETURN = 0x0D, VK_SHIFT = 0x10, VK_CONTROL = 0x11, VK_MENU = ...
function returnHome(ppath, ppath_index, pTurnRight) t = pTurnRight turtle.turnLeft() turtle.turnLeft() for i=ppath_index,1,-1 do for j=ppath[i],1,-1 do turtle.forward() end if t then turtle.turnRight() else turtle.turnLeft() end...
local PICTURE_WIDTH = PLUGIN.PICTURE_WIDTH local PICTURE_HEIGHT = PLUGIN.PICTURE_HEIGHT local PICTURE_WIDTH2 = PICTURE_WIDTH * 0.5 local PICTURE_HEIGHT2 = PICTURE_HEIGHT * 0.5 PHOTO_CACHE = PHOTO_CACHE or {} function PLUGIN:takePicture() if ((self.lastPic or 0) < CurTime()) then self.lastPic = CurTime() +...
lovr.filesystem.setRequirePath([[src/lovr/?.lua;launcher/?.lua;]] .. lovr.filesystem.getRequirePath()) function lovr.conf(t) -- comment for VR t.headset.drivers = { 'desktop' } t.identity = "mesta" t.modules.headset = false t.window.title = 'Metastruct Experimental Standalone Testing Application' t.window....
local PANEL = {} AccessorFunc( PANEL, "m_bShowIcons", "ShowIcons" ) AccessorFunc( PANEL, "m_iIndentSize", "IndentSize" ) AccessorFunc( PANEL, "m_iLineHeight", "LineHeight" ) AccessorFunc( PANEL, "m_pSelectedItem", "SelectedItem" ) AccessorFunc( PANEL, "m_bClickOnDragHover", "ClickOnDragHover" ) function P...
--[[ Copyright 2021 Todd Austin Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
require "app.gameClass.skill.Aoyi" require "app.gameClass.skill.InternalSkill" require "app.gameClass.skill.Skill" require "app.gameClass.skill.SpecialSkill" require "app.gameClass.skill.UniqueSkill"
require "upgrade_ptr_to_ref" run_ptr_upgrades() refactor:save_crate() print("Finished test_ownership_upgrade_ptrs.lua")
-- Routine for NPC "City Guard (1)" loadRoutine = function(R, W) R:setTilePosition(66,59.7) R:setTalkingActive(not W:isConditionFulfilled("npc_cityguard","talked")) R:setLooped(false) end
local qtypes = require 'Q/OPERATORS/APPROX/FREQUENT/lua/qtypes' local qconsts = require 'Q/UTILS/lua/q_consts' local tmpl = qconsts.Q_SRC_ROOT .. "/OPERATORS/APPROX/FREQUENT/lua/approx_frequent.tmpl" return function(elem_qtype) assert(qtypes[elem_qtype], "approx_frequent specializer called with invalid qtype") loc...
-- look-ios.lua drawing engine configuration file for Ion. black = "#000000" grey1 = "#333340" grey_highlight = "#555560" grey_shadow = "#606060" grey4 = "#990000" grey5 = "#d8d8d8" grey6 = "#eeeeee" yellow_shadow = "#f09000" yellow_background = "#f0c000" yellow_highlight = "#f0f066" white = "#ffffff" if not gr.selec...
script.Parent = nil it = Instance.new v3=Vector3.new bc=BrickColor.new c3=Color3.new cn=CFrame.new ca=CFrame.Angles ca2=function(a,b,c) return ca(math.rad(a),math.rad(b),math.rad(c)) end ti=table.insert tr=table.remove rn=math.random rd=math.rad mf=math.floor ud = UDim2.new inf=math.huge ...
local require = require local string = string local table = table int64.zero = int64.new(0,0) uint64.zero = uint64.new(0,0) function string.split(input, delimiter) input = tostring(input) delimiter = tostring(delimiter) if (delimiter=='') then return false end local pos,arr = 0, {} -- ...
--- An entity managed by the rule engine. -- -- Any method you try to call on objects of this class will result in an -- attempt to invoke a rule of the same name, passing the entity itself as the -- first argument. -- -- Any field you try to read or write to is coerced into a rule invocation -- with names `get_<...
local verse = require "verse"; -- local xmlns_vcard = "vcard-temp"; local xmlns_vcard_update = "vcard-temp:x:update"; local sha1 = require("util.hashes").sha1; local ok, fun = pcall(function() local unb64 = require("util.encodings").base64.decode; assert(unb64("SGVsbG8=") == "Hello") return unb64; end); if not ok...
local MAJOR_VERSION = "LibDogTag-Stats-3.0" local MINOR_VERSION = 90000 + tonumber(("$Revision: 19 $"):match("%d+")) or 0 if MINOR_VERSION > _G.DogTag_Stats_MINOR_VERSION then _G.DogTag_Stats_MINOR_VERSION = MINOR_VERSION end DogTag_Stats_funcs[#DogTag_Stats_funcs+1] = function(DogTag_Stats, DogTag) local L = DogTa...
local Knocked = false; local t = Def.ActorFrame{ OnCommand=cmd(y,-10); LoadActor("../Border/Under lay2.png")..{ InitCommand=cmd(FullScreen;y,SCREEN_CENTER_Y+10;SetTextureFiltering,false;); OnCommand=cmd(playcommand,'Super'); SuperCommand=function(self) if TP.Battle.Mode == "Ac" and not TP.Battle.IsfailorIsDraw...
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Water Sensor" ENT.WireDebugName = "Water Sensor" if CLIENT then return end -- No more client function ENT:Initialize() self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_VPHYSICS ) self:SetSolid( SOLID_VPHYSICS ) self.Outputs...
#!/usr/bin/env lua5.3 local f = coroutine.create( function(n) local i = 0 while i < 10 do coroutine.yield(i) i = i + 1 end return -1 end ) repeat local status, res = coroutine.resume(f, 10) if status then print(res) else print(res) end until coroutine.status(f) == "dea...
require('packer').use { 'hoob3rt/lualine.nvim', requires = { {'kyazdani42/nvim-web-devicons'}, {'shaunsingh/nord.nvim', opt = true} }, config = function() require('lualine').setup{options = { theme = 'nord' }} end }
SmartObject = { type = "SmartObject", Properties = { soclasses_SmartObjectClass = "", -- object_Model = "", }, Editor={ Model="Editor/Objects/anchor.cgf", Icon="smartobject.bmp", IconOnTop=1, }, } ------------------------------------------------------- --function SmartObject:OnPropertyChange() -- se...
-- Application actions defined for modules/appwindows.lua local actions = { fullscreen = 'fullscreen', maximize = 'maximize', toFront = 'bringToFront', activate = 'activate', debug = 'DEBUG', } return actions