basic scripting
This commit is contained in:
@@ -92,6 +92,10 @@ fn main() -> ExitCode {
|
||||
game.log(LogLine::raw("Press 'q' to exit."));
|
||||
game.log(LogLine::raw("Welcome to kiln - ").append(caps.status_logline()));
|
||||
|
||||
// Now that the board is fully loaded and the terminal is ready, run each
|
||||
// scripted object's `init()` hook.
|
||||
game.run_init();
|
||||
|
||||
let mut ui = Ui::default();
|
||||
let result = run(&mut terminal, &mut game, &mut ui);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user