From 1011f268ebefe342b6ed9a907969695a3f428a7e Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Sun, 16 Oct 2022 23:49:09 +0300 Subject: [PATCH] eternalfile notedata stuff, players stdlib module --- MANUAL.md | 15 ++++++++++++++- template | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/MANUAL.md b/MANUAL.md index a37db9b..06b4a8b 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -121,6 +121,7 @@ Uranium Template originally formed during the creation of a currently unreleased - [`rng:jump(): void`](#rngjump-void) - [`rng:longJump(): void`](#rnglongjump-void) - [`ease`](#ease) + - [`players`](#players) - [`profiler`](#profiler) - [`util`](#util) - [`aft`](#aft) @@ -1009,6 +1010,18 @@ _Exports globals_ A direct copy of [Mirin Template's `ease.lua`](https://github.com/XeroOl/notitg-mirin/blob/master/template/ease.lua), for convinience. See the docs for those [**here**](https://xerool.github.io/notitg-mirin/docs/eases.html). +### `players` + +_Exports globals_ + +Pulls in the players as `P[1-8]` and `P<1-8>`. + +```lua +require('stdlib.players') +P1:hidden(1) +P2:hidden(1) +``` + ### `profiler` _Defines callbacks_ @@ -1051,7 +1064,7 @@ require('stdlib.noautoplay')() ### `eternalfile` -A single function which turns your file into an eternal, neverending file, until the player puts it out of its misery by exiting. The current beat will always go from 0 to 1 and start over once this is enabled. +A single function which turns your file into an eternal, neverending file, until the player puts it out of its misery by exiting. The current beat will always go from 0 to 1 and start over once this is enabled. This also sets the notedata to nothing to avoid hitting padding mines. ```lua require('stdlib.eternalfile')() diff --git a/template b/template index 8262b62..6d75cad 160000 --- a/template +++ b/template @@ -1 +1 @@ -Subproject commit 8262b62e4c991658661581d9b52b7ebb3b3f585f +Subproject commit 6d75cade2534b3f41a7d8d76c97489f9ae76bf4d