Expand fish and equipment catalogs
This commit is contained in:
parent
63e50e285d
commit
f55663c105
380 changed files with 9430 additions and 575 deletions
|
|
@ -377,7 +377,7 @@ func _can_drop_data(_at_position: Vector2, data: Variant) -> bool:
|
|||
if _bag == null or not _bag.owns_item(item_id) or _catalog == null:
|
||||
return false
|
||||
var item: ItemDataType = _catalog.get_item_by_id(item_id)
|
||||
return item != null and item.is_valid() and item.hotbar_allowed
|
||||
return item != null and item.is_available() and item.hotbar_allowed
|
||||
if kind == "cooler_fish":
|
||||
var catch_id: StringName = StringName(str(payload.get("catch_id", "")))
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue