content
stringlengths
5
1.05M
return { ["CurrentVersion"] = "0.0.1", ["CurrentModuleID"] = "", ["CurrentGithubRelease"] = "", ["Name"] = "Test", ["Author"] = "froghopperjacob", ["Description"] = "Testing default RDM modules.", ["Site"] = "", ["Lisence"] = { ["Type"] = "Apache 2.0", }, ["Dependencies"] = { [...
-- DO NOT EDIT THIS FILE! -- Globals that we need local surface = surface local Msg = Msg local Color = Color --[[--------------------------------------------------------- Name: killicon Desc: Stores and serves killicons for deathnotice -----------------------------------------------------------]] module("...
util.AddNetworkString("LVL.NeedUpgrade") -- SERVER > CLIENT | При выдаче опыта, когда нужно апгрейдиться util.AddNetworkString("LVL.GainedExp") -- SERVER > CLIENT | При выдаче опыта util.AddNetworkString("LVL.Upgraded") -- SERVER > CLIENT | При левел апе util.AddNetworkString("LVL.RequestUpgrade") -- CLIENT > SER...
--[[ module: Client author: DylanYang time: 2021-02-24 21:38:56 idea: advance: ]] local CompositeEntity = require("patterns.j2ee.compositeEntity.CompositeEntity") local _M = Class("Client") local public = _M.public _M.compositeEntity = nil function _M:ctor() self.compositeEntity = Composi...
local sin = math.sin local cos = math.cos local floor = math.floor local PI2 = math.pi * 2 local LEDS = 150 local function mktab(f) local t = {} for i = 0, 255 do local x = i / 255 local v = f(x) t[i] = v end return t end local function wrtab(t) return "{[0]="..t[0]..",".....
INDEX_TITLE = "Apache Portable Runtime Documentation" LANGUAGE = "cpp" ML_PARAM_LIST_COUNT_THRESHOLD = 1 ML_SPECIFIER_MODIFIER_LIST = true ESCAPE_ASTERISKS = true ESCAPE_TRAILING_UNDERSCORES = true VERBATIM_TO_CODE_BLOCK = "none" HEADING_TO_RUBRIC = true
local schema = require "kong.plugins.magalu-tdc.schema" describe("Test Schema", function() it("should initialize schema correctly", function() assert.is_true(schema.no_consumer) assert.not_nil(schema.fields.add_magalu_header) assert.is_equal(schema.fields.add_magalu_header.type, "boolean") ...
slot2 = "BaseGameAniamtionView" BaseGameAniamtionView = class(slot1) BaseGameAniamtionView.ctor = function (slot0, slot1, slot2) slot0._tweeningConfigs = slot1 or {} slot0._try2Put2PoolFuc = nil slot5 = slot0._tweeningConfigs for slot6, slot7 in ipairs(slot4) do if not slot7.toPos then slot12 = slot7.node ...
local lazy = require("bufferline.lazy") --- @module "bufferline.utils" local utils = lazy.require("bufferline.utils") --- @module "bufferline.constants" local constants = lazy.require("bufferline.constants") local M = {} local api = vim.api local fn = vim.fn local fmt = string.format local log = utils.log local visib...
local opts = { noremap = true, silent = true } local term_opts = { silent = true } local keymap = vim.api.nvim_set_keymap -- Shorten function name keymap("", "<Space>", "<Nop>", opts) vim.g.mapleader = " " vim.g.maplocalleader = " " -- Modes -- normal_mode = "n", -- insert_mode = "i", -- visual_mode =...
--- -- Main client file with drawing and calculating. -- -- @author driver2 -- @copyright 2009-2010 driver2 -- -- Recent changes: -- 2010-02-09: Made GUI-key a setting in defaultSettings.lua, added help to radio buttons, replaced "infocenter" with "gamecenter" -- 2018-02/03: Added optional zoom, added some commands, fi...
-- Natural Selection 2 Competitive Mod -- Source located at - https://github.com/xToken/CompMod -- lua\CompMod\Structures\Marine\PowerPoint\shared.lua -- - Dragon -- Things are always powered. function PowerConsumerMixin:GetIsPowered() return true end -- Prevent minimap blip? local oldMapBlipMixinGetMapBlipInfo ...
giant_horned_krevol = Creature:new { objectName = "@mob/creature_names:giant_horned_krevol", socialGroup = "krevol", faction = "", level = 11, chanceHit = 0.28, damageMin = 90, damageMax = 110, baseXp = 430, baseHAM = 810, baseHAMmax = 990, armor = 0, resists = {15,15,0,0,0,0,0,-1,-1}, meatType = "meat_ins...
---------------------------------------------------------------------------------------------------- -- -- Copyright (c) Contributors to the Open 3D Engine Project. -- For complete copyright and license terms please see the LICENSE at the root of this distribution. -- -- SPDX-License-Identifier: Apache-2.0 OR MIT -- --...
-- Pulse wave. local SoundUnit = require((...):gsub('[^.]*$', '') .. 'soundunit') local function process (t, v) return v < t.width and -1 or 1 end return function (t) t = SoundUnit(t) t.process = process t.width = t.width or 0 return t end
-- local function data(file, tag, names, stripFunc, postFunc) local parser = require "otherData.featParser" local names = { "Musician", "Musical Ability", "Mt%. Moon Blues", "Cacophony", "Noise Complaint", "Voice Lessons", "Power Chord" } local m = string.match local secParser = require "otherData.util_section...
local mod = get_mod("Gib") local pl = require'pl.import_into'() mod.localizations = mod.localizations or pl.Map() mod.localizations:update({ mod_description = { en = "Tweak some gib and ragdoll values." }, }) return mod.localizations
require('constants') require('class') Allocator = class(function(self) -- map of key -> block_index self.size_index = {} -- array[block_index] -> {size={10, 10}, left_x=0, next_index=0, free_indices={}} self.size_blocks = {} end) local floor = math.floor -- factories are stored as rows of constants.f...
C_Soulbinds = {} ---@param soulbindID number ---[Documentation](https://wow.gamepedia.com/API_C_Soulbinds.ActivateSoulbind) function C_Soulbinds.ActivateSoulbind(soulbindID) end ---@param soulbindID number ---@return boolean result ---@return string? errorDescription ---[Documentation](https://wow.gamepedia.com/API_C...
--[[ Expression 2 Compiler for Garry's Mod Andreas "Syranide" Svensson, me@syranide.com ]] AddCSLuaFile() Compiler = {} Compiler.__index = Compiler function Compiler.Execute(...) -- instantiate Compiler local instance = setmetatable({}, Compiler) -- and pcall the new instance's Process method. return pcall(...
--[[ Logger: a simple class to log symbols during training, and automate plot generation #### Slightly modified from optim.Logger to allow appending to logs #### Example: logger = Logger('somefile.log') -- file to save stuff for i = 1,N do -- log some symbols during ...
-- Translated by Type 100 translate.AddLanguage("ru", "Russian") -- Lobby stuff LANGUAGE.character = "Персонаж" LANGUAGE.load_config = "Загрузить Конфиг" LANGUAGE.name = "Имя" LANGUAGE.mute = "Заглушить" LANGUAGE.customize_player ...
game:DefineFastFlag("InGameMenuFullscreenTitleBar", false) return function() return game:GetFastFlag("InGameMenuFullscreenTitleBar") end
function love.load() lg = love.graphics rand = love.math.random lg.setDefaultFilter("nearest", "nearest") lg.setLineStyle("rough") img_one = lg.newImage("assets/1.png") img_two = lg.newImage("assets/2.png") img_three = lg.newImage("assets/3.png") Physics = require("physics")...
BEACON.Label = nil BEACON.Sprite = Gram.BeaconTextureID("be_circle") BEACON.Color = Color(255,50,50) BEACON.Size = 10 BEACON.ShouldPoll = true BEACON.ShouldRemain = false BEACON.ScaleDependent = false BEACON.CanDiminish = false BEACON.CanRotate = false BEACON.ShowViewDirection = false function BEACON:OnInitialize() ...
-- Part of BioLua by SweetPalma, 2017. All rights reserved. -- 2bit parser interface: local Parser = (require 'biolua.parser.common'):extend {__name = 'Twobit'} -- Internal: Turn list of bytes to int: function bytes_to_int(b1, b2, b3, b4) local n = (b1) + (b2 * 256) + (b3 * 65536) + (b4 * 16777216) n = (n > 2147483...
local allowCountdown = false function onStartCountdown() if not allowCountdown and isStoryMode and not seenCutscene then --Block the first countdown startVideo('Cutscene3Subtitles'); allowCountdown = true; return Function_Stop; end return Function_Continue; end function onEndSong() if isStoryMo...
object_building_mustafar_terrain_must_rock_spire_smooth_01 = object_building_mustafar_terrain_shared_must_rock_spire_smooth_01:new { } ObjectTemplates:addTemplate(object_building_mustafar_terrain_must_rock_spire_smooth_01, "object/building/mustafar/terrain/must_rock_spire_smooth_01.iff")
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false) IceCustomCDBar = IceCore_CreateClass(IceBarElement) local IceHUD = _G.IceHUD local validDisplayModes = {"Always", "When ready", "When cooling down", "When targeting"} local validBuffTimers = {"none", "seconds", "minutes:seconds", "minutes"} local AuraIconW...
local USE_HEAD_LOCKED_WORKAROUND = true local THIRD_PERSON_ZOOM = 10 local Workspace = game:GetService("Workspace") local Players = game:GetService("Players") local VRService = game:GetService("VRService") local ThirdPersonCamera = {} function ThirdPersonCamera:Enable() self.FetchInitialCFrame = true end fun...
--// Services local SignalsService = require(game:GetService('ReplicatedStorage'):FindFirstChild('SignalsService')) --// Signals local Adder = SignalsService.new('Adder') --// Functions Adder:Connect(function(A, B) print(A..' + '..B..' = '..A + B) end)
set_xmakever("2.6.3") add_defines("ROOT") set_project("Thermite-Lang") set_version("0.0.1", {build = "%Y%m%d%H%M"}) set_toolchains("clang") set_languages("c17", "gnu++20") if is_mode("debug") then add_defines("DEBUG") end if is_mode("debug") then add_defines("DEBUG") set_symbols("debug") set_optimize...
--- This class defines a popup window to create new map. -- @classmod Widget.NewMap local Suit = require "libs.suit" local Class = require "libs.hump.class" local NewMap = {} NewMap.__index = NewMap -------------------------------------------------------------------------------- --- Creates a new widget object. -- ...
function onCreate() addCharacterToList('icon-bfv2', 'boyfriend'); addCharacterToList('bf', 'boyfriend'); end function onUpdate(elapsed) if getProperty('health') >= 1.6 then triggerEvent('Change Character', 0, 'bf11'); else if getProperty('health') < 1.6 then triggerEvent('Change Character', 0, 'bf'); end end end
---@meta ---#DES 'string' ---@class stringlib string = {} ---#DES 'string.byte' ---@param s string ---@param i? integer ---@param j? integer ---@return integer ---@return ... ---@nodiscard function string.byte(s, i, j) end ---#DES 'string.char' ---@param byte integer ---@param ... integer ---@return string ---@retu...
wifi.setmode(wifi.STATION) station_cfg={} station_cfg.ssid="YOUR_SSID" station_cfg.pwd="PASSWORD" station_cfg.save=true wifi.sta.config(station_cfg) -- Initialize variables firstrun=true ethrate=0 ethchange=0 offset=0 counter=0 ethrateoffline=false pooloffline=false -- Run getrates.lua every 60 seconds tmr.alarm(0, 600...
--------------------------------------------------------------------------- -- -- Helper functions used to compute geometries. -- -- When this module refer to a geometry table, this assume a table with at least -- an *x*, *y*, *width* and *height* keys and numeric values. -- -- @author Julien Danjou &lt;julien@danjou.i...
return { name = "gsick/crazy-snail", version = "0.0.1", description = "Real-Time Luvit module based on Redis", author = "Gamaliel Sick", homepage = "https://github.com/gsick/crazy-snail", files = { "*.lua", "libs/$OS-$ARCH/*", "!src", "!tests" } }
-- @Author: EdmanWang -- @Date: 2018-10-16 20:59:37 -- @Last Modified by: EdmanWang -- @Last Modified time: 2018-10-17 18:45:10 --[[- static LabelBMFont * create(const std::string& str, -- 显示的文本 const std::string& fntFile, -- 文本的fnt文件 --...
local util = require('util') local gpio = require('devices/hal/gpio') local await = util.await local pin = arg[1] or 40 local out = arg[2] or 0 local ret, err = util.async(function() local gpio0 = gpio(pin) console.log(gpio0) --assert(false, 'test assert') local err = await(gpio0.open, gpio0) --assert(fals...
xivopeners_gnb = {} xivopeners_gnb.supportedLevel = 80 xivopeners_gnb.openerAbilities = { KeenEdge = ActionList:Get(1, 16137), BrutalShell = ActionList:Get(1, 16139), BurstStrike = ActionList:Get(1, 16162), SolidBarrel = ActionList:Get(1, 16145), GnashingFang = ActionList:Get(1, 16146), Jugular...
require("lang.Signal") local ServiceLocator = require("heroin.ServiceLocator") -- Dummy classes local MyClass = Class() function MyClass.new(self) end local SameClass = Class() function SameClass.new(self) local id function self.init(i) id = i end function self.getId() return id en...
dofile("/usr/local/freeswitch/scripts/utils.lua") function isready(session, line, logfile,call_uuid,this_call_caller_id) if (not (session:ready() ) ) then stamp("HANGUP: SESSION NOT READY at LINE: "..line.."\n",whichline(),logfile,call_uuid,this_call_caller_id) freeswitch.consoleLog("WARNING","The End (http...
local libprefix, libsubfix local envvalue = os.getenv( "os"); if nil ~= envvalue then local pos = string.find( string.lower( envvalue), "windows") if nil ~= pos then libprefix = "" libsubfix = ".dll" else print( "error, unknow os :", envvalue) return nil end else local pf = io....
events.trigger{ spawn = function(self, event) self:setTimer(500) end, collision = function(self, event) local collider = event:getCollider() if not common.isPlayer(collider) then common.damage(collider, 1) self:setGarbage() end end, timer = f...
object_tangible_loot_creature_loot_collections_space_capacitor_mark_04_koensayr = object_tangible_loot_creature_loot_collections_space_shared_capacitor_mark_04_koensayr:new { } ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_space_capacitor_mark_04_koensayr, "object/tangible/loot/creature/l...
object_tangible_collection_rare_pistol_tchotchee = object_tangible_collection_shared_rare_pistol_tchotchee:new { gameObjectType = 8211,} ObjectTemplates:addTemplate(object_tangible_collection_rare_pistol_tchotchee, "object/tangible/collection/rare_pistol_tchotchee.iff")
--[[*]]-- RotatorsLib --[[*]]-- require "rLib" rLib.Squares = {} function rLib.Squares.GetClosestTo(targetSquare, squares) local closest = nil local closestDist = 1000000 for _,square in ipairs(squares) do local dist = IsoUtils.DistanceTo(targetSquare:getX(), targetSquare:getY(), square:getX() + 0.5, square:get...
ModifyEvent(-2, 35, 1, 1, -1, -1, -1, 8246, 8246, 8246, -2, -2, -2); ModifyEvent(-2, 36, 1, 1, -1, -1, -1, 8248, 8248, 8248, -2, -2, -2); ModifyEvent(-2, 37, 1, 1, -1, -1, -1, 8250, 8250, 8250, -2, -2, -2); ModifyEvent(-2, 38, 1, 1, -1, -1, -1, 8252, 8252, 8252, -2, -2, -2); jyx2_ReplaceSceneObject("", "NPC/nanxian", "...
cc = cc or {} ---RotateBy object ---@class RotateBy : ActionInterval local RotateBy = {} cc.RotateBy = RotateBy -------------------------------- ---@overload fun(float, float, float):bool ---@overload fun(float, float):bool ---@overload fun(float, vec3_table):bool ---@param duration float ---@param deltaAngleZ_X float...
-- -- @Project: FiveM Tools -- @Author: Samuelds -- @License: GNU General Public License v3.0 -- @Source: https://github.com/FivemTools/ft_libs -- -- -- Get all peds -- function GetPeds() return GetEntities(FindFirstPed, FindNextPed, EndFindPed) end -- -- Get ped in direction -- function GetPedInDirection(range) ...
local love = require("love") assert(love, "love module required") local m = love.audio or {} love.audio = assert(m) -- module internal data local internaldata = {} internaldata.volume = 0 -- is 0 is a valid ? doc told between 0.0f and 1.0f. m.getNumSources = TODO m.getOrientation = TODO m.getPosition = TODO m.getV...
-------------------------------- -- @module TransitionProgressRadialCW -- @extend TransitionProgress -- @parent_module cc -------------------------------- -- -- @function [parent=#TransitionProgressRadialCW] create -- @param self -- @param #float t -- @param #cc.Scene scene -- @return TransitionProgress...
local pn = GAMESTATE:GetEnabledPlayers()[1] local song = GAMESTATE:GetCurrentSong() local steps = GAMESTATE:GetCurrentSteps(pn) local stepsType = steps:GetStepsType() local scoreList = {} local maxItems = 10 local maxPages = math.ceil(#scoreList/maxItems) local curPage = 1 local inDetail = false local transitioning =...
local Name, Addon = ... local L = LibStub("AceLocale-3.0"):GetLocale(Name) local AceGUI = LibStub("AceGUI-3.0") local Comm, Inspect, Item, Options, Session, Roll, Trade, Unit, Util = Addon.Comm, Addon.Inspect, Addon.Item, Addon.Options, Addon.Session, Addon.Roll, Addon.Trade, Addon.Unit, Addon.Util local Self = Addon.G...
--工具包引入 require "lv_kit" local scrW, scrH= System:screenSize() webView = WebView(); webView:frame(20,20,300,500 ); webView:loadUrl("http://www.taobao.com"); webView:callback{ onPageStarted = function() print("[webview] onPageStarted"); end, onPageFinished = function() print("[webview] onPageFinishe...
function update(elapsed) if distractions == 0 then return end local currentBeat = (songPos / 1000)*(bpm/60) for i=0,7 do setActorX(_G['defaultStrum'..i..'X'] + 64 * math.sin((currentBeat + i*0.5) * math.pi), i) end camHudAngle = 32 * math.sin((currentBeat * 0.5)*math.pi) end
--time within the game --also manages day and night cycles easier than the default api if GameTime == nil then GameTime = class ({}) end --the time since the game mode has entered the pregame (doesn't count paused time) function GameTime:SinceStart() return GameRules:GetGameTime() end --time since the clock hit zer...
BLT.FileManager = {} local fm = BLT.FileManager local PreScriptData = Hooks:Register("BLTPreProcessScriptData") local PostScriptData = Hooks:Register("BLTProcessScriptData") fm.process_modes = { merge = function(a1, a2) return table.merge(a1, a2) end, script_merge = function(a1, a2) return table.script_merge(a1, a2) ...
local format_value = require 'mach.format_value' return function(args) local arg_strings = {} for i = 1, args.n do table.insert(arg_strings, format_value(args[i])) end return '(' .. table.concat(arg_strings, ', ') .. ')' end
Config = {} Config.DrawDistance = 100.0 Config.MarkerType = 1 Config.MarkerSize = { x = 1.5, y = 1.5, z = 0.5 } Config.MarkerColor = { r = 50, g = 50, b = 204 } Config.EnablePlayerManagement = true Config.EnableArmoryManagemen...
object_building_general_landing_pad_smuggler_01 = object_building_general_shared_landing_pad_smuggler_01:new { } ObjectTemplates:addTemplate(object_building_general_landing_pad_smuggler_01, "object/building/general/landing_pad_smuggler_01.iff")
-- Source: lua.org? local base64 = {} local b = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' function base64.encode(data) return ((data:gsub('.', function(x) local r, b = '', x:byte() for i = 8, 1, -1 do r = r .. (b % 2 ^ i - b % 2 ^ (i - 1) > 0 and '1' or '0') end return r...
local ENV = env GLOBAL.setfenv(1, GLOBAL) local AddRecipe = ENV.AddRecipe -- 黑宝石 -- AddRecipe("civi_darkgem", {Ingredient("purplegem", 1),Ingredient("nightmarefuel", 4)}, RECIPETABS.REFINE, TECH.NONE, nil, nil, nil, nil, "nightmaregem", nil, "darkgem.tex",nil,"darkgem") AllRecipes["civi_darkgem"].sortkey = AllRecipes[...
local t = LoadFallbackB() t[#t+1] = StandardDecorationFromFile("Version","Version") --if Endless mode didn't get a chance to clean up after itself properly, --ComboContinuesBetweenSongs will still be set. IMO it's not commonly used enough --that just forcing it off will be a problem. Maybe it could be a theme pref. i...
--- @class OutputSpec one blueprint output specification --- @field crafting_speed number speed --- @field unit number crafting speed unit multiplier, with item/s as 1 --- @field ingredient string recipe name of specification --- @class GuiRootChildrenNames --- @type GuiRootChildrenNames local GuiRootChildrenNames = {...
-- This file is part of the SAMP.Lua project. -- Licensed under the MIT License. -- Copyright (c) 2016, FYP @ BlastHack Team <blast.hk> -- https://github.com/THE-FYP/SAMP.Lua local ffi = require 'ffi' local utils = {} function utils.decompress_health_and_armor(hpAp) local hp = math.min(bit.rshift(hpAp, 4) * 7, 100) ...
CloneClass( FPCameraPlayerBase ) Hooks:RegisterHook("FPCameraPlayerBaseOnSpawnMeleeItem") function FPCameraPlayerBase.spawn_melee_item( self ) self.orig.spawn_melee_item( self ) Hooks:Call( "FPCameraPlayerBaseOnSpawnMeleeItem", self, self._melee_item_units ) end Hooks:RegisterHook("FPCameraPlayerBaseStanceEnteredC...
local client = mqtt.Client("thiagola92", 120) function connected_callback (client) print("connected_callback") end function failed_callback(client, reason) print("failed_callback(" .. reason .. ")") end client:connect("test.mosquitto.org", 1883, 0, connected_callback, failed_callback)
------------ -- Uncomplicated Desktop for OpenComputers. -- - [Homepage](https://github.com/quentinrossetti/undesk) -- - [API documentation](https://quentinrossetti.github.io/undesk) -- @module undesk.Bar -- @license ICS -- @copyright 2020 Quentin Rossetti <code@bleu.gdn> local class = require("30log") local Bar = c...
local PLAYER = FindMetaTable("Player") --locals local fl_PLAYER_IsAdmin = PLAYER.IsAdminX_Pyrition or PLAYER.IsAdmin local fl_PLAYER_IsSuperAdmin = PLAYER.IsSuperAdminX_Pyrition or PLAYER.IsSuperAdmin --globals PLAYER.IsAdminX_Pyrition = fl_PLAYER_IsAdmin PLAYER.IsSuperAdminX_Pyrition = fl_PLAYER_IsSuperAdmin --glob...
local DB = require "kong.db" local helpers = require "spec.helpers" -- TODO: make those tests run for all supported databases describe("kong.db.init", function() describe(".new()", function() it("errors on invalid arg", function() assert.has_error(function() DB.new() end, "missing kong_...
DiscordMute = DiscordMute || {} DiscordMute.Config = DiscordMute.Config || {} -- Discord Bot endpoint. DiscordMute.Config.Endpoint = "http://localhost:6000" -- List of Steam IDs associated with Discord ID. DiscordMute.Config.Players = { ["steamid"] = "discordid" } function DiscordMute:HTTP(strURL, strMethod, tb...
-- Crafting recipes for materials minetest.register_craftitem("pipeworks:oil_extract", { description = "Oil extract", inventory_image = "basic_materials_oil_extract.png", }) minetest.register_craftitem("pipeworks:paraffin", { description = "Unprocessed paraffin", inventory_image = "basic_materials_paraffin.png", ...
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]] require("lualib_bundle"); __TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["5"] = 3,["6"] = 3,["7"] = 4,["8"] = 4,["9"] = 5,["10"] = 5,["11"] = 6,["12"] = 6,["13"] = 8,["17"] = 9,["20"] = 10,["23"] = 11,["26"] = 12,["29"] = 8,["30"] = 8,["3...
-- TAS configuration local play = require('configuration/play') -- Paths configuration local paths = require('configuration/paths') -- ## Current TAS category assigned ? local currentTas = play['currentTas'] if not currentTas then console.clear() console.log('>>> The value of "currentTas" has to be set in "con...
local GameManager = Ballance2.Services.GameManager local Log = Ballance2.Log function CoreDebugLuaEntry() end function CoreDebugEmptyEntry() Log.D('Debug', 'Enter CoreDebugEmptyEntry! ') end
ITEM.name = "Acetaminophen" ITEM.model = "models/Items/BoxFlares.mdl" ITEM.width = 1 ITEM.height = 1 ITEM.desc = "Painkiller." ITEM.category = "Medical" ITEM.heal = 0 ITEM.uses = 1 ITEM.reps = 5 ITEM.bandage = false ITEM.functions.Use = { onRun = function(item) return end }
---@class RadioScript.ExitOption : zombie.radio.scripting.RadioScript.ExitOption ---@field private scriptname String ---@field private chance int ---@field private startDelay int RadioScript_ExitOption = {} ---@public ---@return int function RadioScript_ExitOption:getChance() end ---@public ---@return int function Ra...
--[==[ Yaml parser implemented in pure Lua (The MIT License) Copyright (c) 2017 Dominic Letz dominicletz@exosite.com 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, includ...
-- Some utility stuff require 'utils'
---@brief [[ --- Telescope-hop.nvim allows you to fully configure the default options for |telescope-hop.actions|. ---@brief ]] ---@tag telescope-hop.setup -- config table named `telescope_hop` for more suitable docgen local telescope_hop = {} --- Setup function for |telescope-hop.nvim|. --- - Notes: --- - `trac...
ENT.Type = "anim" ENT.PrintName = "Container" ENT.Category = "Helix" ENT.Spawnable = false ENT.bNoPersist = true function ENT:SetupDataTables() self:NetworkVar("Int", 0, "ID") self:NetworkVar("Bool", 0, "Locked") self:NetworkVar("String", 0, "DisplayName") end if (SERVER) then function ENT:Initiali...
Config.PoliceEvidence = vector3(474.2242, -990.7516, 26.2638) -- /evidence # while near this point Config.Stashes = { --{ coords = vector3(474.2242, -990.7516, 26.2638), slots = 71, name = 'Police Evidence', job = 'police' }, using command instead { coords = vector3(301.4374, -599.2748, 43.2821), slots = 71, name = ...
--[[-------------------------------------------------------------------- PhanxChat Reduces chat frame clutter and enhances chat frame functionality. Copyright (c) 2006-2018 Phanx <addons@phanx.net>. All rights reserved. https://www.wowinterface.com/downloads/info6323-PhanxChat.html https://www.curseforge.com/wow/a...
-- =========================================================================== -- Cached Base Functions -- =========================================================================== BASE_CQUI_AddLeader = AddLeader; -- =========================================================================== -- CQUI Members -- =====...
--- -- ODBC connector for Lua-DBI library -- local odbc = require "odbc" local DBD_ODBC_CONNECTION = "DBD.ODBC.Connection" local DBD_ODBC_STATEMENT = "DBD.ODBC.Statement" local Connection, Statement local function odbc_error(err) return err and tostring(err) or nil end local function odbc_return(ok, ...) if n...
if global.portal == nil then global.portal={} end -- Enforce a square of land, with a tree border -- this is equivalent to the CreateCropCircle code function CreateCropOctagon(surface, centerPos, chunkArea, landRadius, treeWidth, moatWidth) local config = spawnGenerator.GetConfig() local dirtTiles = {} ...
rori_easy = { lairSpawns = { { lairTemplateName = "rori_gundark_hooligan_camp_neutral_medium_theater", spawnLimit = -1, minDifficulty = 4, maxDifficulty = 8, numberToSpawn = 0, weighting = 15, size = 25 }, { lairTemplateName = "rori_narmle_guard_camp_neutral_medium_theater", spawnLimi...
local M = {} local config = require("coverage.config") local Path = require("plenary.path") local report = require("coverage.report") local window = require("plenary.window.float") -- Plenary popup window -- Example format: -- { -- border_bufnr = 25, -- border_win_id = 1020, -- bufnr = 24, -- win_id =...
return { PUBLIC = { ERROR = { Timeout = "timeout" } }, TCP_CLIENT = { maxIdleTimeout = 2 * 60 * 1000, -- ms poolSize = 200, connectTimeout = 5 * 1000, -- ms sendTimeout = 30 * 1000, -- ms readTimeout = 30 * 1000, -- ms addr = "192.2...
EFFECT.Mat1 = Material( "lambda/death_point.vmt" ) function EFFECT:Init( data ) local size = 64 local ply = data:GetEntity() if not IsValid(ply) then self:Remove() end self:SetCollisionBounds( Vector( -size,-size,-size ), Vector( size,size,size ) ) self:SetAngles( data:GetNormal():Angle() + Angle( 0.01, 0.01...
--*********************************************************** --** THE INDIE STONE ** --** Author: turbotutone ** --*********************************************************** require "RadioCom/RadioWindowModules/RWMPanel" ---@class RWMVolume : RWMPanel RWMVolume = RWM...
--[[ A QuestionModule takes two things as input: 1) a lookup-table for word embeddings 1) an LSTM cell network for encoding It first encodes word indices to embeddings and then It encodes the word embeddings into the memory states of the lstm. Returns final memory state of lstm at the end --]] local...
model.dlg={} function model.dlg.refresh() if model.dlg.ui then local sel=simBWF.getSelectedEditWidget(model.dlg.ui) simUI.setColumnCount(model.dlg.ui,10,1) simUI.setColumnWidth(model.dlg.ui,10,0,310,310) model.dlg.tablePalletHandles=model.dlg.populatePalletRepoTabl...
--------------------------------------------------------------------------------------------------- -- Proposal:https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0249-Persisting-HMI-Capabilities-specific-to-headunit.md -- -- Check that SDL suspends of RAI request processing from mobile app until al...
return {'vulgaat','vulgata','vuldop','vuldruk','vulgair','vulgarisatie','vulgarisator','vulgariseren','vulgarisering','vulgarisme','vulgariteit','vulgo','vulgus','vulhaard','vulkaan','vulkaanas','vulkaaneiland','vulkaankrater','vulkaanuitbarsting','vulkachel','vulkanisatie','vulkanisch','vulkaniseren','vulkanisme','vul...
-- This a helper buffer scene. -- It reloads game scene (game scene can't reload by itself) and shows a loading animation. local composer = require('composer') local relayout = require('libs.relayout') local scene = composer.newScene() function scene:create() local _W, _H, _CX, _CY = relayout._W, relayout._H, re...
table.insert( additionalExternalLibraries, "sfml" ) if PsyProjectExternalLib( "sfml", "C++" ) then defines { "SFML_STATIC" , "SFML_SYSTEM_EXPORTS" } configuration "*" kind ( EXTERNAL_PROJECT_KIND ) includedirs { "SFML/include", "SFML/src", "SFML/extlibs/headers/AL", "SFML/extlibs/headers/freetype2", ...
-- supertonic v1.1.0 -- an introspective drum machine -- -- llllllll.co/t/supertonic -- -- -- -- ▼ instructions below ▼ -- -- K2 starts/stops -- K3 toggles hit -- E2 changes track -- E3 changes position in track -- K1+K3 erases track -- (with ai) K1+K3 generates -- (with ai) K1+K2 generates include('lib/p8') mode_d...