various fixes and add

This commit is contained in:
Altaezio
2026-02-27 12:23:52 +01:00
parent add394d968
commit 2f23b3fcb5
14 changed files with 86 additions and 32 deletions

View File

@@ -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