[ZScript Inventory]Duke Nukem-like first aid kit

Sprites, textures, sounds, code, and other resources belong here. Share and share-alike!
Forum rules
Before posting your Resource, please make sure you can answer YES to any of the following questions:
  • Is the resource ENTIRELY my own work?
  • If no to the previous one, do I have permission from the original author?
  • If no to the previous one, did I put a reasonable amount of work into the resource myself, such that the changes are noticeably different from the source that I could take credit for them?
If you answered no to all three, maybe you should consider taking your stuff somewhere other than the Resources forum.

Consult the Resource/Request Posting Guidelines for more information.

Please don't put requests here! They have their own forum --> here. Thank you!
Post Reply
Laskow
Posts: 100
Joined: Tue Feb 16, 2021 7:35 am
Preferred Pronouns: He/Him

[ZScript Inventory]Duke Nukem-like first aid kit

Post 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.
Last edited by Laskow on Fri Dec 13, 2024 1:35 am, edited 2 times in total.
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

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

Post by ramon.dexter »

May I know what's the purpose of "bool result", when you can directly use "Return Super.Use(pickup);"?
Post Reply

Return to “Resources”