Add "quick move" to/from storage graphics
This commit is contained in:
parent
9a5614de65
commit
5b68a6c7ba
@ -5,7 +5,7 @@ import ru.dbotthepony.mc.otm.client.render.sprites.MatteryAtlas
|
||||
import ru.dbotthepony.mc.otm.core.ResourceLocation
|
||||
|
||||
object WidgetLocation {
|
||||
val STORAGE_CONTROLS = MatteryAtlas(ResourceLocation(OverdriveThatMatters.MOD_ID, "textures/gui/widgets/storage_controls.png"), 90f, 72f)
|
||||
val STORAGE_CONTROLS = MatteryAtlas(ResourceLocation(OverdriveThatMatters.MOD_ID, "textures/gui/widgets/storage_controls.png"), 90f, 90f)
|
||||
val WIDGET_18 = MatteryAtlas(ResourceLocation(OverdriveThatMatters.MOD_ID, "textures/gui/widgets/widget_18.png"), 72f, 72f)
|
||||
val WIDGET_15 = MatteryAtlas(ResourceLocation(OverdriveThatMatters.MOD_ID, "textures/gui/widgets/widget_15.png"), 60f, 60f)
|
||||
val WIDGET_8 = MatteryAtlas(ResourceLocation(OverdriveThatMatters.MOD_ID, "textures/gui/widgets/widget_8.png"), 64f, 32f)
|
||||
|
@ -6,7 +6,7 @@ import ru.dbotthepony.mc.otm.core.immutableMap
|
||||
import ru.dbotthepony.mc.otm.core.math.RelativeSide
|
||||
|
||||
object Widgets18 {
|
||||
private val storageGrid = WidgetLocation.STORAGE_CONTROLS.grid(rows = 4, columns = 5)
|
||||
private val storageGrid = WidgetLocation.STORAGE_CONTROLS.grid(rows = 5, columns = 5)
|
||||
|
||||
val SORT_DESCENDING = storageGrid.next()
|
||||
val SORT_ASCENDING = storageGrid.next()
|
||||
@ -24,6 +24,12 @@ object Widgets18 {
|
||||
val PLAY = storageGrid.next()
|
||||
val STOP = storageGrid.next()
|
||||
val SORT_NOW = storageGrid.next()
|
||||
val MOVE_EVERYTHING_TO_STORAGE = storageGrid.next()
|
||||
val MOVE_EVERYTHING_FROM_STORAGE = storageGrid.next()
|
||||
val RESTOCK_TO_STORAGE = storageGrid.next()
|
||||
val RESTOCK_FROM_STORAGE = storageGrid.next()
|
||||
val RESTOCK_WITH_MOVE_TO_STORAGE = storageGrid.next()
|
||||
val RESTOCK_WITH_MOVE_FROM_STORAGE = storageGrid.next()
|
||||
|
||||
private val miscGrid = WidgetLocation.WIDGET_18.grid(4, 4)
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
Loading…
Reference in New Issue
Block a user