Skip to content

free_magic

Version: Dink   Freedink   DinkHD   YeDink

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

Freedink
`free_magic()` will report 1 free slot when there is 0.