content
stringlengths
5
1.05M
local t = Def.ActorFrame{}; if GAMESTATE:GetPlayMode() == "PlayMode_Regular" then t[#t+1] = LoadActor("ColorofBAR.lua")..{ InitCommand=cmd(y,SCREEN_BOTTOM-4); }; end return t;
-- -- mainmenu.lua -- The main menu -- Can control settings and do other neat things -- local Class = require ("src.class") local MainMenu = Class.new () MainMenu.__quads = {} MainMenu.__tileSheet = love.graphics.newImage ("assets/visual/sprites/title.png") MainMenu.__animSpeed = 40 -- REQUIRED MODULES -- local Qu...
object_tangible_loot_creature_loot_collections_broken_lightsaber_hilt_014 = object_tangible_loot_creature_loot_collections_shared_broken_lightsaber_hilt_014:new { } ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_broken_lightsaber_hilt_014, "object/tangible/loot/creature/loot/collections/br...
chatExpress_new= { name="chatExpress_new",type=0,typeName="View",time=0,report=0,x=0,y=0,width=1280,height=720,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignRight, { name="shiled",type=0,typeName="Image",time=113739910,x=466,y=322,width=2,height=2,nodeAlign=kAlignTopLeft,visible=1,fillParentWidth=1...
-- Natural Selection League Plugin -- Source located at - https://github.com/xToken/NSL -- lua/NSL/unstuck/server.lua -- - Dragon --NS2 Unstuck Plugin local UnstuckOriginTracker = { } --Tracks origin of clients in unstuck Queue. local LastUnstuckTracker = { } --Tracks time of clients last successful unstuck. local ...
-- Gui render module local GuiRender = {} function GuiRender.Present(data, width, height) local ImGui = ImGuiLib local GdbData = GdbData local ExecuteCmd = function(cmd) if SendToGdb(cmd) then return ReadFromGdb() end end local PrintFrame = function(a,b) print(b) end local buttons = { { id = "Refres...
----------------------------------- -- Area: Northern San d'Oria -- NPC: Lotine -- Type: Standard Info NPC -- !pos -137.504 11.999 171.090 231 ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) local rand = math.random(1,2); if (rand == 1) then ...
local t = require "test.luaunit" function test_response() local response = require "shiori.response" local X = response.join do local exp = X( "SHIORI/3.0 200 OK", "Charset: UTF-8", "Value: ほにゃららら") local act = response.talk(os.time(), "ほにゃら...
if SERVER then E2Lib.RegisterExtension("bsu", false, "BSU E2 functions (W.I.P, dev functions)", "this extension has unrestricted access to functions that you should, under no circumstance, let the server go public with!") e2function vector bsuGetPlayerColor(entity player) if player:IsValid() then local co...
bodyModel = Model("body.fbx", true, true) rotSpeed = 0.1 bodymats={ sun={ { diffuse=Material("sun_albedo.jpg") } }, earth={ { diffuse=Material("earth_albedo.jpg"), spec=Material("earth_spec.jpg"), normal=Material("earth_normal.jpg") ...
ngx.say("Hello, World!")
--[[ liter v0.1.0 https://github.com/ok-nick/liter ]] -- This is really weird, but unfortunately with how Lua imports work, it is -- necessary to avoid circular dependencies. Maybe there is a better design? local Iterator = require(script.Iterator) setmetatable(Iterator, require(script.Impl)) local Source...
--[[ This menu system is intended to be used in place of the default DropDownMenu. Instead of building menus on the fly, menus are pre-made tables with functions to fetch run-time values. To use: 1) Once per session, register a menu table with rematch:RegisterMenu("name",table) 2) If a petID or team key being acte...
local ts_utils = require "nvim-treesitter.ts_utils" local ts_query = require "nvim-treesitter.query" local parsers = require "nvim-treesitter.parsers" local locals = require "nvim-treesitter.locals" local M = {} local query_func = [[((function_declaration name: (identifier)@function.name) @function.declaration)]] loc...
include( "shared.lua" ) include( "cl_scoreboard.lua" ) include( "cl_targetid.lua" ) include( "cl_hudpickup.lua" ) include( "cl_spawnmenu.lua" ) include( "cl_deathnotice.lua" ) include( "cl_pickteam.lua" ) include( "cl_voice.lua" ) --[[--------------------------------------------------------- Name: gamemode:Initializ...
local lsp_installer = require 'nvim-lsp-installer' -- https://github.com/williamboman/nvim-lsp-installer#available-lsps local servers = { sumneko_lua = require 'lsp.lua', tsserver = false, html = false, cssls = false, jsonls = false } for name, _ in pairs(servers) do local server_is_found, server = lsp_in...
-- Copyright 2004-present Facebook. All Rights Reserved. local sparse = require 'sparse' --[[ This module performs a sparse embedding with the following process: 1. Perform a dense embedding 2. Apply a linear transformation (to high dimensional space) 3. Make the output k-sparse The parameters of the dense embeddin...
--[[ Copyright (C) 2020 The DMLab2D Authors. 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
local makeNumberRange = require("rbx_lua_types").NumberRange.new local datatype = {} datatype.name = "NumberRange" datatype.id = 0x17 function datatype.default() return makeNumberRange(0, 0) end function datatype.reader(stream, count) local ranges = {} for i = 1, count do ranges[i] = makeNumber...
--[[ Example lua virus ]] local a = 1 --[[Please note that this is here to demonstrate the compress function]] print(src .. "\n", a, "test") print(b(34567890))
local ClientConnectionManager = require "me.strangepan.games.mazerino.client.ClientConnectionManager" local NetworkGame = require "me.strangepan.games.mazerino.common.NetworkGame" local Camera = require "me.strangepan.games.mazerino.common.Camera" local CommandMap = require "me.strangepan.games.mazerino.common.CommandM...
-- local api = vim.api local level = vim.log.levels local m = {} --[[ Log a message. @param message → message to display @param highlight_group → highlight group to colorize the message @param name → prepend the message with a name --]] m.log = function (message, log_level, name) ...
--test_alarm_periodic.lua --package.path = package.path..";../?.lua" --local Kernel = require("kernel"){exportglobal = true}; --local Alarm = require("alarm")(Kernel, true) --local Clock, timespec = require("clock") local c1 = Kernel.Clock(); local function haltAfterTime(nsecs) local function closure() print("REA...
-- accountd.lua -- Created by wugd -- 负责玩家相关的功能模块 -- 声明模块名 ACCOUNT_D = {} setmetatable(ACCOUNT_D, {__index = _G}) local _ENV = ACCOUNT_D -- 创建弱引用表 local account_list = {} setmetatable(account_list, { __mode = "v" }) -- 冻结玩家数据,在保存数据的过程中不允许用户登陆 local account_freeze_list = {} -- 所有的账号登陆的信息情况 local account_online_list ...
-- How many seconds your exo remains exclusive after you eject local NSLExoLockoutTime = 0.5 function Exosuit:OnOwnerChanged(prevOwner, newOwner) if not newOwner or not (newOwner:isa("Marine") or newOwner:isa("JetpackMarine")) then self.resetOwnerTime = Shared.GetTime() + 0.1 else self.resetOw...
-- luacheck: ignore --This script is executed in conjuction with the wrk benchmarking tool via demo.sh math.randomseed(os.time()) -- Generate PRNG seed local rand = math.random -- Cache random method -- Get env vars for consumer and api count or assign defaults local consumer_count = os.getenv("KONG_DEMO_CONSUMER_COUN...
local PANEL = {} function PANEL:Init() self.base = nil local deleteText = self:Add("DLabel") deleteText:SetText("Are you sure you want to delete this spawn point?") deleteText:Dock(TOP) local acceptBtn = self:Add("DButton") acceptBtn:SetText("Delete") acceptBtn:SetTall(40) acceptBtn:Dock(BOTTOM) acceptBtn.DoC...
function lovr.load() models = { left = lovr.headset.newModel('hand/left'), right = lovr.headset.newModel('hand/right') } end function lovr.draw() for hand, model in pairs(models) do if lovr.headset.isTracked(hand) then model:draw(mat4(lovr.headset.getPose(hand))) end end end
-- Team Service -- pobammer -- August 4, 2020 local Players = game:GetService("Players") local Teams = game:GetService("Teams") local ConfigurationModule local DisplayService local TableUtil local TeamService = {Client = {}} local TeamPlayers = {} local TeamScores = {} local RandomLib: Random local function GetTe...
-- luacheck: globals nnoremap inoremap -- -- split navigations nnoremap('<C-J>', '<C-W><C-J>') nnoremap('<C-K>', '<C-W><C-K>') nnoremap('<C-L>', '<C-W><C-L>') nnoremap('<C-H>', '<C-W><C-H>') nnoremap('<M-h>', '<C-w>H') nnoremap('<M-j>', '<C-w>J') nnoremap('<M-k>', '<C-w>K') nnoremap('<M-l>', '<C-w>L') -- split resize...
Script.ReloadScript("scripts/Weather/common.lua"); --[[ --------------------- HELP -------------------- Seperate maps can use alternative weather_<mapname>.lua setups. Available weather patterns (must total 100%): HELP: Enter wm_startPattern (without parameters) -> get all weather numbers/names and c...
slot0 = class("GuildDynamicBgShip") slot0.Ctor = function (slot0, slot1) slot0.id = slot1.id slot0._go = slot1.go slot0._tf = tf(slot0._go) slot0.parent = slot0._tf.parent slot0.spineAnimUI = slot0._go:GetComponent("SpineAnimUI") slot0.path = slot1.path slot0.speed = 1 slot0.stepCnt = 0 slot0.scale = slot0._t...
--- @module HallMgr --- @copyright Lilith Games, Avatar Team --- @author Yuchen Wang local HallMgr, this = ModuleUtil.New('HallMgr', ClientBase) ---范围检测的高度限制 local RANGE_HIGH = 10 ---初始化 function HallMgr:Init() self.requireNum = Config.GlobalConfig.PlayerNum self.root = world:CreateInstance('HallGUI', 'HallGU...
code = [[ print("Hello World") ]] hi = loadstring(code) hi()
object_tangible_loot_npc_loot_spice_neutron_pixey_generic = object_tangible_loot_npc_loot_shared_spice_neutron_pixey_generic:new { } ObjectTemplates:addTemplate(object_tangible_loot_npc_loot_spice_neutron_pixey_generic, "object/tangible/loot/npc/loot/spice_neutron_pixey_generic.iff")
require 'luacov' local class = require('30log') local has_lua_5_2_support = (rawlen and type(rawlen) == 'function') local has_lua_5_3_support = (string.unpack and type(string.unpack) == 'function') local Point3D, sPoint3D local garbage, p1, p2 context('Lua 5.1.x metamethods are supported', function() before(funct...
require('torch') require('nn') require('libfbnn') pcall(function() include('Dropout.lua') end) -- because uses async_rng include('UnfoldedTemporalConvolution.lua') include('TemporalConvolutionTBC.lua') include('NestedDropout.lua') include('IndividualDropout.lua') include('CachingLookupTable.lua') include('Optim.lua') ...
gloonz.teams = { }
slot2 = "ChargeCcsView" ChargeCcsView = class(slot1) ChargeCcsView.onCreationComplete = function (slot0) slot0.btnBack = slot0.layWebview.btnBack slot5 = slot0 slot0.model.isShowLoadingChangedSignal.add(slot2, slot0.model.isShowLoadingChangedSignal, slot0.onLoadingChanged) slot5 = slot0 slot0.model.loadingChec...
#!lua includeDirList = { "shared", "shared/gl3w", "shared/imgui", "shared/include", "include" } libDirectories = { "lib" } if os.get() == "macosx" then linkLibs = { "cs488-framework", "imgui", "glfw3", "lua", "lodepng" } end if os.get() == "l...
require('src/dependencies') local ship = nil local asteroids = {} function love.load() math.randomseed(os.time()) love.window.setTitle('Asteroids Clone') love.graphics.setDefaultFilter('nearest') WINDOW_WIDTH, WINDOW_HEIGHT = love.graphics.getDimensions() ship = Ship({x = WINDOW_WIDTH / 2, y = WI...
--------------------------------------------------------------------------------------------------- -- Quest Widget --------------------------------------------------------------------------------------------------- local ADDON_NAME, Addon = ... local ThreatPlates = Addon.ThreatPlates local Widget = Addon.Widgets:NewW...
function table.Filter(tab, callback) local pointer = 1 for i = 1, #tab do if callback(i, tab[i]) then if i != pointer then tab[pointer] = tab[i] tab[i] = nil end pointer = pointer + 1 else tab[i] = nil end end end function table.GetLookup(tab) local ret = {} for _, v in pairs(tab) do ...
function EFFECT:Init( data ) self.Pos = data:GetOrigin() if LocalPlayer():GetPos():Distance( self.Pos ) > 50 or LocalPlayer():Team() == TEAM_STALKER or LocalPlayer():Team() == TEAM_SPECTATOR then return end DisorientTime = CurTime() + 10 ViewWobble = 3.5 MotionBlur = 0.7 Sharpen = 6.5 end function EFFECT:...
require_relative("en/functions.lua") require_relative("en/action.lua") require_relative("en/action_use.lua") require_relative("en/activity.lua") require_relative("en/adventurer.lua") require_relative("en/ai.lua") require_relative("en/autopick.lua") require_relative("en/blending.lua") require_relative("en/blending_reci...
ESX = nil TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) ESX.RegisterServerCallback('han_revive:getConnectedEMS', function(source, cb) local xPlayers = ESX.GetPlayers() local amount = 0 for i=1, #xPlayers, 1 do local xPlayer = ESX.GetPlayerFromId(xPlayers[i]) if xPlayer.job.name == 'ambulanc...
---@class ItemPoolType @enum ItemPoolType = {} --- --- -1 ItemPoolType.POOL_NULL = -1 --- treasure --- --- 0 ItemPoolType.POOL_TREASURE = 0 --- shop --- --- 1 ItemPoolType.POOL_SHOP = 1 --- boss --- --- 2 ItemPoolType.POOL_BOSS = 2 --- devil --- --- 3 ItemPoolType.POOL_DEVIL = 3 --- angel --- --- 4 ItemPoolType.POOL_A...
require("ui/node"); ListView3D = class(Node); ListView3D.eDirection = { LEFT = 1, RIGHT = 2, } ListView3D.ctor = function(self) self:reset(); self:setSize(500, 400); self:setEventDrag(self,self.onEventDrag); end ListView3D.dtor = function(self) end ListView3D.reset = function(self) s...
-- This scripts conducts a heartbeat for a job, and returns -- either the new expiration or False if the lock has been -- given to another node -- -- Args: -- 1) jid -- 2) worker -- 3) now -- 4) [data] if #KEYS > 0 then error('Heartbeat(): No Keys should be provided') end local jid = assert(ARGV[1] ...
require 'def' print(Asset)
-- Copyright (c) Jérémie N'gadi -- -- All rights reserved. -- -- Even if 'All rights reserved' is very clear : -- -- You shall not use any piece of this software in a commercial product / service -- You shall not resell this software -- You shall not provide any facility to install this particular software in a c...
includeFile("custom_content/tangible/deed/pet_deed/serverobjects.lua") includeFile("custom_content/tangible/deed/player_house_deed/serverobjects.lua") includeFile("custom_content/tangible/deed/vehicle_deed/serverobjects.lua")
------------- -- GLOBALS -- ------------- assert(DynamicCam); ------------ -- LOCALS -- ------------ local presets = { ["Vanillalike"] = { author = "mpstark", description = "This is a test description", importString = "dCt2maGEvzxiuABiumteqnBPCte1TvANkAVu7wu)ui0Wu43KUmyOcvnoeqA4ivhuiDyuhtQ...
package.path = "../?.lua;"..package.path; require("p5") local x = 0; function setup() createCanvas(100, 100); noLoop(); end function draw() background(204); line(x, 0, x, height); end function mousePressed() x = x + 1; redraw(); end go()
--[[ Compare the performance of Lua programs that copy the standard input file to the standard output file in the following ways: * byte by byte; * line by line; * in chunks of 8 kB; * the whole file at once; For the last option, how large can be the input file? ]] local modes = { b = function() while true do ...
local Tunnel = module("vrp", "lib/Tunnel") local Proxy = module("vrp", "lib/Proxy") vRP = Proxy.getInterface("vRP") vRPclient = Tunnel.getInterface("vRP", "vRP_Armas") local darArmas = { function(player, choice) vRP.prompt({player, "ID do Jogador:", "", function(player, target) if target ~= nil and target ~= "" t...
object_mobile_npc_dressed_collection_npc_male_ithorian_02 = object_mobile_shared_npc_dressed_collection_npc_male_ithorian_02:new { } ObjectTemplates:addTemplate(object_mobile_npc_dressed_collection_npc_male_ithorian_02, "object/mobile/npc_dressed_collection_npc_male_ithorian_02.iff")
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Rahal -- Involved in Quests: The Holy Crest, Lure of the Wildcat (San d'Oria) -- !pos -28 0.1 -6 233 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); lo...
-- thanks to https://github.com/soumith/imagenet-multiGPU.torch for this example require 'nn' nClasses = 7 local features = nn.Sequential() features:add(nn.SpatialConvolution(3, 96, 11, 11, 4, 4)) features:add(nn.ReLU(true)) features:add(nn.SpatialMaxPooling(2, 2, 2, 2)) features:add(nn.SpatialConvolution(96, 256, 5,...
function Sakai.main() end function Sakai.LaunchDamageSound(_ARG_0_) end
----------------------------------- -- Flyers for Regine ----------------------------------- require("scripts/globals/zone") require("scripts/globals/quests") require("scripts/globals/npc_util") ----------------------------------- quests = quests or {} quests.flyers_for_regine = quests.flyers_for_regine or {} -------...
local stateField = "state" local failRatioField = "failRatio" local circuitField = "circuit" local circuitInfoKey = KEYS[1] local circuitSuccessKey = KEYS[2] local circuitFailureKey = KEYS[3] local circuitKeyToUpdate = KEYS[4] local openCircuitsKey = KEYS[5] local allCircuitsKey = KEYS[6] local requestID = ARGV[1] loc...
local Modules = game:GetService("Players").LocalPlayer.PlayerGui.AvatarEditorInGame.Modules local PurchaseErrors = require(Modules.NotLApp.Enum.PurchaseErrors) return { [PurchaseErrors.NotEnoughRobux] = "CoreScripts.PurchasePrompt.PurchaseFailed.NotEnoughRobux", [PurchaseErrors.PurchaseDisabled] = "CoreScripts.Purch...
class("EvaluateShipCommand", pm.SimpleCommand).execute = function (slot0, slot1) pg.ConnectionMgr.GetInstance():Send(17103, { ship_group_id = slot1:getBody().groupId, context = slot1.getBody().content }, 17104, function (slot0) if slot0.result == 0 then if getProxy(CollectionProxy):getShipGroup(slot0) then ...
if pcall(require,'busted.runner') then require('busted.runner')() else describe = function(_,cb) -- luacheck: ignore cb() end it = function(_,cb) -- luacheck: ignore cb() end end local mode = os.getenv('TESTMODE') if not mode then mode = 'core' end local lib = require('luasodium.' .. mode) local ...
require "classes.constants.screen" DragMeMultitouch={} function DragMeMultitouch:new() local this = display.newGroup() local public = this local private = {} local background = display.newImageRect("img/backgroundEasingExamples.png", 360, 570) local propertiesRectangle = { {x=75, y=135, w=...
require("globals") require("settings") require("mappings") require("plugins") require("lsp") require("ui")
return function(self) self.template = require "resty.template" end
-------------------------------- -- Humanoid arm state -- (c) 2013 Stephen McGill, Seung-Joon Yi -------------------------------- local state = {} state._NAME = ... local Body = require'Body' local util = require'util' local vector = require'vector' local t_entry, t_update, t_finish, t_last_debug local timeout = 1...
local Recount = _G.Recount local Graph = LibStub:GetLibrary("LibGraph-2.0") local AceLocale = LibStub("AceLocale-3.0") local L = AceLocale:GetLocale("Recount") local revision = tonumber(string.sub("$Revision: 1373 $", 12, -3)) if Recount.Version < revision then Recount.Version = revision end local ipairs...
--[[ lol lol --]] for k, v in pairs( file.Find("../materials/decals/flesh/blood*") ) do resource.AddFile("materials/decals/flesh/"..v); end; for k, v in pairs( file.Find("../materials/decals/blood*") ) do resource.AddFile("materials/decals/"..v); end; for k, v in pairs( file.Find("../materials/effects/blood*") ) d...
local MilkAndCookies = require('gameobject'):derive('milkandcookies') local img = require('thesheet') function MilkAndCookies:_init(x,y) require('gameobject')._init(self) self.image = img self.quad = love.graphics.newQuad(0, 0, 18, 18, img:getDimensions()) self.x, self.y = (x or 0), (y or 0) self.w, self.h...
module { name = 'opus', projects = { lib { src = { 'src/*.cpp', pch = 'src/pch.cpp' }, preprocessor = { 'BE_OPUS_IMPL' } } } }
local a a = (x | y) | z a = x | (y | z) a = x ~ y | z a = x | y ~ z a = (x ~ y) ~ z a = x ~ (y ~ z) a = x ~ y | z a = x | y ~ z a = x ~ y & z a = x & y ~ z a = (x & y) & z a = x & (y & z) a = x ~ y & z a = x & y ~ z a = x << y & z a = x & y << z a = x >> y & z a = x & y >> z a = (x << y) << z a = x ...
-- ITS - In The Shadows -- Copyright (C) 2015, 2016, 2017 James Niemira -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ve...
--[[ file:scxzTable.lua desc:四川血战 auth:Carol Luo ]] local class = require("class") local senum = require("scxz.enum") local mjCompetition = require("mahjong.competition") ---@class scxzCompetition:gameCompetition @四川血战 local competition = class(mjCompetition) local this = competition ---构造函数 function c...
local f = require('f') local telescope = require('telescope') local actions = require('telescope.actions') local builtin = require('telescope.builtin') local themes = require('plugins.telescope.themes') local m = {} ---alias builtin functions to export everything from the same ---place. m.autocommands = ...
dofilepath("data:scripts/playerspatch_ships_util.lua") function Create_Vgr_Mothership(CustomGroup, playerIndex, shipID) if playerIndex == Universe_CurrentPlayer() then UI_SetElementVisible("NewResearchMenu", "NonCombat", 0); end end function Update_Vgr_Mothership(CustomGroup, playerIndex, shipID) --SobGroup_C...
ESX = nil local PlayersHarvestingEau = {} local PlayersSellingEau = {} local PlayersHarvestingPain = {} local PlayersSellingPain = {} TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) if Config.MaxInService ~= -1 then TriggerEvent('esx_service:activateService', 'epicerie',...
-- vim: filetype=lua syntax=lua softtabstop=3 tabstop=3 shiftwidth=3 fileencoding=utf-8 smartindent autoindent expandtab -- code: language=lua insertSpaces=true tabSize=3 return function(register, plugin_loader) -- ─── NORMAL ───────────────────────────────────────────────────────────────────── register({ [...
local Collection = require "collections" local collect = Collection --- Dump and die (for debugging purposes) local function dd(value) if type(value) == 'table' then print(Collection:tableToString(value)) elseif type(value) == 'string' then print('"' .. value .. '"') else print(valu...
EditorRuntime = {} EditorRuntime.defines = {} function SetupWxWidgets() wxWidgets = {} wxWidgets.includedirs = { path.join(depsdir,"wxWidgets/include"), } wxWidgets.libdirs = { } wxWidgets.links = { } wxWidgets.defines = { '_LIB', 'WXUSINGDLL', 'WXMONOLITHIC' } defines { wxWidgets.defines } local c =...
nyagos.key.f1 = "next-history" nyagos.key.f2 = "previous-history" nyagos.key.f3 = "history-down" nyagos.key.f4 = "history-up"
-- title: downhill -- author: digitsensitive -- desc: ski downhill as far as possible -- script: lua -- global game settings -------------------------------------------------------- local GS = { GROUND_FRICTION = 0.9, H = 136, HH = 136 / 2, HW = 240 / 2, SCROLL_SPEED = 1, SHAKE_D = 4, W ...
local fn = vim.fn -- Automatically install packer local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim" if fn.empty(fn.glob(install_path)) > 0 then PACKER_BOOTSTRAP = fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path, }) prin...
return { 'nonloop', }
AM_Vehicles = {} --Initializes the vehicle table, don't touch --Template vehicle table --[[ AM_Vehicles[""] = { HornSound = "automod/carhorn.wav", MaxHealth = 100, EnginePos = , Seats = { { pos = , ang = Angle( 0, 0, 0 ) } } } ]]
local players = game.players for i = 1, (#players) do if players[i] and players[i].valid then local inv = players[i].get_main_inventory() if inv and inv.valid then inv.remove("red-wire") inv.remove("green-wire") end end end
mapFields = require "lib/mapFields" target.play_portal_sound_effect() target.field = mapFields.getID("BowmanInstructionalSchool")
local Input = require("base.manager.input") local Camera = require("base.manager.camera") local Scene = require("base.manager.scene") local MenuScene = require("game.scenes.menu") function love.load() Input.mouseVisible(false) Camera.set(640, 480) Scene.push("Menu", MenuScene()) end function love.upda...
local xml = require('xml') local io = require('atf.stdlib.std.io') local module = { timestamp='', script_file_name = '', ndoc = {}, curr_node={}, root = {}, curr_report_name = {}, mt={_index={}} } local escape_lua_pattern do local matches = { ["'"] = "%'"; ["#"] = ""; ["&"] = ""; } ...
return {'opperwezen','oppakken','oppas','oppascentrale','oppasmoeder','oppassen','oppassend','oppassendheid','oppasser','oppasseres','oppassing','oppasster','oppensioenstelling','oppeppen','oppepper','opper','opperarm','opperbaas','opperbest','opperbestuur','opperbevel','opperbevelhebber','opperbevelhebberschap','opper...
----------------------------------------------------- -- MOAI UI -- Copyright (c) 2012-2012 Klei Entertainment Inc. -- All Rights Reserved. local array = require( "modules/array" ) local util = require( "modules/util" ) local mui_widget = require( "mui/widgets/mui_widget" ) local mui_texture = require( "mui/widgets/mu...
-- Difficulty Colours local DiffColors={ color("#88ffff"), -- Difficulty_Beginner color("#ffff88"), -- Difficulty_Easy color("#ff8888"), -- Difficulty_Medium color("#88ff88"), -- Difficulty_Hard color("#8888ff"), -- Difficulty_Challenge color("#888888") -- Difficulty_Edit } -- Difficulty Names. -- https://en.wik...
-- -- Register digiterms nodes for Magic pen -- https://github.com/pyrollo/digiterms -- local nodes = {} for nodename, nodedef in pairs(minetest.registered_nodes) do if nodename:find('^digiterms:') and nodedef.groups and nodedef.groups.display_api then -- Match found, add to registration list table.insert(nodes,...
----------------------------------- -- Ability: Meditate -- Gradually charges TP. -- Obtained: Samurai Level 30 -- Recast Time: 00:03:00 (Can be reduced to 00:02:30 using Merit Points) -- Duration: 00:0015 seconds ----------------------------------- require("scripts/globals/status") ----------------------------------- ...
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire User" ENT.RenderGroup = RENDERGROUP_BOTH ENT.WireDebugName = "User" function ENT:SetupDataTables() self:NetworkVar( "Float", 0, "BeamLength" ) end if CLIENT then return end -- No more client function ENT:Initialize() self:PhysicsIni...
local ICONPATH = "__ToggleSpeedBoost__/graphics/" data:extend({ { type = "sprite", name = "togglespeedboost_off_button", filename = ICONPATH .. "togglespeedboost_off_button.png", flags = { "gui-icon" }, width = 64, height = 64, scale = 0.5, priority =...
g_MinimapDate = { [7] = true, [1] = true, [2] = true, [8] = true, [9] = true, [5] = true, [10] = true, [11] = true, [21] = true, [6] = true, ["ZoomIndex"] = 1, [3] = true, } g_UIPanelAnchorFrameOptions = { ["RaidPartyOptionFrame6"] = { ["y"] = 212, ["x"] = 152, ["point"] = "TOPLEFT", ["relativePoi...
object_tangible_loot_npc_loot_heroic_exar_roots_s01 = object_tangible_loot_npc_loot_shared_heroic_exar_roots_s01:new { } ObjectTemplates:addTemplate(object_tangible_loot_npc_loot_heroic_exar_roots_s01, "object/tangible/loot/npc/loot/heroic_exar_roots_s01.iff")