Add event inventory pickups

This commit is contained in:
2026-06-18 10:45:33 +09:00
parent cbfc221782
commit d69453472d
9 changed files with 119 additions and 16 deletions

View File

@@ -731,7 +731,7 @@ func _play_log_sfx(message: String) -> void:
_play_sfx("fire_skill")
elif message.contains(" moved to ") or message.contains(" advances to ") or message.contains(" takes formation at ") or message.contains(" arrives at "):
_play_sfx("footstep")
elif message.contains(" uses ") or message.contains(" equips ") or message.begins_with("Bought ") or message.begins_with("Sold "):
elif message.contains(" uses ") or message.contains(" equips ") or message.begins_with("Bought ") or message.begins_with("Sold ") or message.begins_with("Received "):
_play_sfx("item_pickup")
elif message.contains(" reaches Lv.") or message.contains(" promotes to "):
_play_sfx("menu_confirm")
@@ -1115,6 +1115,8 @@ func _floating_text_color(kind: String) -> Color:
return Color(0.36, 1.0, 0.46)
if kind == "mp":
return Color(0.48, 0.74, 1.0)
if kind == "item":
return Color(0.98, 0.76, 0.28)
if kind == "support":
return Color(1.0, 0.88, 0.28)
if kind == "debuff":