Add portable RV homes and decor prototype
This commit is contained in:
parent
81decf2b71
commit
fe099f47dd
56 changed files with 5459 additions and 112 deletions
|
|
@ -5,6 +5,7 @@ const FishingRodDataType = preload("res://items/fishing_rod_data.gd")
|
|||
|
||||
const ArtShopStockType = preload("res://economy/art_shop_stock.gd")
|
||||
const FishingShopStockType = preload("res://economy/fishing_shop_stock.gd")
|
||||
const DecorCatalogType = preload("res://homes/decor_catalog.gd")
|
||||
|
||||
const MAX_LEDGER_ENTRIES: int = 64
|
||||
|
||||
|
|
@ -394,6 +395,10 @@ func _apply_equipped(data: Dictionary) -> void:
|
|||
item_id == FishingShopStockType.STANDARD_SHOVEL_ID
|
||||
and bool(data["owns_item"]),
|
||||
)
|
||||
avatar.set_active_decor_package(
|
||||
DecorCatalogType.has_product(item_id)
|
||||
and bool(data["owns_item"]),
|
||||
)
|
||||
equipped_state_changed.emit(
|
||||
peer_id, StringName(str(data["item_id"])), int(data["category"])
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue