AleksLitynski/teller

Remove from Database

Closed this issue · 1 comments

Val and I have been talking and we think it would be worthwhile to be able to remove objects from the database (or at least one part of it) and re-attach them to another part of the database (or at least another part of it).

For example, if a book is on the table, and the player wants to take it and add it to her inventory, she should be able to do that. Furthermore, once the book is in the player's inventory, it should no longer be on the table--removing the object from the table should not result in the existence of 2 identical objects.

If there is already a means of doing this, feel free to let us know/remind us.

use the Update query to change the weight to the table and increase the weight to the inventory