sign engraver wip 3

This commit is contained in:
minjaesong
2024-03-22 21:15:39 +09:00
parent 8e1c586a5c
commit 4d1ea45a0f
4 changed files with 25 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ class MakeSign : ConsoleCommand {
}
val text = args[1]
val textLen = App.fontGame.getWidth(text)
val textLen = App.fontGame.getWidth(text) + 4
val panelCount = (args.getOrNull(2)?.toInt() ?: (textLen / TILE_SIZEF).ceilToInt()).coerceAtLeast(2)
val actorInventory = INGAME.actorNowPlaying!!.inventory