otherworldly_simulation/scene/trade_interaction_item/trade.gd
2024-11-01 23:23:07 +08:00

16 lines
284 B
GDScript

extends EInteractionItem
func E_pressed():
Global.main_scene.show_trader_board([Database.get_item("item_test_01"),Database.get_item("item_test_02")])
func _on_highlight():
$Sprite2D2.modulate=Color.GREEN
pass
func _exit_highlight():
$Sprite2D2.modulate=Color.WHITE
pass