feat: add npc simulation, instancing and visual scene
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
extends CharacterBody3D
|
||||
|
||||
var sim_id: int = -1
|
||||
var npc_name: String = ""
|
||||
var profession: String = ""
|
||||
|
||||
func setup_from_sim(npc: SimNPC) -> void:
|
||||
sim_id = npc.id
|
||||
npc_name = npc.npc_name
|
||||
profession = npc.profession
|
||||
name = "NPC_%s_%s" % [sim_id, npc_name]
|
||||
Reference in New Issue
Block a user