mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
sign engraver wip 3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user