Commits


add another variation for the give command


added load and save command Saving is straightforward: dump to a file the location and some property of the objects. Loading also is simple: just read all the data and apply it (with some sanity check tho.)


fixed brace indentation on foreach_obj macro


added config file only the PROMPT is configurable as of now tho.


clean -> clear


use par->tag instead of par->obj->tags[0] par->tag is what the user typed, that may or may not be equal to par->obj->tags[0]. This improves the consistency. That code was written prior to the introduction of the struct param and thus used object->tags.


fix header order for readline readline needs stdio.h included, but before itself. Change needed after the recent clang-format


clang-format the code


initial commit