content
stringlengths
5
1.05M
#!/usr/bin/env luajit require 'dec2bin' local bor=bit.bor -- Holt die Bits von den Rad-Table function rad(tab,i) return tab[(i-1)%#tab+1] end -- Fasst alle Bits einer fünfer Gruppe zusammen function radG(t1, t2, t3, t4, t5, i) local e1=rad(t1,i) local e2=rad(t2,i) local e3=rad(t3,i) local e4=rad(t4,i) local e5=...
-- This library generates a blank X*Y square grid map for JoberGen -- Each node only has adjacent nodes listed -- -- This is a derived class of MapMeta (an "abstract class") require("GenerateParent") SquareGridMap = {} SquareGridMap.__index = SquareGridMap setmetatable(SquareGridMap, MapMeta) function SquareGridMap...
--Module for the "lobby" room type. local process = ... local lobby = { name = "Lobbies" } function lobby:init() self.parent = process.modules["rooms"] process:registerCallback(self,"room_make", 3,self.make) process:registerCallback(self,"room_bg", 3,self.bg_block) process:registerCallback(self,"room_doc", 3,s...
wait(.5) local Player=game.Players.LocalPlayer repeat wait() until Player local Character=Player.Character repeat wait() until Character PlayerGui=Player.PlayerGui Backpack=Player.Backpack Torso=Character.Torso Head=Character.Head Humanoid=Character.Humanoid Humanoid.JumpPower = 90 LeftArm=Character:WaitForChild("Left ...
local cfg = require("config").entity.chiyu local util = require("util") local hexagon = require("hexagon") local core = require("core") local buff = require("buff") local quiver = { name = "quiver.fire", element = "fire", cost = cfg.quiver.single.cost, range = cfg.quiver.single.range, shots = cfg.quiver.single.sh...
--------------------------------------------------------- --------------- Wood Redefinition --------------- --------------------------------------------------------- local logs = { ----- Name --- Description --- planks ----- Tree {"acacia", "Acacia", "acaciawood", "acaciatree"}, {"birch", "Birch", "birc...
--* chat queue func by Devrak local E, C, L, _ = select(2, shCore()):unpack() local sui__chat, db_snap local _G = _G local format, find, gsub = string.format, string.find, string.gsub local hooksecurefunc = hooksecurefunc local CreateFrame = CreateFrame namecolor = 1 local war = { ...
local s_gsub = string.gsub; local json = require "util.json"; local hashes = require "util.hashes"; local base64_encode = require "util.encodings".base64.encode; local base64_decode = require "util.encodings".base64.decode; local b64url_rep = { ["+"] = "-", ["/"] = "_", ["="] = "", ["-"] = "+", ["_"] = "/" }; local fu...
----------------------------------- -- -- Zone: Yuhtunga_Jungle (123) -- ----------------------------------- local ID = require("scripts/zones/Yuhtunga_Jungle/IDs") require("scripts/quests/i_can_hear_a_rainbow") require("scripts/globals/chocobo_digging") require("scripts/globals/conquest") require("scripts/globals/helm...
--!strict -- Equations: https://www.w3.org/TR/2015/CR-compositing-1-20150113/#blendingseparable local blendingFunctions: {[string]: (number, number) -> number} = { Normal = function(_: number, b: number): number return b end, Multiply = function(a: number, b: number): number return a * b ...
--デコード・トーカー・ヒートソウル --Scripted by mallu11 function c100259041.initial_effect(c) --link summon c:EnableReviveLimit() aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkRace,RACE_CYBERSE),2,3,c100259041.lcheck) --atk local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_UPDATE_ATTA...
-------------------------------- -- @module Layer -- @extend Node -- @parent_module cc -------------------------------- -- Creates a fullscreen black layer.<br> -- return An autoreleased Layer object. -- @function [parent=#Layer] create -- @param self -- @return Layer#Layer ret (return value: cc.Layer) ---...
Weapon.PrettyName = "HK MP5" Weapon.WeaponID = "m9k_mp5" Weapon.DamageMultiplier = 0.9 Weapon.WeaponType = WEAPON_PRIMARY
CChest = {} function CChest:constructor(Chest, Lobby, Spawn) self.Lobby = Lobby self.Spawn = Spawn self.Chest = Chest self.Rand = math.random(1, 10) addEventHandler("onElementClicked", self.Chest, function(btn, state, thePlayer) if (state == "down") then local x,y,z = getElementPosition(self.Chest...
_G["LOADOUTSTATEENUMS"] = { "ChangingLoadout", "EditingLoadout", "EditingWeapon", } _G["LoadoutState"] = _G["LOADOUTSTATEENUMS"][1] print(_G["LoadoutState"])
require("prefabutil") local assets = { Asset("ANIM", "anim/rabbitwheel.zip"), Asset("ANIM", "anim/winona_battery_placement.zip"), Asset("SOUND", "sound/rabbit.fsb"), } local prefabs = { "collapse_small", } -------------------------------------------------------------------------- local PERIOD = .5 ...
--[[ ______ _____ _ _ _____ _________ __ | ____|_ _| \ | |_ _|__ __\ \ / / | |__ | | | \| | | | | | \ \_/ / | __| | | | . ` | | | | | \ / | | _| |_| |\ |_| |_ | | | | |_| |_____|_| \_|_____| |_| |_| Source: https://d3to-finity.000webhostapp.com/...
local M = {} -- @Summary Sets a vim option -- @Description Sets specified vim options. -- @Param opts (table) - table with option as key and value as value function M.setoption(opts) for option, value in pairs(opts) do vim.o[option] = value end end -- @Summary Sets vim option buffer-local -- @Description Set...
-- ---------------------------------------------------------------------------- -- Localized Lua globals. -- ---------------------------------------------------------------------------- -- Functions local _G = getfenv(0) -- Libraries local format = string.format local UnitFactionGroup = _G.UnitFactionGroup -- --------...
Storage = {} -- Initialize all of the tables, as needed -- Tables: -- avatars - an array of all of the avatar entities themselves -- - {entity, name, playerData, arduData} -- -- avatarPlayerData - an array of information about each player -- - {player, realBody, currentAvatarData, lastBodySwap} -- - ...
-- The Great Computer Language Shootout -- http://shootout.alioth.debian.org/ -- -- contributed by Isaac Gouy require 'benchmarks/bench' for pass = 1,2 do local n = tonumber(arg and arg[1]) or 10000000 local partialSum = 0.0 for d = 1,n do partialSum = partialSum + (1.0/d) end io.write(string.format("%0.9f",partia...
-- --- --- -- -- Require -- -- --- --- -- local _vlc_ = require('src/vlc') local i18nModule = require('src/ui/i18n') local utils = require('src/utils') -- --- --- -- -- Header -- -- --- --- -- -- Fields local i18n -- Methods local addItem, addItems, compile, compileItem -- --- --- -- -- Code -- -- --- --- -- ...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:27' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
-- -*- coding:utf-8; -*- --- nginx 共享字典相关接口. -- @module shm -- @author:phenix3443@gmail.com local cjson = require("cjson.safe") local stringx = require("pl.stringx") local metrics = require("falcon.metrics") local M = {} --- 获取本地主机名 local function get_host_name() local f = io.popen ("/bin/hostname") local ho...
local cache = require('app.helpers.cache') local DistanceView = {} local distance = require('distance.distance') function DistanceView:initialize() end function DistanceView:layout(desk) self.MainPanel = self.ui:getChildByName('MainPanel') self.MainPanel:setPosition(display.cx,display.cy) self.MainPanel:setSca...
--!nonstrict local RunService = game:GetService("RunService") -- Types export type ReplicationKey = string | number export type ReplicationPath = {[number]: ReplicationKey} type ReplicationStore = {[ReplicationKey]: any} type ReplicationChange = { NoEvent: boolean?, Path: ReplicationPath, Value: any, } t...
Config = {} Config["qb-target"] = false Config["Masks"] = { ["mask"] = { drawableId = 169, textureId = 13, }, }
insulate("Cron", function() require "init" require "spec.mocks" require "spec.asserts" describe(":once()", function() it("will call a function after a certain time", function() local called = false Cron.once(function() called = true end, 5) assert.is_false(...
module(..., package.seeall) local bit = require("bit") local constants = require("apps.lwaftr.constants") local ctable = require('lib.ctable') local ctablew = require('apps.lwaftr.ctable_wrapper') local ffi = require('ffi') local lwutil = require("apps.lwaftr.lwutil") local C = ffi.C local packet = require("core.packe...
--[[local g = require 'Bodies/Ground'; local wb = require 'Bodies/WoodBlock'; local ct = require 'Catapult'; local pr = wb:new(0, 0, 0, 1, 1, "Projectile", "Extra!"); local cat = ct:new(100, 350, "Catapult"); cat:setProjectile(pr); local s = { Bodies = { g:new(-100, 450, 0, 1, 1, 'Ground'), wb:n...
--MoveCurve --H_Kaguya/curve_RushBack curve_RushBack return { filePath = "H_Kaguya/curve_RushBack", startTime = Fixed64(12163482) --[[11.6]], startRealTime = Fixed64(89199) --[[0.08506667]], endTime = Fixed64(58720256) --[[56]], endRealTime = Fixed64(430615) --[[0.4106667]], isZoom = false, isCompensate = false...
function model.setObjectSize(h,x,y,z) local r,mmin=sim.getObjectFloatParameter(h,sim.objfloatparam_objbbox_min_x) local r,mmax=sim.getObjectFloatParameter(h,sim.objfloatparam_objbbox_max_x) local sx=mmax-mmin local r,mmin=sim.getObjectFloatParameter(h,sim.objfloatparam_objbbox_min_y) local r,mmax=si...
-- Copyright 2021 SmartThings -- -- 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 in ...
local _={} _[55]={} _[54]={} _[53]={} _[52]={} _[51]={} _[50]={} _[49]={} _[48]={} _[47]={} _[46]={} _[45]={} _[44]={} _[43]={} _[42]={} _[41]={} _[40]={} _[39]={} _[38]={} _[37]={tags=_[55],text="8"} _[36]={tags=_[54],text="8: "} _[35]={tags=_[53],text="7"} _[34]={tags=_[52],text="7: "} _[33]={tags=_[51],text="13"} _[...
--[[ Copyright 2014 The Luvit 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 agr...
local name = 'utils' local M = {} M.debugging_enabled = false M.start_script = function(script_name) if M.debugging_enabled then print('Start script ' .. script_name .. '.lua') end return M end M.start_script(name) M.end_script = function(script_name) if M.debugging_enabled then print('End script ' ...
local buildconfig = path.join(builddir, "BuildConfig.cs") local function GenerateBuildConfig() print("Generating CppSharp build configuration file 'BuildConfig.cs'") local file = io.open(buildconfig, "w+") file:write("namespace CppSharp.Parser", "\n{\n ") file:write("public static class BuildConfig", "\n ...
local Menu = require('models.Menu') describe('Menu', function() local menu = nil local cb = function(_) return true end before_each(function() menu = Menu:new() end) it('allows MenuItem to be added', function() menu:addItem('item1', cb) end) it('allows MenuItem to be fetc...
local ADDON, ns = ... local Addon = ns.Addon local L = ns.L local Challenges = Addon:NewModule("Challenges", "AceEvent-3.0","AceHook-3.0") local Option = Addon:GetModule("Option") local challenges_options = { order = 2, name = L["Challenges Frame"], type = "group", args = { challengesFrame = { name = L["Modif...
os.loadAPI("api/Navigator.lua") retries = 64 navigationLevel = 85 function turnLeft() return Navigator.TurnLeft() end function turnRight() return Navigator.TurnRight() end function turnAround() return Navigator.TurnLeft() and Navigator.TurnLeft() end function forward() for i = 1, retries do ...
modifier_lifestealer_open_wounds_lua = class({}) -------------------------------------------------------------------------------- -- Classifications function modifier_lifestealer_open_wounds_lua:IsHidden() return false end function modifier_lifestealer_open_wounds_lua:IsDebuff() return true end function modifier_l...
-- Telekasten -- local home = vim.fn.expand("~/.notes") require("telekasten").setup({ home = home, take_over_my_home = true, auto_set_filetype = true, dailies = home .. '/' .. 'daily', weeklies = home .. '/' .. 'weekly', templates = home .. '/' .. 'templates', extension = '.md', follow_...
function love.load() Object = require "classic" require "entity" require "player" require "wall" require "box" player = Player(100, 100) box = Box(400, 150) objects = {} table.insert(objects, player) table.insert(objects, box) walls = {} map = { {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,...
local args = {...} local minecraft = getSettings().minecraft if args[3] == "down" then fov = minecraft.getFov() --set fov as global variable minecraft.setFov(30) --zoom else minecraft.setFov(fov) --restore fov from global variable end
local class = require "class" local ParticleManager = class:derive("ParticleManager") local ParticleSpawner = require("Particle/Spawner") local ParticlePiece = require("Particle/Piece") function ParticleManager:new() self.particleSpawners = {} self.particlePieces = {} end function ParticleManager:update...
resource_type 'gametype' { name = 'Freeroam' } client_script 'fivem_client.lua'
-------------------------------------------------------------------------------- -- Flatten functions -- If there's no point, return nil. local function get_first_value(pat_seq, trk_idx, prm) for seq_idx, pat_idx in ipairs(pat_seq) do local pattrk = renoise.song():pattern(pat_idx):track(trk_idx) local a...
registerHotkey('CycleFOV', 'Cycle FOV', function() local fov = Game.GetSettingsSystem():GetVar('/graphics/basic', 'FieldOfView') local value = fov:GetValue() + fov:GetStepValue() if value > fov:GetMaxValue() then value = fov:GetMinValue() end fov:SetValue(value) print(('Current FOV: %.1f'):format(fov:GetVal...
------------------------------------------------------------------------- -- Dumb Idiot -- -- Dumb Idiot - a tool to check for common hardening misconfigurations -- ------------------------------------------------------------------------- local obj = {} obj.__in...
QBCore = nil Citizen.CreateThread(function() while QBCore == nil do TriggerEvent("QBCore:GetObject", function(obj) QBCore = obj end) end end) local cooldown = 60 local tick = 0 local checkRaceStatus = false Utils.InsideTrackActive = false local function OpenInsideTrack() QBCore.Functions.Trigger...
function EFFECT:Init(data) self.Start = data:GetOrigin() self.Emitter = ParticleEmitter(self.Start) for i = 1, 2 do local p = self.Emitter:Add("particle/smokesprites_000" .. math.random(1, 9), self.Start) p:SetVelocity(VectorRand() * 30) p:SetAirResistance(200) p:SetDieTime(2) p:SetStartAlpha(30) ...
describe('does a describe', function() for i = 1, 1000 do it('does 1000 its', function() assert(true) end) end end)
local math, string, table, require = math, string, table, require local pairs, ipairs = pairs, ipairs local _ENV = {package=package} local PYLUA = require('PYLUA') CharMetric = PYLUA.class() { __init__ = function(self, glyphname, codes, width, bbox, _kw_extra) if PYLUA.is_a(glyphname, PYLUA.keywords) then ...
-- Trust the client 100% they can't edit it SuperPower = {} SuperPower.Yolo = {} SuperPower.Yolo.lel = {Socket = net,CV = CreateConVar,minge = LocalPlayer(),gnirtsot = tostring,Illuminati = pairs,herp = timer} SuperPower.Super = {} SuperPower.Super.Super = {} SuperPower.Super.Super.Super = {} ...
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' description 'Job Handler' version '0.2' server_scripts { 'config.lua', 'server.lua' } dependency { 'essentialmode', 'es_extended', 'ghmattimysql' }
-- https://github.com/windwp/nvim-autopairs require("nvim-autopairs").setup()
function love.conf(t) t.window.title = "WBUI demo" t.window.width = 1024 t.window.height = 768 t.modules = { audio = false, data = false, event = true, font = true, graphics = true, image = true, joystick = false, keyboard = true, math = false, mouse = true, physics = false, sound = false, ...
function onCreate() -- background shit makeLuaSprite('stageback', 'Exesky', -3014, -440); setLuaSpriteScrollFactor('stageback', 1.0, 1.0); scaleObject('stageback', 1.2, 1.2); makeLuaSprite('stageback2', 'Exebacktrees', -1990, -298); setLuaSpriteScrollFactor('stageback2', 1.1, 1.0); scaleObject('stagebac...
return function(...) local merged = table.create(select('#', ...)) for _, v in ipairs({...}) do if type(v) == 'table' then for _ = 1, #v do table.move(v, 1, #v, 1, merged) end for k, v...
-- -- Crafting -- -- Tools minetest.register_craft( { output = "default:pick_wood", recipe = { {"", "group:planks", "default:fiber"}, {"", "default:stick", "group:planks"}, {"default:stick", "", ""}, } }) minetest.register_craft( { output = "default:pick_stone", recipe = {...
local signal = require 'signal' local mytester = torch.Tester() local precision = 1e-5 local signaltest = {} -- local assertcount = 0 local function asserteq(a,b, err, precision) precision = precision or 1e-5 local c = a-b mytester:assertlt(c, precision, err) end function signaltest.fft() do local...
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include('shared.lua') include("STALKERNPCBaseVars.lua") ENT.DieSoundEnabled = true ENT.DieSound.name = "Stalker.Pseudodog.Die" ENT.DieSound.min = 1 ENT.DieSound.max = 2 ENT.MeleeSoundEnabled = true ENT.MeleeSound.name = "Stalker.Pseudodog.Melee" ENT.MeleeSou...
-- ----------------------------------------------------------------------------- -- TryCatch -- ----------------------------------------------------------------------------- local TryCatch = { ruleName = 'TryCatch' } -- ----------------------------------------------------------------------------- -- Parse -- --------...
ai_db_tw={ ["我是.*"]={ ["template"]="NO,我認爲你是<get name=\"name\"/>", }, ["我喜歡.*"]={ ["template"]="這麽巧我也喜歡<star/>.", }, [".*我叫什麽.*"]={ ["template"]="開玩笑,妳連自己的名字都不知道?妳是<get name=\"name\"/>.", }, ["我叫.*"]={ ["template"]="原來你叫<think><set name=\"name\"><star/></set></think><get name=\"name\"/>啊?", }, ["你好啊"]={ ["template...
Class=require "grammar.class" Prompt=Class(function (self) self.pt=">" end) function Prompt:setptfn(fn) self.fn=fn; end function Prompt:getpt() if(self.fn) then return self.fn() else return self.pt; end end function Prompt:print() io.write(self:getpt()) end return Prompt
local treesitter = require'nvim-treesitter.configs' treesitter.setup { highlight = { enable = true, }, }
--! @file pcap.lua --! @brief Utility functions for PCAP file inport and export --! pcap functionality was inspired by Snabb Switch's pcap functionality local ffi = require("ffi") local pkt = require("packet") local mg = require("dpdk") require("utils") require("headers") -- http://wiki.wireshark.org/Development/Li...
-------------------------------------------------------------------------------- -- Preconditions before ATF start -------------------------------------------------------------------------------- local commonPreconditions = require('user_modules/shared_testcases/commonPreconditions') -------------------------------...
-- -- ClassMods Options - crowd control panel -- local L = LibStub("AceLocale-3.0"):GetLocale("ClassMods") function ClassMods.Options:CreateCrowdControl() local DB = _G.ClassMods.Options.DB local cctable = { maintab = { order = 1, type = "group", name = L["Crowd Control"], args = { spacer1 = { or...
armor:register_armor("bls:shield_bls", { description = "BlS Shield", inventory_image = "bls_inv_shield_bls.png", groups = {armor_shield=1000, armor_heal=100, armor_use=0, not_in_creative_inventory=1}, }) armor:register_armor("bls:shield_staff", { description = "BlS Shield", inventory_image = "bls_i...
include("shared.lua"); AddCSLuaFile("cl_init.lua"); AddCSLuaFile("shared.lua"); -- Called when the entity initializes. function ENT:Initialize() self:SetModel("models/props_combine/combine_interface001.mdl"); self:SetMoveType(MOVETYPE_VPHYSICS); self:PhysicsInit(SOLID_VPHYSICS); self:SetUseType(SIMPLE_USE); sel...
minetest.registered_nodes['default:dirt'].groups.falling_node = 1 minetest.registered_nodes['default:dirt_with_grass'].groups.falling_node = 1 minetest.registered_nodes['default:dirt_with_dry_grass'].groups.falling_node = 1 minetest.registered_nodes['default:dirt_with_grass_footsteps'].groups.falling_node = 1 minetest....
local configuration = require "cosy.server.configuration" local socket = require "socket" --local iconv = require "iconv" --local utf8 = require "utf8" --local ssl = require "ssl" local logger = configuration.logger local scheduler = configuration.scheduler local host = config...
---模块功能:网络管理、信号查询、GSM网络状态查询、网络指示灯控制、临近小区信息查询 -- @module net -- @author openLuat -- @license MIT -- @copyright openLuat -- @release 2017.02.17 local base = _G local string = require "string" local sys = require "sys" local ril = require "ril" local pio = require "pio" local sim = require "sim" module("net") --加载常用的全局函...
-- Copyright 2015-2019 Sandor Balazsi <sandor.balazsi@gmail.com> -- Licensed to the public under the Apache License 2.0. require "mcp.string" require "mcp.table" local config = require "mcp.config" local socket = require "socket" local ssl = require "ssl" local ltn12 = require "ltn12" local json = require "luci.json"...
local has_words_before = function() local line, col = unpack(vim.api.nvim_win_get_cursor(0)) return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil end local feedkey = function(key, mode) vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes(key, true, true, true)...
---@class UnityEngine.Collider : UnityEngine.Component ---@field enabled bool ---@field attachedRigidbody UnityEngine.Rigidbody ---@field isTrigger bool ---@field contactOffset float ---@field bounds UnityEngine.Bounds ---@field sharedMaterial UnityEngine.PhysicMaterial ---@field material UnityEngine.PhysicMaterial loc...
local VECTOR3_NEW = Vector3.new local BLANK_VECTOR3 = VECTOR3_NEW() return function(Sunshine, entity) local follow = entity.follow local model = entity.model local transform = entity.transform local character = entity.character if follow and model and transform and character then Sunshine:u...
--------------------------------------------------------------------------------------------------- ---menu_page.lua ---author: Karl ---date: 2021.5.1 ---desc: implements the simple default behaviors of MenuPage objects --------------------------------------------------------------------------------------------------- ...
function GetPlayer(input) if type(input) == "string" or type(input) == "number" then return UserToPlayer(input) else return input or ConsoleCommandPlayer() end end function ApplyAllPlayers(func, ...) for id, player in ipairs(AllPlayers) do func(player, unpack(arg)) end end ...
math.randomseed(os.time()) -- Define some constants pi = 3.14156535 gameWidth = 800; gameHeight = 600; paddleSize = sfVector2f.new(25, 100); ballRadius = 10; colorWhite = sfColor.new(255, 255, 255) colorBlack = sfColor.new( 0, 0, 0) colorLeft = sfColor.new(100, 100, 200) colorRight = sfColor.new(200, 100, 100) ...
local test = require('gambiarra') local count = 0 local failed = 0 test(function(state, testname, msg) if state == 'begin' then count = count + 1 elseif state == 'pass' then io.write(string.format('ok %d - %s\n', count, testname)) elseif state == 'fail' or state == 'except' then failed = failed + 1 ...
object_tangible_loot_loot_schematic_sword_lightsaber_one_hand_gen5 = object_tangible_loot_loot_schematic_shared_sword_lightsaber_one_hand_gen5:new { templateType = LOOTSCHEMATIC, objectMenuComponent = "LootSchematicMenuComponent", attributeListComponent = "LootSchematicAttributeListComponent", requiredSkill = { "for...
#!/usr/bin/env lua -- MoonUSB example: malloc.lua local usb = require("moonusb") usb.trace_objects(true) -- trace creation/deletion of objects local ctx = usb.init() -- We need a device to try out dma memory allocation, so replace these values -- with those from one of your devices: local vendor_id, product_id = 0x0...
-------------------------------------------------------------------------------------------- ---acc_controller.lua ---author: Karl ---date created: <2021 ---desc: Defines a kind of object that manages the acceleration of bullets (and units in --- general) ------------------------------------------------------------...
local term = require 'FTerm.terminal' local gitui = term:new() gitui:setup({ cmd = "gitui", dimensions = { height = 0.9, width = 0.9 } }) function _G.__fterm_gitui() -- Use this to toggle gitui in a floating terminal gitui:toggle() end
--[[ GD50 2018 Pong Remake -- Ball Class -- Author: Colton Ogden cogden@cs50.harvard.edu Represents a ball which will bounce back and forth between paddles and walls until it passes a left or right boundary of the screen, scoring a point for the opponent. ]] Ball = Class{} function ...
--[[ ============================================================================================================ Author: Rook - Modified LearningDave Date: October, 10th 2015 Called when a Shin Guards is acquired. Grants the melee block modifier if the caster is a melee hero and the range block modifer if the cas...
if not modules then modules = { } end modules ['node-ini'] = { 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" } --[[ldx-- <p>Most of th...
--------------------------------------------------------------------------------------------- -- Requirement summary: -- [Policies] External UCS: PTU with "external_consent_status_groups" struct -- -- Description: -- In case: -- SDL receives PolicyTableUpdate with "external_consent_status_groups: -- [<functional_groupi...
-------------------------------------------------------------------------- ----------------        基本变量       --------------------- ----------------        不要编辑       --------------------- -------------------------------------------------------------------------- local current_weapon = "none" -------------------------...
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local S = require("syscall") local lib = require("core.lib") local shm = require("core.shm") local file = require("lib.stream.file") local socket = require("lib.stream.socket") local fiber = require("lib.fibers.f...
local RP = game:GetService("ReplicatedStorage"):WaitForChild("Remote_Functions"):FindFirstChild("RemoveCars") local RP_2 = game:GetService("ReplicatedStorage"):WaitForChild("Remote_Functions"):FindFirstChild("Destroy") local SP = script.Parent.Count local plr = game.Players.LocalPlayer local req print("Star...
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_frmInventoryArmor() local obj = GUI.fromHandle(_obj_newOb...
-------------------------------------------------------------------- --@classmod Geometry -- import local ComponentModule = require 'candy.Component' local DrawScript = require 'candy.gfx.DrawScript' -- module local GeometryModule = {} local draw = MOAIDraw ------------------------------------------------...
return { corpt = { acceleration = 0.096, airsightdistance = 600, brakerate = 0.075, buildcostenergy = 1078, buildcostmetal = 101, builder = false, buildpic = "corpt.dds", buildtime = 2000, canattack = true, canguard = true, canmove = true, canpatrol = true, canstop = 1, category = "ALL MOBI...
--[[ Description: Contains various variables & methods required for crossserver communication Author: Sceleratis Date: 12/05/2021 --]] local Root, Package, Utilities, Service local lastTick; local counter = 0; local ServerId = game.JobId; --- Cross-server commands. --- @class Server.CrossServer.Commands --- @s...
Quartz3DB = { ["namespaces"] = { ["Swing"] = { }, ["Buff"] = { }, ["Interrupt"] = { }, ["Flight"] = { }, ["Pet"] = { ["profiles"] = { ["皇阿瑪 - 藏宝海湾"] = { ["y"] = 514.7352153302887, ["x"] = 80.99493732046086, }, ["Default"] = { ["y"] = 335.9549441116124, ["x"] = 500....
local keyMap = { -- Exit the game escape = function() love.event.quit() end, -- Pause the game space = function() return 'pause' end } return keyMap
return { corsms = { activatewhenbuilt = true, buildangle = 8192, buildcostenergy = 68927, buildcostmetal = 8991, builder = false, buildinggrounddecaldecayspeed = 30, buildinggrounddecalsizex = 9, buildinggrounddecalsizey = 9, buildinggrounddecaltype = "cadvmsto_aoplane.dds", buildpic = "corsms.dds"...