Trying to implelement a inventory system

SO I WAS TRYING TO IMPLEMENT THIS INVENTORY SYSTEM FROM YOUTUBE AND I KEEP GETTING THE ERROR AFTER EXITING GODOT AND REOPENING THE PROJECT

THE TUTORIAL IM FOLLOWING:

Can you paste your script?

@tool
extends Node2D

@ export var item_type =“”
@ export var item_name =“”
@ export var item_texture = Texture
@ export var item_effect =“”

var scene_path: String = “res://scenes/inventory_item.tscn”

@ onready var icon_sprite = $Sprite2D

var player_in_range = false

func _ready():
if not Engine.is_editor_hint():
icon_sprite.texture = item_texture

func _process(delta):
if Engine.is_editor_hint():
icon_sprite.texture = item_texture

if player_in_range and Input.is_action_just_pressed("ui_add"):
	pickup_item()

func pickup_item():
var item = {
“quantity”: 1,
“item_type”: item_type,
“item_name”: item_name,
“item_texture”: item_texture,
“item_effect”: item_effect,
“scene_path”: scene_path
}
if State.player_node:
State.add_item(item)
self.queue_free()

func _on_area_2d_body_entered(body):
if body.is_in_group(“player”):
player_in_range = true
body.interact_ui.visible = true

func _on_area_2d_body_exited(body):
if body.is_in_group(“player”):
player_in_range = false
body.interact_ui.visible = false

Can you please format your code by placing three backticks (```) before and after your code?