CORE/mcl_colors: Add mod providing global color values #172
No reviewers
Labels
No Label
blocker
bug
code quality
confirmed
critical
discussion
high priority
incompatibility
incomplete feature
invalid
low priority
missing feauture
needs testing
packet spam
performance
project
regression
translations
unconfirmed
in review
ready for review
No Milestone
No project
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mineclonia/Mineclonia#172
Loading…
Reference in New Issue
No description provided.
Delete Branch "add-mcl-colors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
TRACKING ISSUE: #171
Code from MineClone2 and compatible with MineClone2 increasingly relies on having a single mod providing a table with color values. That mod is named mcl_colors. Newer MineClone2 mods – notably mcl_speedrun – may depend on mcl_colors and not work without it.
Solution
Cherry-pick the following commits, in order, from MineClone2:
ee084f33a7
– Add mcl_colorsDetails
The content of
mods/CORE/mcl_colors/init.lua
is just one table:Testing Steps
mods
directory.mcl_speedrun
mod for it.mcl_speedrun
the speedrun typeall-achievements
.434e545745
. Note thatmcl_speedrun
complains about missingmcl_colors
and no timer and no list of achievements are shown at the left side of the screen.6bd4b0e62c
. Note that a timer and a list of achievements are shown at the left side of the screen.To do
looks ok. seems unlikely to introduce bugs. I playtested it for an hour and did not run into any issues.