mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 12:34:05 +09:00
UI testing env and working text buttons
Former-commit-id: b8fd27c7f71f9bc8da259ae132badcbc9ce117ac
This commit is contained in:
@@ -20,6 +20,8 @@ abstract class InventoryItem {
|
||||
|
||||
abstract var baseToolSize: Double?
|
||||
|
||||
abstract var category: String // "weapon", "tool", "armor", etc. (all smallcaps)
|
||||
|
||||
/**
|
||||
* Where to equip the item
|
||||
*/
|
||||
@@ -55,7 +57,7 @@ abstract class InventoryItem {
|
||||
* For static item, it must be 1.0. If you tinkered the item to be bigger,
|
||||
* it must be re-assigned as Dynamic Item
|
||||
*/
|
||||
abstract var scale: Double
|
||||
open var scale: Double = 1.0
|
||||
|
||||
/**
|
||||
* Effects applied continuously while in pocket
|
||||
|
||||
Reference in New Issue
Block a user