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
|
|
@ -8,6 +8,9 @@ const FishingShopInteractionType = preload(
|
|||
const PlayerStorageInteractionType = preload(
|
||||
"res://world/player_storage_interaction.gd"
|
||||
)
|
||||
const DecorShopInteractionType = preload(
|
||||
"res://world/decor_shop_interaction.gd"
|
||||
)
|
||||
const FOLIAGE_WIND_SHADER: Shader = preload(
|
||||
"res://world/materials/foliage_wind.gdshader"
|
||||
)
|
||||
|
|
@ -49,6 +52,10 @@ var fishing_shop_path: NodePath = (
|
|||
var player_storage_path: NodePath = (
|
||||
^"Interactables/PlayerStorageBox/InteractionArea"
|
||||
)
|
||||
@export_node_path("Area3D")
|
||||
var decor_shop_path: NodePath = (
|
||||
^"Interactables/DecorShopWorld/InteractionArea"
|
||||
)
|
||||
@export_group("Terrain Collision")
|
||||
# The imported GLB is the collision authority. Rebuild once per region load so
|
||||
# newly authored terrain and props cannot retain a stale saved fallback shape.
|
||||
|
|
@ -84,6 +91,10 @@ func get_player_storage() -> PlayerStorageInteractionType:
|
|||
return get_node_or_null(player_storage_path) as PlayerStorageInteractionType
|
||||
|
||||
|
||||
func get_decor_shop() -> DecorShopInteractionType:
|
||||
return get_node_or_null(decor_shop_path) as DecorShopInteractionType
|
||||
|
||||
|
||||
func get_saltwater_shoreline_mesh() -> MeshInstance3D:
|
||||
return get_node_or_null(^"ShorelineRibbons/Ocean") as MeshInstance3D
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -18,6 +18,10 @@ func get_fishing_shop() -> FishingShopInteraction:
|
|||
return null
|
||||
|
||||
|
||||
func get_decor_shop() -> DecorShopInteraction:
|
||||
return null
|
||||
|
||||
|
||||
func get_player_storage() -> PlayerStorageInteraction:
|
||||
return null
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue