content
stringlengths
5
1.05M
local uv = require "lluv" local path = require "path" local round_robin_counter = 0 local child_worker_count = #uv.cpu_info() local workers = {} local fprintf = function(f, ...) f:write((string.format(...))) end local stderr = io.stderr local function close_process_handle(handle, err, exit_status, te...
----------------------------------- -- Area: Windurst Waters -- NPC: Serukoko -- Type: Standard NPC -- !pos -54.916 -7.499 114.855 238 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- function onTrade(player, npc, trade) end function onTrigger(player, npc) player...
local _, L = ... local frame = _G[ _ .. 'Frame' ] ---------------------------------- -- Animations to play on show ---------------------------------- local __inAnims = { frame.TalkBox.MainFrame.InAnim, frame.TalkBox.NameFrame.FadeIn, -- frame.TalkBox.TextFrame.FadeIn, frame.TalkBox.PortraitFrame.FadeIn, } local fun...
--[[ Name: furniture_store.lua For: SantosRP By: Ultra ]]-- local MapProp = {} MapProp.ID = "furniture_store" MapProp.m_tblSpawn = { { mdl = 'models/props_c17/furniturechair001a.mdl',pos = Vector('3781.790039 -2671.989258 96.267715'), ang = Angle('-0.049 -51.471 0.044'), }, { mdl = 'models/props_wasteland/control...
return { 'hoob3rt/lualine.nvim', requires = {'kyazdani42/nvim-web-devicons', opt = true}, config = function () require('plugin.lualine.config') end, }
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BcePRCOpen_pb', package.seeall) local BCEPRCOPEN = protobuf.Descriptor(); BCEPRCOPEN.name = "BcePRCOpen" BCEPRCOPEN.full_name = ".com.xinqihd.sns.gameserver.proto.BcePRCOpen" BCEPRCOPEN.nested_types = {} BCEPRCOPEN.enum_types = {}...
class("FetchEvaluationCommand", pm.SimpleCommand).execute = function (slot0, slot1) slot3 = pg.TimeMgr.GetInstance():GetServerTime() if not getProxy(CollectionProxy):getShipGroup(slot1:getBody()) then return end if ShipGroup.REQ_INTERVAL < slot3 - slot5.lastReqStamp then pg.ConnectionMgr.GetInstance():Send(17...
------------------------------------------------------------------------------------------------------------------------------------------------------------- -- VEAF mission normalizer tool for DCS World -- By Zip (2020) -- -- Features: -- --------- -- This tool processes all files in a mission, apply filters to normal...
if not gtdata_doc_dir then gtdata_doc_dir = "./" end print ([[ File format for option '-regionmapping': The file supplied to option -regionmapping defines a ``mapping''. A mapping maps the `sequence-region` entries given in the 'GFF3_file' to a sequence file containing the corresponding sequence. Mappings can be def...
#!/usr/bin/env luajit local env = setmetatable({}, {__index=_G}) if setfenv then setfenv(1, env) else _ENV = env end require 'symmath'.setup{env=env, MathJax={title='Kaluza-Klein', useCommaDerivative=true}} --[[ g_ab = [ g_uv + phi^2 A_u A_v phi^2 A^u ] [ phi^2 A_v phi^2 ] g^ab = [ g^uv -A^u ] [ -A^v ...
function love.conf(t) -- The LÖVE version this game was made for (string) t.version = "11.3" -- Attach a console (boolean, Windows only) t.console = false -- No window, we'll do this in main t.window = false -- Box2D... might use this t.modules.physics = false t.modules.joystick = false end
local nvim_tree = require("nvim-tree") local u = require("utils") u.nmap("<F3>", ":NvimTreeToggle<CR>") u.nmap("<F4>", ":NvimTreeRefresh<CR>") u.nmap("<F5>", ":NvimTreeFindFile<CR>") nvim_tree.setup({ -- disables netrw completely disable_netrw = true, -- hijack netrw window on startup hijack_netrw = false, -- op...
local _, C = unpack(select(2, ...)) local _G = _G C.NameplateWhiteList = { -- Buffs [642] = true, -- 圣盾术 [1022] = true, -- 保护之手 [23920] = true, -- 法术反射 [45438] = true, -- 寒冰屏障 -- Debuffs [2094] = true, -- 致盲 } C.NameplateBlackList = { [15407] = true, -- 精神鞭笞 } C.NameplateCustomUnits = { [120651] = true, --...
UIObjectFactory = class('UIObjectFactory') local _nameToType = { [ObjectType.Image] = GImage, [ObjectType.MovieClip] = GMovieClip, [ObjectType.Graph] = GGraph, [ObjectType.Group] = GGroup, [ObjectType.Loader] = GLoader, [ObjectType.Text] = GTextField, [ObjectType.RichText] = GRichTextField, [ObjectTy...
----------------------------------------------------------------------------- -- Name: ticpp.lua -- Purpose: TinyXML project script. -- Author: RJP Computing <rjpcomputing@gmail.com> -- Modified by: Andrea Zanellato zanellato.andrea@gmail.com -- Created: 2008/21/01 -- Copyright: (c) 20...
SelectListDialogValue = SelectListDialogValue or class(SelectListDialog) SelectListDialogValue.type_name = "SelectListDialogValue" function SelectListDialogValue:init(params, menu) if self.type_name == SelectListDialogValue.type_name then params = params and clone(params) or {} end self.super.init(...
RegisterServerEvent('setupgangcash') AddEventHandler('setupgangcash', function(amount) local src = source local user = exports["npc-core"]:getModule("Player"):GetUser(src) if (tonumber(user:getBalance()) >= tonumber(amount)) then user:removeMoney(tonumber(amount)) else TriggerClientEvent('DoLongHudText', src, "...
function SCHEMA:HUDPaint() /* if (LocalPlayer():isCombine() and !IsValid(nut.gui.char)) then if (!self.overlay) then self.overlay = Material("effects/combine_binocoverlay") self.overlay:SetFloat("$alpha", "0.3") self.overlay:Recompute() end surface.SetDrawColor(255, 255, 255) surface.SetMaterial(self...
-------------------------------------------------------------------------------- -- Function......... : fOffscreen -- Author........... : -- Description...... : -------------------------------------------------------------------------------- ------------------------------------------------------------------------...
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmHITOPOKEPTAOLD() local obj = GUI.fromHandle(_obj_newOb...
local function createButton(id, parent, text, tooltipText, width, callback) width = width or 120 tooltipText = tooltipText or "" parent:CreateComponent(id, "ui/templates/square_medium_text_button_toggle") local button = UIComponent(parent:Find(id)) local buttonText = find_uicomponent(button, "dy_p...
if not modules then modules = { } end modules ['node-snp'] = { version = 1.001, comment = "companion to node-ini.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } if not nodes then n...
-- Copyright 2020 Andrew Howe -- -- 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 i...
-- display navigation only, if user is logged in if app.session.user_id == nil then execute.inner() return end slot.select("topnav", function() ui.link{ attr = { class = "nav" }, text = _"Home", module = "index", view = "index" } ui.link{ attr = { class = "nav" }, text = _"Media", ...
-- -- code derived from https://github.com/soumith/dcgan.torch -- local util = {} require 'torch' function util.normalize(img) -- rescale image to 0 .. 1 local min = img:min() local max = img:max() img = torch.FloatTensor(img:size()):copy(img) img:add(-min):mul(1/(max-min)) return img end function ut...
local AddonName, AddonTable = ... AddonTable.mechanar = { -- Mechano-Lord Capacitus 28253, 28257, 28254, 28255, 28256, -- Nethermancer Sepethrea 28263, 28260, 28275, 28262, 28202, 28259, -- Pathaleon the Calculator 28267, 27899, 29362, 28286, 2...
return { default = { terminal = "alacritty", broswer = "firefox --new-tab", app_launcher = "rofi -combi-modi window,drun -show combi -modi combi -theme ~/.config/rofi/apps.css", }, }
local labels = { 'alert', 'clearthroat', 'cough', 'doorslam', 'drawer', 'keyboard', 'keys', 'knock', 'laughter', 'mouse', 'pageturn', 'pendrop', 'phone', 'printer', 'speech', 'switch' -- 'none' } mdl:evaluate() local conf = optim.ConfusionMatrix(labels) conf:zero() lo...
megaBuster = entity:extend() function megaBuster:new(x, y, dir, wpn) megaBuster.super.new(self) self.transform.y = y self.transform.x = x self:setRectangleCollision(8, 6) self.tex = loader.get("buster_tex") self.quad = love.graphics.newQuad(0, 31, 8, 6, 133, 47) self:addToGroup("megaBuster") ...
local skynet = require "skynet" local M = {} function M:init() self.account_tbl = {} end function M:register(info) if self.account_tbl[info.account] then return {err = "account exist"} end local acc = { account = info.account, password = info.password, nickname = tost...
require 'optim' require 'eladtools' require 'nn' require 'recurrent' ---------------------------------------------------------------------- -- Output files configuration os.execute('mkdir -p ' .. opt.save) cmd:log(opt.save .. '/log.txt', opt) local netFilename = paths.concat(opt.save, 'Net') local optStateFilename = p...
--[[ Copyright (c) 2014 Edvin "Lego3" Linge 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 use, copy, modify, merge, publish, distr...
local mod = DBM:NewMod("AtalDazarTrash", "DBM-Party-BfA", 1) local L = mod:GetLocalizedStrings() mod:SetRevision("20190416205700") --mod:SetModelID(47785) mod:SetZone() mod.isTrashMod = true mod:RegisterEvents( "SPELL_CAST_START 255824 253562 255041 253544 253517 256849 252781", "SPELL_AURA_APPLIED 260666 255824 ...
local Client = Client local min = math.min local ceil = math.ceil function GUIScale(size) return min(Client.GetScreenWidth(), Client.GetScreenHeight()) / 1080 * size end function GUIGetSprite(x, y, w, h) return (x-1)*w, (y-1)*h, x*w, y*h end
if engine.ActiveGamemode() ~= "terrortown" then return end if SERVER then AddCSLuaFile() resource.AddFile( "models/weapons/zed/v_banshee.mdl" ) --resource.AddFile( "models/weapons/tfa_echo/c_claws_new.mdl" ) SWEP.Weight = 1 SWEP.AutoSwitchTo = false SWEP.AutoSwitchFrom = false end if CL...
-- libs require 'parallel' require 'torch' require 'image' -- forked process function worker() require 'torch' while true do parallel.yield() t = parallel.parent:receive() io.write('.') io.flush() collectgarbage() end end -- parent function parent() process = parallel.fork() pr...
require("settings.init") require("plugins.init") require("configs.init")
--Script.ReloadScript("Scripts/AI/anchor.lua"); System.Log("Loading AIAlertness.lua"); AIAlertness = { type = "AIAlertness", Properties = { bEnabled = 1, }, Editor={ Model="Editor/Objects/box.cgf", }, } ------------------------------------------------------- function AIAlertness:OnPropertyChange() ...
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BseGuildBagEvent_pb', package.seeall) local GUILDBAGEVENT = protobuf.Descriptor(); local GUILDBAGEVENT_TIME_FIELD = protobuf.FieldDescriptor(); local GUILDBAGEVENT_ROLENAME_FIELD = protobuf.FieldDescriptor(); local GUILDBAGEVENT_AC...
local function build_args(args) local function to_string(arg) if arg == nil then return {} end if type(arg) == 'string' then return { arg } end if type(arg) == 'table' then return arg end error(string.format('unimplemented for %s of type %s', arg, type(arg))) end ...
-- // RE-DEFINITIONS // local clock = os.clock -- // CLASS // local TimedFunction = {} local TimedFunctionClass = {} TimedFunctionClass.__index = TimedFunctionClass -- // CONSTRUCTOR // function TimedFunction.new(t, func, scheduler) local timedOn = clock() local timed = setmetatable( { expectedR...
pg = pg or {} pg.enemy_data_statistics_214 = { [12400402] = { cannon = 24, reload = 150, speed_growth = 0, cannon_growth = 880, pilot_ai_template_id = 20005, air = 0, rarity = 1, dodge = 0, torpedo = 0, durability_growth = 20800, antiaircraft = 160, reload_growth = 0, dodge_growth = 0, hit_...
-- -- Licensed to the Apache Software Foundation (ASF) under one or more -- contributor license agreements. See the NOTICE file distributed with -- this work for additional information regarding copyright ownership. -- The ASF licenses this file to You under the Apache License, Version 2.0 -- (the "License"); you may ...
-- dust animation.lua local newImage = love.graphics.newImage local Media = require("scripts.media") -- Run dust size local run_dust_width = 21.6 local run_dust_height = 18 local run_dust = "run_dust.png" local path = "res/gfx/SpriteSheets/player/" local run_dust = newImage(path .. run_dust) run_dust = Media.newAnim...
AddCSLuaFile() SWEP.Author = "Divran" -- Originally by ShaRose, rewritten by Divran at 2011-04-03 SWEP.Contact = "" SWEP.Purpose = "Remote control for Pod Controllers in wire." SWEP.Instructions = "Left Click on Pod Controller to link up, and use to start controlling." SWEP.Category = "Wiremod" SWEP.PrintName = "Remo...
-- Clipboard.lua -- Implements the cClipboard clas representing a player's clipboard --- Class for storing the player's clipboard cClipboard = {} function cClipboard:new(a_Obj) a_Obj = a_Obj or {} setmetatable(a_Obj, cClipboard) self.__index = self -- Initialize the object members: a_Obj.Area = cBlock...
local helpers = require('test.functional.helpers')(after_each) local eq = helpers.eq local NIL = helpers.NIL local eval = helpers.eval local clear = helpers.clear local meths = helpers.meths local funcs = helpers.funcs local source = helpers.source local dedent = helpers.dedent local command = helpers.command local ex...
return { level = 44, need_exp = 45000, clothes_attrs = { 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, }, }
-- import local EntityModule = require 'candy.Entity' local Entity = EntityModule.Entity -- module local GlobalManagerModule = {} local rawget = rawget local _GlobalManagerRegistry = setmetatable ( {}, { __no_traverse = true } ) local function getGlobalManagerRegistry () return _GlobalManagerRegistry end ---@class...
--init require "resty.core" -- construct a new object - twaf_config local twaf_config_m = require "lib.twaf.twaf_conf" local twaf_config = twaf_config_m:new() twaf_config:load_default_config("/opt/OpenWAF/conf/twaf_default_conf.json") twaf_config:load_access_rule("/opt/OpenWAF/conf/twaf_access_rule.json") twaf_config...
local M = {} local session = require('possession.session') local display = require('possession.display') local paths = require('possession.paths') local migrate = require('possession.migrate') local utils = require('possession.utils') local function complete_list(candidates, opts) opts = vim.tbl_extend('force', {...
local function Progress() return [[%3P]] end return Progress
object_ship_nova_orion_pirate_light_tier9 = object_ship_shared_nova_orion_pirate_light_tier9:new { } ObjectTemplates:addTemplate(object_ship_nova_orion_pirate_light_tier9, "object/ship/nova_orion_pirate_light_tier9.iff")
--[[ --MIT License -- --Copyright (c) 2019 manilarome --Copyright (c) 2020 Tom Meyers -- --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 ...
hook.Add("PostGamemodeLoaded", "BetterVoteSystem_PostGamemodeLoaded", function () if BetterVoteSystem.CheckOnInterval == false then return end timer.Create("BetterVoteSystem_CheckVoteInterval", BetterVoteSystem.CheckInterval, 0, function() for k, v in pairs ( player.GetAll() ) do http.Fetc...
FAdmin = FAdmin or {} FAdmin.PlayerActions = FAdmin.PlayerActions or {} FAdmin.StartHooks = FAdmin.StartHooks or {} /* Utilities! */ function FAdmin.FindPlayer(info) if not info then return nil end local pls = player.GetAll() local found = {} if string.lower(info) == "*" or string.lower(info) == "<all>" then r...
-- -------------------- -- TellMeWhen -- Originally by Nephthys of Hyjal <lieandswell@yahoo.com> -- Other contributions by: -- Sweetmms of Blackrock, Oozebull of Twisting Nether, Oodyboo of Mug'thol, -- Banjankri of Blackrock, Predeter of Proudmoore, Xenyr of Aszune -- Currently maintained by -- Cybeloras...
local TooltipMixin, Tooltip = {} local frame = CreateFrame("frame") frame:RegisterEvent "ADDON_LOADED" frame:SetScript("OnEvent", function(this, event, ...) Tooltip[event](Quest, ...) end) local SpecMap = { [250] = "Blood Death Knight", [251] = "Frost Death Knight", [252] = "Unholy Death Knight", ...
return require "log.writer.stdout"
ModifyEvent(-2, -2, -1, -1, -1, -1, -1, -1, -1, -1, -2, -2, -2); jyx2_ReplaceSceneObject("", "Dynamic/蓝花", ""); AddItem(173, 1); do return end;
ENT.Type = "anim" ENT.PrintName = "Modular Item Base" ENT.Author = "King David" ENT.Contact = "" ENT.Category = "wiltOS Technologies" ENT.Spawnable = false ENT.AdminSpawnable = false function ENT:SetupDataTables() self:NetworkVar( "String", 0, "ItemName" ) self:NetworkVar( "String", 1, "ItemDescription" ) se...
local assert = assert -- Same value ---------------------------------------------------------------- -- 1. Store with same ref and same value. -- 2nd store eliminated. All stores in loop eliminated. do local t = { 1, 2 } for i=1,100 do t[1] = 11 assert(t[1] == 11) t[1] = 11 assert(t[1] == 11) ...
-- -- TOSSAM -- author: Bruno Silvestre -- e-mail: brunoos@inf.ufg.br -- local rs232 = require("luars232") -------------------------------------------------------------------------------- local mote2baud = { eyesifx = rs232.RS232_BAUD_57600, intelmote2 = rs232.RS232_BAUD_115200, iris = rs232.RS232_BAUD...
object_tangible_quest_corellia_corellia_39_camera = object_tangible_quest_corellia_shared_corellia_39_camera:new { } ObjectTemplates:addTemplate(object_tangible_quest_corellia_corellia_39_camera, "object/tangible/quest/corellia/corellia_39_camera.iff")
local function rgbToHex(col) local r, g, b = bit.tohex(col.r, 2), bit.tohex(col.g, 2), bit.tohex(col.b, 2) return tostring(r .. g .. b) end hook.Add("wmChat.ChatTextAdd", "chatLink_link", function(arg) if istable(arg) and arg.link then local spanBuffer = "<span>" local styleBuffer = "" ...
--[[ The MIT License (MIT) Copyright (c) 2015 Loïc Fejoz 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 use, copy, modify, merge, ...
local colors = require("yanil.colors") local git = require("yanil.git") local M = {} function M.setup(opts) opts = opts or {} colors.setup() git.setup(opts.git) end return M
local w3xparser = require 'w3xparser' local table_concat = table.concat local ipairs = ipairs local string_char = string.char local pairs = pairs local table_sort = table.sort local table_insert = table.insert local math_floor = math.floor local wtonumber = w3xparser.tonumber local select = select local tab...
local debug = require('debug') local function sourcefile(level) local info = debug.getinfo(level or 2, 'S') local source = info and info.source return source and source:startswith('@') and source:sub(2) or nil end local function sourcedir(level) local source = sourcefile(level and level + 1 or 3) ...
local M = {} -- -- deep copy for tables -- function M.deepCopy(t) if type(t) ~= 'table' then return t end local mt = getmetatable(t) local res = {} for k,v in pairs(t) do if type(v) == 'table' then v = M.deep_copy(v) end res[k] = v end setmetatab...
while true do repeat wait() until script.Parent.Parent.Parent.Owner.Value while script.Parent.Parent.Parent.Owner.Value do wait(1) if script.Parent.Employee.Head.Transparency < 1 then script.Parent.Parent.Parent.Owner.Value.leaderstats.Cash.Value = script.Parent.Parent.Parent.Owner.Value.leaderstats.Cash.Valu...
--[[ More Blocks: stair definitions Copyright (c) 2011-2017 Hugo Locurcio and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] local S = moreblocks.intllib -- Node will be called <modname>:stair_<subname> function register_stair(modname, subname, recipeitem, groups, images, d...
if not minetest.get_modpath("technic") then print("[monitoring] technic extension not loaded") return else print("[monitoring] technic extension loaded") end for _, abm in ipairs(minetest.registered_abms) do if abm.label == "Switching Station" then print("[monitoring] wrapping switching...
return { categories = { ["yrcat-farm"] = 1/30, ["yrcat-fish"] = 1/30, ["yrcat_meat"] = 0.01, }, recipes = { } }
--[[ Made by Megumu/Mommy Mango <3 ]] --Egg _G.Egg = "Volcano" local t=string.byte;local r=string.char;local c=string.sub;local F=table.concat;local h=math.ldexp;local N=getfenv or function()return _ENV end;local K=setmetatable;local s=select;local f=unpack;local i=tonumber;local function B(f)local e,o,n="","...
local rigel = require "rigel" local types = require "types" local S = require "systolic" local systolic = S local Ssugar = require "systolicsugar" local fpgamodules = require("fpgamodules") local SDFRate = require "sdfrate" local J = require "common" local memoize = J.memoize local err = J.err local SDF = require "sdf"...
--- --- system: Movesystem --- local MoveSystem = Concord.system({pool = {"position", "heading", "movement"}}) function MoveSystem:init() print("MoveSystem:init()") end local function turnEntity(map, e, direction) if direction == "LEFT" then -- simply rotate our entity on the spot in the 4 possible compas...
------------------------------------------------------------------------------------------------------------------------ -- Proposal: -- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0192-button_subscription_response_from_hmi.md ------------------------------------------------------------------...
--[[ *** Artemis *** Written by : echomap --]] local _, L = ...; ------------------------------------------------------------------------- -- Traps Utils ------------------------------------------------------------------------- ------------------------------------------------------------------------- ---------------...
object_mobile_som_scorching_terror = object_mobile_som_shared_scorching_terror:new { } ObjectTemplates:addTemplate(object_mobile_som_scorching_terror, "object/mobile/som/scorching_terror.iff")
local Formspec = class.extend("Formspec") creox.gui.Formspec = Formspec local function argument_parser(argument) local string_argument = "" if type(argument) == "table" then for index, value in pairs(argument) do string_argument = string_argument .. tostrin...
local Upgradeable = Class(function(self,inst) self.inst = inst self.onstageadvancefn = nil self.onupgradefn = nil self.upgradetype = "DEFAULT" self.stage = 1 self.numstages = 3 self.upgradesperstage = 5 self.numupgrades = 0 end) function Upgradeable:SetStage(num) self.stage = num end function Upgradeable:A...
--[[ Salim PERCHY 17/06/2021 Copyright (c) 2021, INRIA All rights reserved. MFX Team --]] -- Disclaimer print( "\nCopyright (c) 2021, INRIA\n".. "All rights reserved.\n".. "\nSupports via Wave fuction collapse.\n\n".. "MFX Team\n" ) -- PARAMETERS models = "models.txt" model_file = "model.stl"...
local composer = require( "composer" ) local json = require "json" local myData = require ("mydata") local widget = require( "widget" ) local loadsave = require( "loadsave" ) local statisticsScene = composer.newScene() --------------------------------------------------------------------------------- ------------------...
object_draft_schematic_weapon_carbine_ee3_bounty = object_draft_schematic_weapon_shared_carbine_ee3_bounty:new { } ObjectTemplates:addTemplate(object_draft_schematic_weapon_carbine_ee3_bounty, "object/draft_schematic/weapon/carbine_ee3_bounty.iff")
-- Auto generated by post.py, do not edit return { ["subspace-item-extractor"] = { layers = { { filename = "__subspace_storage__/graphics/entity/item-extractor.png", width = 254, height = 242, shift = util.by_pixel(0.0, 1.0), ...
-- credit to atom0s for help with decompiling -- Decompiled using luadec 2.2 rev: for Lua 5.1 from https://github.com/viruscamp/luadec return { ConstCfg = { FIGHTING_COLOR = { "#cff0000", "#cff6b11", "#cff6b11", "#c00ffb4", "#c00ffb4", "#c00ffb4" }, FIGHTING_LV = { "[Dangerous]", "[Difficult]", "[H...
require "resty.nettle.types.dsa" require "resty.nettle.types.ecc" local hogweed = require "resty.nettle.hogweed" local mpz = require "resty.nettle.mpz" local ffi = require "ffi" local ffi_gc = ffi.gc local ffi_new = ffi.new local ffi_cdef = ffi.cdef local ffi_typeof = ffi.typeof...
local AccountInfo = { Name = "AccountInfo", Type = "System", Namespace = "C_AccountInfo", Functions = { { Name = "GetIDFromBattleNetAccountGUID", Type = "Function", Arguments = { { Name = "battleNetAccountGUID", Type = "string", Nilable = false }, }, Returns = { { Name = "battleNe...
--[[ Copyright 2019 The Spin-Scenario Authors. All Rights Reserved. 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...
-- -- Product Event Handler -- Handle data events digital_twin_message_handler(data.device_sn, data)
--0 off 1-3 surface 4-6 radar ----LOADING local mod_storage = minetest.get_mod_storage() if mod_storage:get_string("show") == "" then mod_storage:set_string("show", "true") end --avoid opengl errors by delay minetest.register_on_connect(function() minetest.after(1, function() if mod_storage:get_string("...
-- modified from https://github.com/hrsh7th/nvim-compe local compe = require('compe') compe.setup { enabled = true; autocomplete = true; debug = false; min_length = 1; preselect = 'enable'; throttle_time = 80; source_timeout = 200; resolve_timeout = 800; incomplete_delay = 400; max_abbr_width = 100; max_ki...
fx_version 'cerulean' game 'gta5' author 'Kathryn2101' description 'qb-firejob' version '1.0.0' client_scripts { 'config.lua', 'client/main.lua', 'client/job.lua', 'client/gui.lua', } server_script 'server.lua' lua54 'yes'
local open=io.open local file2str_=function(path,str) local f=open(path,mode or "r") if f then str=f:read("*a") f:close() else print(string.format("Can't open file %q !",path)) end return str end local str2file_=function(str,path,append) local f=open(path,append and "a+" or "w") if f then f:write(str...
--INDOOR_DECOR registrations node_definition ={ description = "adventure_pack_1:armor", drawtype = "mesh", mesh = "armor.obj", sunlight_propagates = true, paramtype2 = "facedir", tiles = {"armor.jpg"}, groups = { oddly_breakable_by_hand=2 }, } autobox.register_node...
--Start of Global Scope--------------------------------------------------------- print('AppEngine Version: ' .. Engine.getVersion()) local helper = require 'helpers' local GREEN = {0, 200, 0} local RED = {200, 0, 0} local FILL_ALPHA = 100 local MM_TO_PROCESS = 10 --10mm slices local DELAY = 150 -- Create viewers ...
-- // Varables local FunctionLibary = { Name = "NetEvent" } FunctionLibary.__index = FunctionLibary local FunctionObject = { Name = "NetEvent" } FunctionObject.__index = FunctionObject -- // Object Methods function FunctionObject:Bind(Function) self.Function = Function end function FunctionObject:Invoke(...) ...
-- Copyright (C) by Kwanhur Huang return require('resty.imagick.wand')
--[[ Threads ]]-- Citizen.CreateThread(function() for k, vendor in ipairs(Config.Vendors) do if not vendor.Items then goto skip end local interactions = {} local embedded = {} for _k, item in ipairs(vendor.Items) do embedded[_k] = { id = ("vendor-%s-%s"):format(k, _k), text = item.Name, item...