7 lines
208 B
GDScript3
7 lines
208 B
GDScript3
|
extends StaticBody2D
|
||
|
|
||
|
func on_player_touched(player):
|
||
|
yield(Messages.showDialog("我给你怪物手册 它能预测出当前楼层各类怪物对你的伤害"),"hide")
|
||
|
player.add_prop("book")
|
||
|
queue_free()
|