when i try to add this object to my inventory i get this
room3.asc(43): Error (line 43): Type mismatch: cannot convert 'Object*' to 'InventoryItem*'
can you please tell me what is wrong here is my script
function dragonlily_Interact()
{
player.AddInventory (dragonlily);
}
room3.asc(43): Error (line 43): Type mismatch: cannot convert 'Object*' to 'InventoryItem*'
can you please tell me what is wrong here is my script
function dragonlily_Interact()
{
player.AddInventory (dragonlily);
}