Page 1 of 1

[ZScript Inventory]Duke Nukem-like first aid kit

Posted: Mon Dec 05, 2022 2:07 pm
by Laskow
This is the first aid kit which is working like Duke Nukem's medikit or Blood's Doctor's bag. It doesn't require DECORATE or ACS, and the code is the simplest I've ever seen.
Note that both of the sprite and sound are not rich, so I recommend replacing them

Delete this thread. I have no will to help anyone in this forum anymore.

Re: [ZScript Inventory]Duke Nukem-like first aid kit

Posted: Tue Dec 06, 2022 4:39 am
by ramon.dexter
May I know what's the purpose of "bool result", when you can directly use "Return Super.Use(pickup);"?