content
stringlengths
5
1.05M
-- Disable strict for Tarantool. require("strict").off()
-- See LICENSE for terms -- I use the mirror ball thingy to hide my shame if not g_AvailableDlc.contentpack1 then print("Base Walls Needs DLC Installed: Mysteries Resupply Pack (it's free)!") return end local point = point local table_find = table.find local table_iclear = table.iclear local table_rand = table.rand...
/* @library : rlib @docs : https://docs.rlib.io IF YOU HAVE NOT DIRECTLY RECEIVED THESE FILES FROM THE DEVELOPER, PLEASE CONTACT THE DEVELOPER LISTED ABOVE. THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ('CCPL' OR 'LICENSE'). T...
local state = {} state._NAME = ... local Body = require'Body' local t_entry, t_update, t_exit local timeout = 10.0 require'hcm' function state.entry() print(state._NAME..' Entry' ) local t_entry_prev = t_entry t_entry = Body.get_time() t_update = t_entry hcm.get_arm_target() hcm.set_arm_task(2) hcm.se...
AddCSLuaFile() ENT.Type = "anim" ENT.Base = "base_gmodentity" ENT.PrintName = "Grenade_Ent" ENT.Author = "Zenolisk" ENT.Contact = "" ENT.Purpose = "" ENT.Instructions = "" ENT.Spawnable = true ENT.Category = "Rebellion" if SERVER then function ENT:Initialize() -- Boiler plate self.Entity:SetModel( ...
-- NoIndex: true local Element = {} -- Add all of the element data to the element classes --Element.classes = GUI.req(GUI.script_path .. "modules/data_Elements.lua")() Element.classes = require("data_Elements") function Element.select_elm(elm) GUI.elms.GB_frm_sel_elm.elm = elm.name GUI.elms.GB_frm_sel_el...
return loadfile('zstd-crt.lua')(true)
-- -------------------- -- 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...
-- import config = require "config" flower = require "flower" tiled = require "flower.tiled" widget = require "flower.widget" audio = require "flower.audio" spine = require "flower.spine" dungeon = require "flower.dungeon" fsm = require "flower.fsm" tasker = require "flower.tasker" -- audio initialize audio.init() --...
local Parachute_list = {} function Spawn(x, y, z) local pickup = CreatePickup(818, x, y, z) table.insert(Parachute_list, pickup) end AddFunctionExport("Spawn", Spawn) function SetParachutePlayer(player, value) AttachPlayerParachute(player, value) end AddFunctionExport("SetParachutePlayer", SetP...
--[[ Copyright 2020 Teverse @File core/client/characterController.lua @Author(s) Jay --]] print("loading chars") local controller = {} -- set to false for debugging purposes. local CLIENT_PREDICTION = false controller.character = nil -- server creates this controller.camera = require("tevgit:core/client...
minetest.register_craftitem("chemistry:flask", { description = "Flask", inventory_image = "chemistry_flask.png", liquids_pointable = true, on_use = function(itemstack, user, pt) if pt.type == "node" then local item = chemistry.nodes[minetest.get_node(pt.under).name] if item and user:get_inventory():ro...
vim.cmd [[packadd packer.nvim]] return require('packer').startup(function() use { 'wbthomason/packer.nvim' } use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' } use { 'kyazdani42/nvim-tree.lua', requires = 'kyazdani42/nvim-web-devicons', config = function() require'nvim-tree'.setup {} end } u...
fx = { style = "STYLE_LIGHT", properties = { property_02 = { name = "Offset", type = "VARTYPE_ARRAY_TIMEVECTOR3", value = { entry_00 = { 0, 0, 0, 0, }, entry_01 = ...
local _, ns = ... local ApplyUiScale = ns.utility.ApplyUiScale local stylesheet = ns.stylesheet local height = ApplyUiScale(stylesheet.health.height) local padding = ApplyUiScale(stylesheet.generic.padding) local borderSize = ApplyUiScale(stylesheet.generic.barBorder) function ns.elements.AddHealthBar(self, unit) l...
return { VGitViewWordAdd = { bg = '#5d7a22', fg = nil, }, VGitViewWordRemove = { bg = '#960f3d', fg = nil, }, VGitSignAdd = { fg = '#d7ffaf', bg = nil, }, VGitSignChange = { fg = '#7AA6DA', bg = nil, }, VGitSignRemove = { fg = '#e95678', bg = nil, }, VGitInd...
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]] require("lualib_bundle"); local ____exports = {} ____exports.Input = __TS__Class() local Input = ____exports.Input Input.name = "Input" function Input.prototype.____constructor(self, bindings) if bindings == nil then bindings = {} ...
if managers.system_menu:is_active() then do return end end UT.openMenu(UT.menus.main())
-- scaffolding entry point for stb return dofile("stb.lua")
-- Used by the meshes. register_material(`Small`, { }) print "Loading Test.08.mesh" disk_resource_load(`Test.08.mesh`) print "Using Test.08.mesh" b08 = gfx_body_make(`Test.08.mesh`) print "Loading Test.08.mesh" disk_resource_load(`Test.10.mesh`) print "Using Test.08.mesh" b10 = gfx_body_make(`Test.10.mesh`)
local colors = require("CHPastel.utils").colors local Group = require("CHPastel.utils").Group Group.new("NvimStringSpecial", colors.green, nil, nil) Group.new("NvimInvalidStringSpecial", colors.green, nil, nil)
slot2 = "SlwhView" SlwhView = class(slot1) slot2 = "slwh.view.ccs.SlwhLoadingCcsView" requireLuaFromModule(slot1) slot2 = "slwh.view.ccs.SlwhRoomCcsView" requireLuaFromModule(slot1) slot2 = "slwh.view.ccs.SlwhBankCcsView" requireLuaFromModule(slot1) slot2 = "slwh.view.ccs.SlwhBattleCcsView" requireLuaFromModule(...
--- enemy that is accompanied by an escort My.EventHandler:register("onEnemySpawn", function(_, enemyInfo) local escortConfig = enemyInfo:getConfig().escort if escortConfig == nil then return end local spawns = {} Cron.regular(function(self) if not enemyInfo:isSpawned() then Cron....
--intermediate interface info generator local format, gsub, unescape = string.format, string.gsub, unescape local pairs, ipairs, next = pairs, ipairs, next -------------------------------------------------------------------- module('yu', package.seeall) local getDeclName = getDeclName local getType, getTypeDecl = getT...
function onEvent(name, value1, value2) if name == 'Hide HUD' then value1=tonumber(value1); if value1 == 1 then --hide setProperty('scoreTxt.visible', false); setProperty('healthBar.visible', false); setProperty('healthBarBG.visible', false); setProperty('iconP1.visible', false); setProperty('iconP...
-- ----------------------------------------------------------------------------- -- Parse -- ----------------------------------------------------------------------------- describe('String.parse', function() spec('short string', function() assert.has_subtable({ '' }, parse.String('""')) assert.has_subtable({ ...
local ViewBase = require("games/common2/module/viewBase"); local MatchToolbarView = class(ViewBase,false); local l_index = 0; local getIndex = function ( ... ) l_index = l_index + 1; return l_index; end MatchToolbarView.s_controls = { shield = getIndex(); menu_btn = getIndex(); more_view = get...
local storyboard = require( "storyboard" ) local scene = storyboard.newScene() local widget = require 'widget' local otherSoundEffect = require 'gameLogic.otherSoundEffect' -- local forward references local currentPage local currentRank local lastScore local numberOfPages local rankTable local beginX, endX local fon...
object_tangible_food_generic_shared_drink_aludium_pu36 = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/food/generic/shared_drink_aludium_pu36.iff" } ObjectTemplates:addClientTemplate(object_tangible_food_generic_shared_drink_aludium_pu36, "object/tangible/food/generic/shared_drink_alu...
------------------------------------------------------------------------------ -- Copyright (c) 2006-2013 Fabien Fleutot and others. -- -- All rights reserved. -- -- This program and the accompanying materials are made available -- under the terms of the Eclipse Public License v1.0 which -- accompanies this distributio...
-- Copyright (c) 2017-present, Facebook, Inc. -- All rights reserved. -- -- This source code is licensed under the license found in the LICENSE file in -- the root directory of this source tree. An additional grant of patent rights -- can be found in the PATENTS file in the same directory. -- --[[ -- -- Common search f...
--Start of Global Scope--------------------------------------------------------- -- This is an area sensor so we select false here. local lineScanSensor = false -- Create a background model. local meanThreshold = 0.0 local varianceThreshold = 10.0 local minDefectArea = 20 local backgroundModel = Image.BackgroundMode...
object_draft_schematic_chemistry_component_stimpack_load_charger = object_draft_schematic_chemistry_component_shared_stimpack_load_charger:new { } ObjectTemplates:addTemplate(object_draft_schematic_chemistry_component_stimpack_load_charger, "object/draft_schematic/chemistry/component/stimpack_load_charger.iff")
---------------------------------------------------------------------------------------------------- -- -- All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or -- its licensors. -- -- For complete copyright and license terms please see the LICENSE at the root of this -- distribution (the "Li...
local SurveyPage = class('SurveyPage', Widget) function SurveyPage:initialize(x,y,w,h) Widget.initialize(self,x,y,w,h) end return SurveyPage
-- Item data (c) Grinding Gear Games return { -- Weapon: Wand [[ 托沃卧【仿品】 狂风法杖 等级需求: 65, 212 Int 联盟: 夺宝奇兵 固定基底词缀: 1 法术伤害提高 (35-39)% 施法速度提高 (15-25)% 暴击球达到最大数量时,失去所有的暴击球 暴击球达到最大数量时,获得 1 个狂怒球 每个狂怒球可使冰霜伤害提高 (15-20)% 你击中冻结的敌人时,有 50% 几率获得一个暴击球 暴击球抵达上限时承受 500 冰霜伤害 ]], [[ 峡湾之星【仿品】 贤者法杖 等级需求: 30, 119 Int 联盟: 夺宝奇兵 固定基底词缀: 1 法术伤...
local platforms = workspace.platforms function setTransparency(transparency) for i,v in pairs(platforms:GetChildren()) do v.Transparency = transparency wait(0.2) end end while(true) do setTransparency(100) wait(4) setTransparency(0) wait(1) end
--[[ init.lua Created: 10/09/2021 15:46:48 Description: Autogenerated script file for the map garden_end. ]]-- -- Commonly included lua functions and data require 'common' -- Package name local garden_end = {} -- Local, localized strings table -- Use this to display the named strings you added in the stri...
function SetRandomAngle(ent) -- Randomize starting angles local angles = ent:GetAngles() angles.yaw = math.random() * math.pi * 2 ent:SetAngles(angles) -- To make sure physics model is updated without waiting a tick ent:UpdatePhysicsModel() end local old_MarineTeam_OnResetComplete = MarineTea...
-- add target target("lcurses") -- enable this target? if not has_config("curses") and not has_config("pdcurses") then set_default(false) end -- make as a static library set_kind("static") -- add deps add_deps("luajit") if is_plat("windows") and has_config("pdcurses") then ...
local t = Def.ActorFrame{}; local InputOfArrow = function( event ) if not event then return end if event.type == "InputEventType_Repeat" then if event.button == "Start" or event.button == "Center" or event.button == "Back" then MESSAGEMAN:Broadcast('Confirm') SCREENMAN:GetTopScreen():StartTransitioningScreen...
-------------------------------------- -- Spell: Yain: Ichi -- Grants Enmity Down +15 for Caster -------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic") -------------------------------------- function onMagicCastingCheck(cast...
--[[ Author: Ractidous Date: 27.01.2015. Create the particle effect and projectiles. ]] function FireMacropyre( event ) local caster = event.caster local ability = event.ability local pathLength = event.cast_range local pathRadius = event.path_radius local duration = event.duration local startPos = caster...
require 'torch' require 'nn' local CVAE = {} function CVAE.create_encoder_network(x_size, y_size, z_size, hidden_size) -- the encoder network local encoder = nn.Sequential() encoder:add(nn.JoinTable(1,1)) encoder:add(nn.Linear(x_size + y_size, hidden_size)) encoder:add(nn.ReLU(true)) -- construct m...
-- -- tests/actions/vstudio/vc2010/test_filters.lua -- Validate generation of filter blocks in Visual Studio 2010 C/C++ projects. -- Copyright (c) 2011 Jason Perkins and the Premake project -- T.vs2010_filters = { } local suite = T.vs2010_filters local vc2010 = premake.vstudio.vc2010 -- -- Setup/tear...
data:extend( { { -- region-cloner_Selection-Tool type = "selection-tool", name = "region-cloner_selection-tool", icon_size = 128, icon = "__region-cloner__/graphics/lazy-bastard.png", flags = {"goes-to-quickbar", "hidden"}, subgroup = "tool", order = "...
-- Returns a single function, `typecheck`, that acts as a decorator to add type -- checking to other functions. -- `typecheck`'s parameters are a list describing the types accepted by the -- decorated function, and may be: -- * A string of a Lua type, to match that type, or 'any', to match anything -- * A function ...
--[[ file:cx_system.lua desc:策略 auth:Carol Luo ]] local class = require("class") local pokerSystem = require("poker.system") ---@class cx_system:pokerSystem local cx_system = class(pokerSystem) local this = cx_system ---构造 function cx_system:ctor() end return cx_system
data:extend({ { type = "item", name = "crusher-1", icon = "__Engineersvsenvironmentalist__/graphics/icons/processors/crusher.png", flags = {"goes-to-quickbar"}, subgroup = "basic-crushing", order = "f", place_result = "crusher-1", stack_size = 50 }, { type = "recipe", name =...
bt = require("bullet") local player={} -- bcanvas = love.graphics.newCanvas( 20, 70 ) -- bcanvas:renderTo(function() -- love.graphics.setColor(255, 255, 255) -- love.graphics.rectangle("fill", 1, 1, 19, 69) -- end); local function drawbullet(v) love.graphics.setColor(255, 255, 255, 255) love.graphics.draw(b...
if not modules then modules = { } end modules ['mtx-fonts'] = { version = 1.001, comment = "companion to mtxrun.lua", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } local getargument = envir...
-------------------- HELPERS ------------------------------- local cmd = vim.cmd -- to execute Vim commands e.g. cmd('pwd') local fn = vim.fn -- to call Vim functions e.g. fn.bufnr() local g = vim.g -- a table to access global variables local opt = vim.opt -- to set options local function map(mode, lhs, rhs,...
config = { closed = 1, open_right = 0.99, open_left = -0.99, opened = 0.0 }
local function filter(o, f) local r = {} for k, v in pairs(o) do if f(v, k) then r[k] = v end end return r end return filter
Config = {} Config.Exercises = { ["Pushups"] = { ["idleDict"] = "amb@world_human_push_ups@male@idle_a", ["idleAnim"] = "idle_c", ["actionDict"] = "amb@world_human_push_ups@male@base", ["actionAnim"] = "base", ["actionTime"] = 1100, ["enterDict"] = "amb@world...
print( math.pi )
PERK.name = "Armor Technician (Intelligence)" PERK.description = "Training to maintain, repair and modify armor." PERK.shortname = "Armor Technician (INT)" PERK.parent = "intelligence"
----------------------------------- -- Area: Port Bastok -- NPC: Talib -- Starts Quest: Beauty and the Galka -- Starts & Finishes Quest: Shady Business ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/shop"); require("scripts/globals...
local M = {} local COLORS = {"万","筒","条"} function M.get_color(card) return math.floor((card-1)/9) + 1 end function M.get_color_str(card) local color = M.get_color(card) return COLORS[color] end function M.get_card_str(index) if index >= 1 and index <= 9 then return index .. "万" elseif i...
--[[ Author: Jxl Description: A serializer module ]] local Serializer = {} do local CENTER_OFFSET = Vector3.new(1, 0, 0) Serializer.__index = Serializer setmetatable(Serializer, { __tostring = function() return "Serializer" end }) function S...
-- Fix for the old reference return require "lspconfig"
-- Generated by CSharp.lua Compiler local System = System System.namespace("Slipe.Client.Peds", function (namespace) -- <summary> -- Represents a PedVoice group and name -- </summary> namespace.struct("PedVoice", function (namespace) local getDISABLED, getGEN_BBDYG1, getGEN_BBDYG2, getGEN_BFORI, getGEN_BFOS...
strman = {}; strman.Words = {["a"]=true, ["b"]=true, ["c"]=true, ["d"]=true, ["e"]=true, ["f"]=true, ["g"]=true, ["h"]=true, ["i"]=true, ["j"]=true, ["k"]=true, ["l"]=true, ["m"]=true, ["n"]=true, ["o"]=true, ["p"]=true, ["q"]=true, ["r"]=true, ["s"]=true, ["t"]=true, ["u"]=true, ["v"]=true, ["w"]=true, ...
require("core/eventDispatcher"); require("common/nativeEvent"); require("gameData/dataInterfaceBase"); require("gameData/clientInfo"); require("hall/gameData/videosdk/videosdkConstants"); require("hall/userInfo/data/userInfoData"); require("hall/setting/data/settingDataInterface"); VideoSDKHelper = class(DataI...
local ok, null_ls = pcall(require, "null-ls") if not ok then return end local formatting = null_ls.builtins.formatting local diagnostics = null_ls.builtins.diagnostics local code_actions = null_ls.builtins.code_actions null_ls.setup { sources = { diagnostics.hadolint, diagnostics.eslint_d, ...
return { UniqueId = "editor.$native.string", Name = "Default String Editor", Description = "The string editor included with PropertiesMod", Attribution = "", Filters = {"Primitive:string"}, EntryPoint = "main", }
xpcall(function() newoption { trigger = "builddir", value = "path", description = "Output directory for build/ files." } newoption { trigger = "bindir", value = "path", description = "Root directory for bin/ files." } dofile('tools/build/init.lua') -- perform component processing if _OPTION...
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> 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://...
local vmf = get_mod("VMF") -- This variable is defined here and not in widget data initialization function because some error messages -- require it to be dumped to game log. local _unfolded_raw_widgets_data -- Stores used setting_ids for initializable mod. Is used to detect if 2 widgets use the same setting_id local...
local client_module = require('lsp-selection-range.client') local utils = require('lsp-selection-range.tests.helpers.utils') local simple_php = require('lsp-selection-range.tests.helpers.simple-php') local stub = require('luassert.stub') describe('client', function() describe('select()', function() local functio...
solution "RecastDetour" location "3rdparty/recast/_project/" targetdir "3rdparty/recast/_build/" language "C++" configurations { "Release" } platforms { "x64" } flags { "FatalWarnings", "NoPCH", "NoExceptions", "NoRTTI", "NoEditAndContinue" } project "Recast" kind "StaticLib" flags { "ReleaseR...
local unpack = table.unpack or require "compat53.module".table.unpack -- 5.1's unpack doesn't work on userdata local result = {} local result_mt = { __name = "pg result"; __index = result; } local function new_result(pgpsql_library, res) return setmetatable({ pgsql = assert(pgpsql_library); raw_result = assert...
local m={} function m:decoder(callback, server, conn, data) print("decoder",callback,conn:ip()) return callback(server,conn,data) end return m
RegisterServerEvent('json:dataStructure') AddEventHandler('json:dataStructure', function(data) print(json.encode(data)) end) RegisterServerEvent('qb-radialmenu:trunk:server:Door') AddEventHandler('qb-radialmenu:trunk:server:Door', function(open, plate, door) TriggerClientEvent('qb-radialmenu:trunk:clien...
-- Make a table that behaves like PHP tables, retaining the order elements are entered in. if not php then php = {} end function php:Table(...) local newTable,keys,values={},{},{} newTable.pairs=function(self) -- pairs iterator local count=0 return function() count=count+1 ...
-- Global variables Global = { currentInteriorId = 0, -- The current interior is set to True by 'interiorIdObserver' Online = { isInsideApartmentHi1 = false, isInsideApartmentHi2 = false, isInsideHouseHi1 = false, isInsideHouseHi2 = false, isInsideHouseHi3 = false, ...
local d = require "sl-defines" local u = require "sl-util" local cf = require "control-forces" local rd = require "sl-render" local export = {} -- tState states export.MOVE = 0 export.WANDER = 1 export.FOLLOW = 2 -- TODO Does this state still make sense? We don't chase things after spotting them so much, now... -...
-- NOTE: Obtained from https://github.com/otalk/mod_turncredentials/blob/master/mod_turncredentials.lua -- XEP-0215 implementation for time-limited turn credentials -- Copyright (C) 2012-2014 Philipp Hancke -- This file is MIT/X11 licensed. --turncredentials_secret = "keepthissecret"; --turncredentials = { -- { typ...
win = addWindow{width=400,height=500} grafic = addControl{window=win, typex="funcgraph2",width=300,height=300,expand=true} function createpoly(val1) local t = {} local steps = 200 for i=0,steps do local x = linearmap(0,steps,0,2,i) t[#t+1] = {x,math.pow(x,val1)} end grafic:val(t) end panel = addPanel{type="v...
-- -- Copyright 2012 Rackspace -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compli...
return { version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 50, height = 50, tilewidth = 32, tileheight = 32, properties = {}, tilesets = { { name = "Tiles", firstgid = 1, tilewidth = 32, tileheight = 32, spacing = 0, margin = 0, image = "maptiles.png", imagewidth = 96, imageheight = 32, propertie...
data:extend({ { type = "item", name = "ash", icon = "__Engineersvsenvironmentalist__/graphics/icons/materials/ash.png", flags = {"goes-to-main-inventory"}, subgroup = "coal-base", order = "g4[other]", stack_size = 5000, } })
local BuildOrderDispatcher = require("BuildOrderDispatcher") local ItemTransferOrderDispatcher = require("ItemTransferOrderDispatcher") local Sequence = require("Sequence") local Runner = { } local metatable = { __index = Runner } function Runner.set_metatable(instance) if getmetatable(instance) ~= nil then return e...
--[[ Things to do Lump close dungeon/raids into one, (nexus/oculus/eoe) (DONE) Maybe implement lockout info on tooltip (Don't know if I want too, better addons for tracking it exist) (DONE anyway) ]]-- local DEBUG = false local HandyNotes = LibStub("AceAddon-3.0"):GetAddon("HandyNotes", true) if not HandyNotes then...
--[[ ***************************************************************************** Project l2dbus Released under the MIT License (MIT) Copyright (c) 2013 XS-Embedded LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Soft...
-- =========================================================================== -- Base File -- =========================================================================== include("DiplomacyRibbon_Expansion1.lua"); include("diplomacyribbon_CQUI.lua");
--[[ KahLua Kore - party and raid monitoring. WWW: http://kahluamod.com/kore Git: https://github.com/kahluamods/kore IRC: #KahLua on irc.freenode.net E-mail: me@cruciformer.com Please refer to the file LICENSE.txt for the Apache License, Version 2.0. Copyright 2008-2021 James Kean Johnsto...
local is_car = Concord.component( function(_) end ) return is_car
#!/usr/bin/env lua local state = require("utils.luastate") local pretty = require("pl.pretty") local l2dbus = require("l2dbus") local function onTimeout(tm, disp) print("Exiting mainloop...") disp:stop() end local function onFilterMatch(match, msg, ud) local msgType = msg:getType() io.stdout:write(l2dbus.Messa...
return {'injagen','injecteren','injectie','injectiegeweer','injectiehars','injectiemotor','injectienaald','injectiespuit','injector','injectieplaats','injectieflacon','injectiepomp','injectiesysteem','injectievloeistof','injectiemateriaal','injaag','injaagde','injaagden','injaagt','injecteer','injecteerde','injecteerde...
-- ======= Copyright (c) 2003-2016, Unknown Worlds Entertainment, Inc. All rights reserved. ===== -- -- lua\menu\GUIMainMenu_BadgesSelection.lua -- -- Created by: Sebastian Schuck (sebastian@naturalselection2.com) -- -- ========= For more information, visit us at http://www.unknownworlds.com ===================== ...
AddEvent("OnKeyPress", function(key) if (GetPlayerVehicle(GetPlayerId()) == 0 and not IsInPlayerMenuUI and not IsInSpawnUI) then if (key == "Ampersand" or key == OnlineKeys.RESET_ANIMATION_KEY) then CallRemoteEvent("PlayAnimationPMENU", "STOP") elseif GetInputMode() ~= input_while_in_ui then ...
-- need to update the Lua path to point to the local flatbuffers implementation package.path = string.format("../lua/?.lua;%s",package.path) package.path = string.format("./lua/?.lua;%s",package.path) -- require the library local flatbuffers = require("flatbuffers") local binaryArray = flatbuffers.binaryArray-- for h...
local Me = game.Players.LocalPlayer if script.Parent.className ~= "HopperBin" then local h = Instance.new("HopperBin", Me.Backpack) h.Name = "" sc = Instance.new("ScreenGui") sc.Name = "Invisible" sc.Parent = Me.PlayerGui t = Instance.new("TextLabel") t.BackgroundTransparency = 0.75 t.Name = "Text - Rese...
local b4={}; for k,v in pairs(_ENV) do b4[k]=v end require"tricks" local fails=0 for _,f in pairs(arg) do if f ~= "ok.lua" and f ~= "lua" then local ok,msg = pcall(function () dofile(f) end) if ok then color("green","%s",f) else color("red","%s",tostring(msg)); fails=fails+1 end end end for k,...
supplyLimit("Fighter", 100); supplyLimit("Scout", 24); supplyLimit("Interceptor", 100); supplyLimit("Bomber", 100); supplyLimit("LanceFighter", 100); supplyLimit("Defenders", 25); supplyLimit("Defensefighters", 15); supplyLimit("CloakedFighters", 25); -- -- Vaygr FamilyOverride Fighter 170 -- Vaygr ShipOverride Interc...
paddleselectstate=class{_includes=basestate} skin=1 size=2 function paddleselectstate:update(dt) if love.keyboard.waspressed('escape') then love.event.quit() end if love.keyboard.waspressed('return') then gStatemachine:change('serve') end if love.keyboard.waspressed('left') then ...
require("os") os.execute("wifi")
local Slot = {} function Slot:new(name, x, y, width, height, image, imageHover, bgImage, placementType, object) object = object or { name = name, x = x, y = y, width = width, height = height, image = image, imageHover = imageHover, button = Button:new(x, y,...
package.path = package.path .. ";data/scripts/lib/?.lua" include ("randomext") ESCCUtil = include("esccutil") -- Don't remove or alter the following comment, it tells the game the namespace this script lives in. If you remove it, the script will break. -- namespace Afterburn Afterburn = {} local self = Afterburn se...