Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Oen44 committed Feb 7, 2020
1 parent a4b4780 commit 2f4e786
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Inventory.gd
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const itemDictionary = {
};

var slotList = Array();
var itemList = Array();

var holdingItem = null;
var itemOffset = Vector2(0, 0);
Expand All @@ -73,13 +72,6 @@ onready var tooltip = get_node("../Tooltip");
onready var characterPanel = get_node("../CharacterPanel");

func _ready():
for item in itemDictionary:
var itemName = itemDictionary[item].itemName;
var itemIcon = itemDictionary[item].itemIcon;
var itemValue = itemDictionary[item].itemValue;
var slotType = itemDictionary[item].slotType;
itemList.append(ItemClass.new(itemName, itemIcon, null, itemValue, slotType));

var slots = get_node("SlotsContainer/Slots");
for _i in range(MAX_SLOTS):
var slot = ItemSlotClass.new();
Expand Down

0 comments on commit 2f4e786

Please sign in to comment.