various fixes and add
This commit is contained in:
@@ -167,3 +167,13 @@ func card_info() -> CardInfo:
|
||||
info.sections.append(m.card_section())
|
||||
|
||||
return info
|
||||
|
||||
func get_card_up_padding() -> float:
|
||||
match data.get_state():
|
||||
PlantData.State.MATURE:
|
||||
return 100.0
|
||||
PlantData.State.GROWING:
|
||||
return 75
|
||||
PlantData.State.PLANTED:
|
||||
return 50
|
||||
return Pointer.CARD_UP_PADDING
|
||||
Reference in New Issue
Block a user