diff --git a/classes/InventoryItem.php b/classes/InventoryItem.php index 06bd4d0..53b5cfa 100644 --- a/classes/InventoryItem.php +++ b/classes/InventoryItem.php @@ -3,11 +3,17 @@ class InventoryItem extends Item { private $present; + private $artefact; public function __construct($row) { parent::__construct($row); $this->present = $row['present']; + $this->artefact = $row['artefact']; + + if ($this->artefact) $this->name = <<{$this->name} +NAME; } public function printInfo()