The Cove's wreck: driftwood and salt on the beach, the captain's sea chest (a treasure map, nails, salt; once each), each player's own X on the map; online too
This commit is contained in:
@@ -174,6 +174,8 @@ func _physics_process(delta: float) -> void:
|
||||
_set_prompt("[RMB] Eat %s" % def.name)
|
||||
elif def.has("wear"):
|
||||
_set_prompt("[RMB] Wear %s" % def.name)
|
||||
elif def.has("read"):
|
||||
_set_prompt("[RMB] Read the %s" % String(def.name).to_lower())
|
||||
elif def.has("bow"):
|
||||
var n: int = Actions.ammo_count(player, def.bow)
|
||||
_set_prompt("Drawing %d%%" % roundi(draw_power() * 100.0) if _drawing else "[hold LMB] Draw (%d arrows)" % n)
|
||||
@@ -262,6 +264,8 @@ func _unhandled_input(event: InputEvent) -> void:
|
||||
Actions.eat(player, player.selected)
|
||||
elif d.has("wear"):
|
||||
Actions.wear(player, player.selected)
|
||||
elif d.has("read"):
|
||||
player.get_parent().read_map(player) # (the treasure map: your X, on your map)
|
||||
elif d.get("weapon", {}).has("throw"):
|
||||
_throw()
|
||||
elif event.is_action_pressed("rotate_piece"):
|
||||
|
||||
Reference in New Issue
Block a user