content
stringlengths
5
1.05M
----------------------------------- -- Area: Windurst Woods -- NPC: Shih Tayuun -- Guild Merchant NPC: Bonecrafting Guild -- !pos -3.064 -6.25 -131.374 241 ----------------------------------- local ID = require("scripts/zones/Windurst_Woods/IDs") require("scripts/globals/shop") ----------------------------------- fun...
local rt_dap = require('rust-tools.dap') local config = require('rust-tools.config') local M = {} local function get_params() return { textDocument = vim.lsp.util.make_text_document_params(), position = nil -- get em all } end local function build_label(args) local ret = "" for _, val...
require 'Coat' local CodeGen = require 'CodeGen' singleton 'Smc.Groovy' extends 'Smc.Language' has.id = { '+', default = 'GROOVY' } has.name = { '+', default = 'Groovy' } has.option = { '+', default = '-groovy' } has.suffix = { '+', default = 'Context' } has.generator ...
local llpSender=TcpSender:extends { } llpSender.__name='LLP Sender' function llpSender:__init(data, channelName, logger) llpSender.super.__init(self, data, channelName, logger) self._startMessageChars=self._configTable.startMessageChars or DEFAULT_LLP_START_OF_MESSAGE self._endMessageChars =self._configTa...
return{ name = "greendale", description = "Greendale", type = "key", info = "a key that is rumored to open a secret door to a place named 'Greendale'", MAX_ITEMS = 1, }
local ffi = require "ffi" local bit = require("bit") local band = bit.band local bnot = bit.bnot local lshift = bit.lshift local rshift = bit.rshift local GDILib = ffi.load("gdi32") local gdi_ffi = require ("gdi32_ffi") --[[ DeviceContext The Drawing Context for good ol' GDI drawing --]] DeviceContext = {} setmet...
-- module local SceneAssetWalkerModule = {} -------------------------------------------------------------------- --[[ ]] -------------------------------------------------------------------- local function _defaultCollector ( obj, field, value, collected ) collected[ value ] = true end local function _collectAssetF...
local _, addon = ...; -- https://onlinetexttools.com/split-text?input=&split-by-char=false&char=%20&split-by-regex=false&regex=%2F%5Cs%2B%2F&split-by-length=true&length=110&separator=%2C%5Cn&symbol-before-chunk=%22&symbol-after-chunk=%22 table.insert(addon.officialCourses, table.concat({ "!WOP:2!0x96DD5638!1r1VVXr...
local local0 = 0.4 local local1 = 0.5 - local0 local local2 = 5.2 - local0 local local3 = 0.5 - local0 local local4 = 6 - local0 local local5 = 0.5 - local0 local local6 = 5.6 - local0 local local7 = 0.5 - local0 local local8 = 5.8 - local0 local local9 = 0.5 - local0 local local10 = 5.7 - local0 local local11 = 0.5 - ...
function onCreate() makeLuaSprite('robo', 'robo', -800, -500); setScrollFactor('robo', 0.9, 0.9); makeLuaSprite('grassm', 'grassm', -800, -500); setScrollFactor('grassm', 0.9, 0.9); scaleObject('grassm', 1.1, 1.1); makeLuaSprite('back_sticks', 'back_sticks', -800, -500); setScrollFactor('back_stick...
-- $Id$ -- -- All rights reserved. Part of the ALua project. -- Detailed information regarding ALua's license can be found -- in the LICENSE file. -- module("alua.daemon.auth", package.seeall) -- Standard modules require("table") require("string") -- Internal modules require("alua.event") require("alua.daemon.contex...
while true do wait(0.5) mouse1click() wait(0.5) mouse1click() wait(0.5) mouse1click() wait(0.5) mouse1click() wait(0.5) mouse1click() wait(0.5) mouse1click() wait(0.5) mouse1click() wait(0.5) mouse1click() end
function model.getAvailableConveyors() local l=sim.getObjectsInTree(sim.handle_scene,sim.handle_all,0) local retL={} for i=1,#l,1 do local data=sim.readCustomDataBlock(l[i],simBWF.modelTags.CONVEYOR) if data then retL[#retL+1]={simBWF.getObjectAltName(l[i]),l[i]} end ...
--- --- DrawLine.lua --- --- Copyright (C) 2018 Xrysnow. All rights reserved. --- _LoadImageFromFile('draw.pixel', ASSETS.tex.pixel, true, 0, 0, true, 0) local line_color = Color(255, 255, 255, 255) function DrawLine(x1, y1, x2, y2, width, color) width = width or 0.5 color = color or line_color SetImageS...
-- require 'busted.runner'() local pkey = require "openssl.pkey" local x509 = require "openssl.x509" local name = require "openssl.x509.name" local altname = require "openssl.x509.altname" local x509 = require "openssl.x509" local luajwtossl = require "luajwtossl" local base64 = require ...
local awful = require("awful") local ws = require("awesome-launch.workspace") local rofi = {} rofi.workspace = {} rofi.workspace.dirs = {'~/code'} function rofi.workspace.new() local dirs = table.concat(rofi.workspace.dirs, ' ') local cmd = string.format("find %s -maxdepth 2 -name %s", dirs, ws.filename) ...
---@class CS.UnityEngine.Cache : CS.System.ValueType ---@field public valid boolean ---@field public ready boolean ---@field public readOnly boolean ---@field public path string ---@field public index number ---@field public spaceFree number ---@field public maximumAvailableStorageSpace number ---@field public spaceOcc...
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- M I D I C O N T R O L S -- -----------------------------------------------------------------------------...
player_manager.AddValidModel( "PMC5_03", "models/player/PMC_5/PMC__03.mdl" ) list.Set( "PlayerOptionsModel", "PMC5_03", "models/player/PMC_5/PMC__03.mdl" )
-- @author : aero (2254228017@qq.com) -- @file : init -- @created : 星期二 3月 01, 2022 17:18:52 CST -- @github : https://github.com/denstiny -- @blog : https://denstiny.github.io local M = require("OverVirTool.OverVirTualChara") function M.initVirTool() if M.fileRules() == true then retu...
local trouble = require("trouble.providers.telescope") local telescope = require("telescope") telescope.setup({ extensions = { -- fzy_native = { -- override_generic_sorter = false, -- override_file_sorter = true, --}, }, defaults = { mappings = { i = { ["<c-t>"] = trouble.open_with_trouble...
local bit32 = require("bit") local band = bit32.band function apply(opcodes, opcode_cycles) local function add_to_a (reg, flags, value) local a = reg[3] -- half-carry flags[3] = band(a, 0xF) + band(value, 0xF) > 0xF local sum = a + value -- carry (and overflow correction) flags[4] = sum >...
--[[ Name: "sh_attributes.lua". Product: "kuroScript". --]] kuroScript.attributes = {}; -- A function to get the default attributes. function kuroScript.attributes.GetDefault(player, character) local attributes = {}; local default = {}; local k, v; -- Loop through each value in a table. for k, v in pairs(kuroS...
local exec = vim.api.nvim_command vim.cmd [[ nnoremap <SPACE> <Nop> let mapleader = "\<Space>" au FocusGained,BufEnter * :checktime command! BufOnly execute '%bdelete|edit #|normal `"' ]] vim.o.encoding = 'utf-8' vim.wo.number = true vim.o.hidden = true vim.o.termguicolors = true vim.o.mouse = 'a' vim.o.cmdh...
return function() local cb = require("diffview.config").diffview_callback local M = {} require("diffview").setup { diff_binaries = false, enhanced_diff_hl = true, use_icons = true, icons = { folder_closed = "", folder_open = "", }, signs = { fold_closed = "", f...
-- @file cache_lua_libs.lua Some Lua globals cached as locals -- This file is part of Godot Lua PluginScript: https://github.com/gilzoide/godot-lua-pluginscript -- -- Copyright (C) 2021 Gil Barbosa Reis. -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associa...
------------------------------------------------------------------------------- -- Module Declaration -- local mod, CL = BigWigs:NewBoss("Zanzil", 859, 184) if not mod then return end mod:RegisterEnableMob(52053) --mod.engageId = 1181 -- no boss frames, also he consistently fires ENCOUNTER_END when his Graveyard Gas ...
dofile("urlcode.lua") dofile("table_show.lua") local url_count = 0 local tries = 0 local item_type = os.getenv('item_type') local item_value = os.getenv('item_value') local item_thread = os.getenv('item_thread') local downloaded = {} local addedtolist = {} local replyids = {} for ignore in io.open("ignore-list", "r...
test_run = require('test_run').new() fiber = require 'fiber' fio = require 'fio' xlog = require 'xlog' s = box.schema.space.create('test', {engine='vinyl'}) _ = s:create_index('pk') -- Start a few fibers populating the space in the background. n_workers = 3 c = fiber.channel(n_workers) test_run:cmd("setopt delimiter...
-- Global ban modul for ULX --by Andrew Mensky! local CATEGORY_NAME = "Utility"; -- Simple convert from ulx to ugb bans. local function Convert( calling_ply ) if not ULib.fileExists( ULib.BANS_FILE ) then return ulx.fancyLogAdmin( calling_ply, "Nothing to convert" ); end; local bans, err = ULib.parseKeyValues(...
local luadev_inspect = require'luadev.inspect' local a = vim.api if _G._luadev_mod == nil then _G._luadev_mod = {execount = 0} end local s = _G._luadev_mod local function create_buf() if s.buf ~= nil then return end local buf = a.nvim_create_buf(true,true) a.nvim_buf_set_name(buf, "[nvim-lua]") s.b...
solution "Engine" configurations {"debug", "release"} language ("c++") platforms {"x64"} location ("build") debugdir ("build") targetdir ("bin") flags {"ExtraWarnings"} project ("engine") kind ("ConsoleApp") includedirs {"include", "src/deps/glfw"} files {"src/*.cpp", "sr...
if GetBot():IsInvulnerable() or not GetBot():IsHero() or not string.find(GetBot():GetUnitName(), "hero") or GetBot():IsIllusion() then return; end local ability_item_usage_generic = dofile( GetScriptDirectory().."/ability_item_usage_generic" ) local utils = require(GetScriptDirectory() .. "/util") local mutil = req...
----------------------------------- -- Ability: Reverse Flourish -- Converts remaining finishing moves into TP. Requires at least one Finishing Move. -- Obtained: Dancer Level 40 -- Finishing Moves Used: 1-5 -- Recast Time: 00:30 ----------------------------------- require("scripts/globals/settings") require("scripts/g...
-- AUDIO function playSfx(xbool) local sound local channel if xbool then sound = Sound.new("audio/selecton.wav") channel = sound:play() channel:setVolume(0.25) else sound = Sound.new("audio/selectoff.wav") channel = sound:play() channel:setVolume(0.75) end end -- scene manager scenemanager = SceneMana...
local lsp = vim.lsp local api = vim.api local all_diag = lsp.diagnostic.get_all() vim.cmd [[ 10new ]] vim.cmd [[ hi StuffWarning gui=bold guifg=#d79921 ]] local result_bufnr = api.nvim_get_current_buf() local ns = api.nvim_create_namespace("stuff") api.nvim_buf_set_keymap(result_bufnr, "n", "<C-c>", "<CMD>bd!<CR>",...
Locales['en'] = { ['valid_purchase'] = 'Cela vous coûtera 250$?', ['yes'] = 'Oui', ['no'] = 'Non', ['press_access'] = 'Appuyez sur ~INPUT_CONTEXT~ pour faire de la ~r~Chirurgie', ['not_enough_money'] = 'Vous n\'avez pas assez d\'argent !', ['you_paid'] = 'Vous avez payé $%s', ['blip_plastic_surgery'] = 'C...
module 'mock' -------------------------------------------------------------------- CLASS: EditorEntity ( mock.Entity ) function EditorEntity:__init() self.layer = '_GII_EDITOR_LAYER' self.FLAG_EDITOR_OBJECT = true end -------------------------------------------------------------------- CLASS: ComponentPreviewer () ...
local core = require('cmp.core') local source = require('cmp.source') local config = require('cmp.config') local feedkeys = require('cmp.utils.feedkeys') local autocmd = require('cmp.utils.autocmd') local keymap = require('cmp.utils.keymap') local misc = require('cmp.utils.misc') local cmp = {} cmp.core = core.new() ...
-- This module contains configuration related to the native language server require("utils") -- AUTOCOMMANDS ------------------------------------------------------------------------------- vim.api.nvim_define_augroup("Lsp", true) -- Show diagnostic information on CursorHold vim.api.nvim_define_autocmd("CursorHold", ...
-- colorbuddy.vim -- @author: TJ DeVries -- Inspired HEAVILY by @tweekmonster's colorpal.vim vim.fn = vim.fn or setmetatable({}, { __index = function(t, key) local function _fn(...) return vim.api.nvim_call_function(key, {...}) end t[key] = _fn return _fn end }) local groups = require('col...
local SpellCaster = Class(function(self, inst) self.inst = inst self.spell = nil self.spelltest = nil self.onspellcast = nil self.canusefrominventory = true self.canuseontargets = false self.canuseonpoint = false end) function SpellCaster:SetSpellFn(fn) self.spell = fn end function SpellCaster:SetSpellTestFn(...
-- This config example file is released into the Public Domain. -- This is a generic configuration that is a good starting point for -- real-world projects. Data is split into tables according to geometry type -- and most tags are stored in jsonb columns. -- Set this to the projection you want to use local srid = 385...
local coq = require('coq') local lsp_installer = require("nvim-lsp-installer") -- keymaps local on_attach = function(client, bufnr) local function buf_set_option(...) vim.api.nvim_buf_set_option(bufnr, ...) end buf_set_option('omnifunc', 'v:lua.vim.lsp.omnifunc') require('bindings.lsp').Set_Keymaps(client) -- ...
object_tangible_npe_npe_elevator_down_b = object_tangible_npe_shared_npe_elevator_down_b:new { } ObjectTemplates:addTemplate(object_tangible_npe_npe_elevator_down_b, "object/tangible/npe/npe_elevator_down_b.iff")
----------------------------------------------------------------------------------------------- -- Grasses - More Tall Grass 0.0.2 ----------------------------------------------------------------------------------------------- -- by Mossmanikin -- License (everything): WTFPL -- Contains code from: biome_lib ...
local lastKey local clientResourceCount local keepAlive = {} local registerResource = {} local dbg = rdebug() --Thanks nit34byte <3 function generateKey() local chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' local a = '' math.randomseed(os.time()) b = {} for c in chars:gmatch "." ...
----------------------------------------- -- Spell: Cura -- Restores hp in area of effect. Self target only -- From what I understand, Cura's base potency is the same as Cure's. -- With Afflatus Misery Bonus, it can be as potent as a Curaga II -- Modeled after our Cure.lua, which was modeled after the below reference -...
-- The text interpreter. Loaded after everything. interpreter = {} -- Load modules dofile("script/interpmodules/itemmodule.lua") dofile("script/interpmodules/movemodule.lua") -- Load command definitions function interpreter.loadDefs () interpreter.def = {} local defsToLoad = table.load("assets/interpdefs/...
--data.lua mod = "Realistic_Electric_Trains" path = "__" .. mod .. "__/" graphics = path .. "graphics/" require("config") require("prototypes.items") require("prototypes.entities") require("prototypes.recipes") require("prototypes.research")
cpuid = require 'luacpuid' print(cpuid.valid()) print(cpuid.vendor()) b = cpuid.New() --print(b.eax) print(b) --b.eax = 0xe cpuid.cpuid(b) print(b)
return { summary = 'Set the position of the Source.', description = [[ Sets the position of the Source, in meters. Setting the position will cause the Source to be distorted and attenuated based on its position relative to the listener. Only mono sources can be positioned. Setting the position of a s...
-- MT-specific implementations of various dependencies of the loader logic. -- will trigger an error early if not run under MT local getmodpath = minetest.get_modpath -- FIXME: I *still* don't know if this varies across OSes or if lua handles it. local dirsep = "/" -- io implementation for the reservation manager to...
--!A cross-platform build utility based on Lua -- -- 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...
local ffi = require'ffi' local ljarray = require'ljarray' ---------------------------------------------------------------------------- -- simple integer array ---------------------------------------------------------------------------- local a = ljarray.int(100) for i=1,5 do a:insert(i) --insert behaves like the def...
local setmetatable = setmetatable local tonumber = tonumber local aes = require "resty.aes" local cip = aes.cipher local hashes = aes.hash local ceil = math.ceil local var = ngx.var local sub = string.sub local rep = string.rep local CIPHER_MODES = { ...
PANEL.Base = "Panel" function PANEL:Init() self.Icon = vgui.Create("DImage", self) self.Shadow = vgui.Create("DImage", self) self.Shadow:SetImage("gui/legs") if math.random(0, 30) == 1 then self.Overlay = vgui.Create("DImage", self) self.Overlay:SetImage("gui/legs"..math.random(1, 2)) -- Random this end end...
return { config = { option = { elona = { item_shortcuts_respect_curse_state = { name = "Shortcut", doc = [[ Normal: Separate shortcuts by item type only. Expansion: Separate item shortcuts for item congratulatory spells. ]], yes = "Expansion", ...
nut.command.add("charsetclass", { adminOnly = true, syntax = "<string name> <string class>", onRun = function(client, args) local Target = nut.command.findPlayer(client, args[1]) if not IsValid(Target) then return end local TargetClass = table.concat(args," ", 2) for ClassI...
--!A cross-platform build utility based on Lua -- -- 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...
local json = require "json" function hive.start() names = json.array {} end local function hello(req) local name = req.params.name or "world" table.insert(names, name) return { greeting = "Hello, " .. name .. "!" } end local function list(req) return names end hive.register("/", hello) hive.register("/lis...
require 'pl' require 'image' require 'trepl' local gm = require 'graphicsmagick' torch.setdefaulttensortype("torch.FloatTensor") local function color(black) local r, g, b if torch.uniform() > 0.8 then if black then return {0, 0, 0} else return {1, 1, 1} end else if torch.uniform()...
module(..., package.seeall) local ffi = require("ffi") local C = ffi.C local rand = require("lib.lpm.random").u32 local bit = require("bit") local lib = require("core.lib") local lpm = require("lib.lpm.lpm").LPM local ip4 = require("lib.lpm.ip4") LPM4 = setmetatable({}, { __index = lpm }) entry = ffi.typeof([[ struc...
tokenizer=require 'simple_tokenizer' --comment out to have debugging autostart started_debugging=true if not started_debugging then started_debugging = true require('mobdebug').start() end --local serpent = require("serpent") --require 'class' --forward references local strip_tokens_from...
local F, C, L = unpack(select(2, ...)) local UNITFRAME = F:GetModule('Unitframe') local format, floor = string.format, math.floor local cfg = C.unitframe local tags = FreeUI.oUF.Tags.Methods local tagEvents = FreeUI.oUF.Tags.Events local tagSharedEvents = FreeUI.oUF.Tags.SharedEvents local function usub(str, len) l...
hs.alert.show("Spacehammer config loaded") -- Support upcoming 5.4 release and also use luarocks' local path package.path = package.path .. ";" .. os.getenv("HOME") .. "/.luarocks/share/lua/5.4/?.lua;" .. os.getenv("HOME") .. "/.luarocks/share/lua/5.4/?/init.lua" package.cpath = package.cpath .. ";" .. os.getenv("HOME...
Lists = { --Custom Pedestals Pedestals = { PEDESTAL_DEFAULT = 0, NUM_PEDESTALS = 1, ANIMFILE = "gfx/Items/Pick Ups/Pedestals/animation.anm2", }, --Enemy Subtypes EnemySubTypes = { }, --Tear subs TearSubTypes = { }, --Helper Callbacks Callbacks = { ENTITY_SPAWN = 1 }, --Default unlockflags DefUnloc...
local bin = require "bin" local coroutine = require "coroutine" local nmap = require "nmap" local os = require "os" local stdnse = require "stdnse" local table = require "table" description = [[ Discovers PC-DUO remote control hosts and gateways running on a LAN by sending a special broadcast UDP probe. ]] --- -- @us...
--- The game module. -- @module Game -- @usage local Game = require('__stdlib__/stdlib/game') local Game = { __class = 'Game', __index = require('__stdlib__/stdlib/core') } setmetatable(Game, Game) local Is = require('__stdlib__/stdlib/utils/is') --- Return a valid player object from event, index, string, or...
PowerSwitch = {}; ColorButton = {}; Import("Core.Light"); Import("Core.World"); Import("Core.Utils.Math"); Import("Core.Animation.Animator"); GetHook("World"); UseLocalTrigger("Init"); function Local.Init() switchKey = Require("switchKey"); buttonKey = Require("buttonKey"); UseCustomTrigger(switchKey, "...
local encodings = require "util.encodings"; local utf8 = assert(encodings.utf8, "no encodings.utf8 module"); describe("util.encodings", function () describe("#encode()", function() it("should work", function () assert.is.equal(encodings.base64.encode(""), ""); assert.is.equal(encodings.base64.encode('coucou'...
------------------------------------------------------------ -- Experiencer by Sonaza (https://sonaza.com) -- Licensed under MIT License -- See attached license text in file LICENSE ------------------------------------------------------------ local ADDON_NAME, Addon = ...; local _; local module = Addon:RegisterModule...
require("lab1.z1") function moveinto(tab1,i1,j1,tab2,i2) if i2 == nil then tab2, i2 = tab1, tab2 end local padding = j1-i1+1 new_tab = {} for k, v in pairs(tab2) do if type(k) ~= "number" or k < i2 or k<1 then new_tab[k] = v end if type(k) == "number" and k>=i2 then new_tab[k+pad...
-- Generated by github.com/davyxu/tabtoy -- Version: 2.8.10 local tab = { ItemBaseData = { { Id = 10001, Name = "钻石", Desc = "", Sort = 0, Type = 10, Sold = 0, RealPrice = 100 }, { Id = 10002, Name = "钻石券", Desc = "", Sort = 0, Type = 10, Sold = 0, RealPrice = 10 }, { Id = 8001, Name = "广告联盟", Desc = "", Sort...
-- -- Load a resizable 1-d frame. p contains an odd number of parts. -- Even parts are resized; odd parts are not (unless the requested -- width is too small). The frame is centered on the midway part -- of p; parts to the left and right are anchored on the inside. -- -- A 3-part frame; the center third is dynamic, e...
-- -- List of messages to be used by MUDpp -- messages = { welcome = "Welcome to Mud++\n\r" .. "****************\n\r\n\r" .. "Copyright 2020 Joel FALCOU" , motd = "Message Of The Day (MOTD)\n\r\n\r" .. "Here is where you place announc...
description 'chat management stuff' ui_page 'html/chat.html' client_script 'chat_client.lua' server_script 'chat_server.lua' export 'printChatLine' files { 'html/chat.html', 'html/chat.css', 'html/chat.js', 'html/jquery.faketextbox.js', "Roboto-Bold.ttf", }
//________________________________ // // NS2 Single-Player Mod // Made by JimWest, 2012 // //________________________________ // base class for spawning npcs Script.Load("lua/ExtraEntitiesMod/npc/NpcSpawner.lua") class 'NpcSpawnerMarine' (NpcSpawner) NpcSpawnerMarine.kMapName = "npc_spawner_marine" local ...
--- @TODO Create German translations
--[[ --re-implimation of the linear module for debug. You can use this module to debug your code, e.g. observe the output or the inteval varibles. -- --]] local Linear_ForDebug, parent = torch.class('nn.Linear_ForDebug', 'nn.Module') function Linear_ForDebug:__init(inputSize, outputSize,orth_flag,isBias) parent.__...
require 'torch' require 'hdf5' require 'shortcut' require 'NCEDataGenerator' local BidTreeLM_NCE_Dataset = torch.class('BidTreeLM_NCE_Dataset') function BidTreeLM_NCE_Dataset:__init(datasetPath, nneg, power, normalizeUNK) self.vocab = torch.load(datasetPath:sub(1, -3) .. 'vocab.t7') xprintln('load vocab done!') ...
return { shopTitle = "Hidden Valley General Store", shopId = "hiddenValley", items = { "cookie", "healthPotion", "rake", "axe" } }
if nil ~= require then require "fritomod/basic"; require "fritomod/currying"; require "fritomod/Metatables"; require "fritomod/Functions"; require "fritomod/OOP"; require "fritomod/OOP-Class"; require "fritomod/Metatables"; require "fritomod/Lists"; require "fritomod/Iterators"; require "fritomod/Tests"; end;...
--- Eva IAPs module -- Can process all in-apps in your application -- @submodule eva local app = require("eva.app") local log = require("eva.log") local luax = require("eva.luax") local const = require("eva.const") local fun = require("eva.libs.fun") local db = require("eva.modules.db") local game = require("eva.mod...
do (nil)({ _1 = nil, _2 = nil }) end
local awful = require("awful") local wibox = require("wibox") local gears = require("gears") local utils = require("utils") local icons = require("icons") local BaseWidget = require("widgets.base").BaseWidget local BrightWidget = BaseWidget.derive() function BrightWidget:update() utils.async(self.getcmd, function...
local composer = require( "composer" ) display.setStatusBar( display.HiddenStatusBar ) math.randomseed( os.time() ) composer.setVariable( "finalScore", 0 ) composer.gotoScene( "menu" )
resource_manifest_version "77731fab-63ca-442c-a67b-abc70f28dfa5" client_script "RealisticAirControl_cl.lua"
local util = {} --[[Get a random value of the chance table formatted like this: { { value = <any type>, chance = <float> }, ... } ]] function util.TableRandomChance(chanceTable) local range = 0 for _, chanceData in pairs(chanceTable) do range = range + chanceData.chance end local randomNumber =...
--# selene: allow(unused_variable) ---@diagnostic disable: unused-local -- This module provides a basic ping function which can test host availability. Ping is a network diagnostic tool commonly found in most operating systems which can be used to test if a route to a specified host exists and if that host is respondi...
local tiny = require('lib.tiny') local class = require('lib.middleclass') local System = tiny.processingSystem(class('system.input.keyboard')) function System:initialize() self.filter = tiny.requireAll('isPlayer', 'left', 'right', 'space') end function System:process(e, dt) e.left = love.keyboard.isDown('a') or...
local storages = {} local storageBusy = {} function findStorageWithSameName(name) for k, v in pairs(storages) do if v.name == name then return k end end end function removeStorage(id) storages[id] = nil TriggerEvent('rcore:updateStorages') end exports('removeStorage',remov...
----------------------------------- -- Ability: Overdrive -- Augments the fighting ability of your automaton to its maximum level. -- Obtained: Puppetmaster Level 1 -- Recast Time: 1:00:00 -- Duration: 1:00 ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require...
--[[============================================================================= Properties Code Copyright 2015 Control4 Corporation. All Rights Reserved. ===============================================================================]] -- This macro is utilized to identify the version string of the dr...
--[[ 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...
local F, C = unpack(select(2, ...)) tinsert(C.themes["FreeUI"], function() if C.isClassic then return end _G.LossOfControlFrame.RedLineTop:SetTexture(nil) _G.LossOfControlFrame.RedLineBottom:SetTexture(nil) _G.LossOfControlFrame.blackBg:SetTexture(nil) local styled hooksecurefunc("LossOfControlFrame_SetUpDisp...
local _, private = ... local L = private.L --[[ Lua Globals ]] -- luacheck: globals tinsert wipe select next --[[ Core ]] local Aurora = private.Aurora local Hook, Skin = Aurora.Hook, Aurora.Skin local checkboxes = {} local function RemoveCheckedItem(mailIndex) private.debug("RemoveCheckedItem", mailIndex, check...
-------------------------------------------------------------------------------- -- Module declaration -- local mod, CL = BigWigs:NewBoss("Wing Leader Ner'onok", 1011, 727) if not mod then return end mod:RegisterEnableMob(62205) mod.engageId = 1464 mod.respawnTime = 30 -----------------------------------------------...
if not _G.plugin_loaded("nvim-scrollview") then do return end end vim.g.scrollview_base = "buffer" vim.g.scrollview_column = 80
function create(dialogObject, bindings) print(bindings) print(dialogObject) dSysClass = luajava.bindClass( "org.schema.game.common.data.player.dialog.DialogSystem" ); dSysFactoryClass = luajava.bindClass( "org.schema.game.common.data.player.dialog.DialogStateMachineFactory" ); dSysEntryClass = luajava.bin...