Release 2022.1.0 (January 2022 Update)
Pull Request: #592
Includes:
Changelog:
Features and enhancements:
-
Music overhaul
- Ported pre-loaded music list from legacy
- Added new music tracks to the list
- Custom music list (ability to save the URLs of custom music for later use)
- New interface
-
Better redecoration feature
- Self-repair is toggled together with redecoration
- When no interior is selected for redecoration, a random one is picked
- A simultaneous demat/mat animation instead of just "remove+appear"
- The new TARDIS inherits the state of the old one. That includes:
anti-gravs, hads, spin, cloak, handbrake, physlock, isomorphic, vortex flight and fast return coords
- Renamed spawnmenu right-click options to more intuitive names ("Select as default", "Select for redecoration")
- Forbade to redecorate someone else's TARDIS
-
Skin randomization
- When the TARDIS is spawned, a random skin is set
- The feature can be disabled in the settings
- Extension devs will be able to specify, which skins will be excluded from selection
Fixes:
- Tips without texts produce warnings instead of errors
- Missing tips will not break all other tips
- Fixed the infinite re-init of tips with "default" tip style selected
- Fixed the cloaking calculations happening when cloak isn't set
- Fixed the TARDIS not being able to spawn during redecoration while player isn't looking at anything
- That also fixed console error after redecoration (#577)
- Removed warning notification about missing tips in the interior
Internal changes (for developers):
-
PART:SetVisible(bool visible)
- a function for all parts -
ent:Timer(id, delay, action)
- a safe replacement for
timer.Simple()
- works for both interior and exterior entities
- a safe replacement for
-
Allowed to specify the entity category of the TARDIS in metadata (
metadata.Category
parameter) -
Allowed to specify the skins of the exteriors which will not appear at random (
metadata.Exterior.ExcludedSkins
) -
ext:GetPhyslock()
function -
ext:ForceDematState()
function, which makes the TARDIS dematerialised from the beginning -
Enhanced
TARDIS:Debug()
(special output function for devs, works if convartardis2_debug
is 1)- can have multiple arguments
- can print tables
- can recognize and print nil value
- has an alias called
tardisdebug()
- Added an option tardis2_debug_chat which determines whether debugged info is being printed in chat as well as in the console
- "Generating TARDIS font" console messages moved to debug info so that it isn't printed for everyone