Module 3 · In Studio · challenge 3 of 3 in this lesson
init.server.luau sets workspace attribute WrenchBeforeMap to true
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Leave a mark in the live server that the wrench started before the map. The solution is challenges/solutions/boot-order.md in the game repo.
- Start from
- The game at milestone m06 (download)
- Grade it
- To grade work from an earlier milestone, apply your challenge changes to a checkout based on
m14-ship, which includes the Course Runner. In Studio, press Play, then rungame.ServerScriptService.RunGameTests:Invoke("boot-order")in the server command bar. Copy the pass code from Output.
Done means
- init.server.luau sets workspace attribute WrenchBeforeMap to true
- Self-check, the test cannot see it: the attribute is set on the line after CombatService.start() and before MapBuilder.build(), and the wrench still starts before the map
- The Course Runner prints TEST PASS boot_wrench_before_map and a pass code