Open eriktorbjorn opened 4 years ago
In Planetfall, it's handled by PRE-PUT
:
<ROUTINE PRE-PUT ()
<COND (<NOT ,PRSO>
<RFALSE>)>
<COND (<FSET? ,PRSO ,WORNBIT>
<TELL "You can't while you're wearing it." CR>)
(<OR <IN? ,PRSO ,GLOBAL-OBJECTS>
<NOT <FSET? ,PRSO ,TAKEBIT>>>
<TELL "Nice try." CR>)>>
We should probably check how other games handles that, assuming that they do.