Skip to content

free_magic

Prototypeint free_magic(void)

free_magic() counts how many of the 8 magic inventory slots remain unused. It is a good idea to check before calling add_magic(). See free_items() for a related example.

For more information, see Items

YeDink
<= 0.94
In YeoldeDink <=0.94 `free_magic()` will report 1 free slot when there is 0.