GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

New extension: Extra Inventory Functions

Open github-actions[bot] opened this issue 2 years ago โ€ข 2 comments

Description

This extension adds functions that help out with modifying an inventory's contents.

Functions:

  • Add multiple items to an inventory
  • Remove multiple items from an inventory
  • Set the count of an item in an inventory

How to use the extension

No response

Checklist

  • [X] I've followed all of the best practices.
  • [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

Extra Inventory.zip

Extension file

ExtraInventory.zip

github-actions[bot] avatar Aug 17 '22 13:08 github-actions[bot]

Hello @DwubbersDaCoder ๐Ÿ‘‹ Cool extension right there :3 Would come handy when it comes to using the inventory ๐Ÿ‘

The only thing I noticed in the extension that require a fix is: โ€ข the variables naming should follow the guide of extensions best practices, for example: the variable ExtraInventory.ExtensionTemporaryInventory should be replaced with __ExtraInventoryExtension.TemporaryInventory

Let us know when you fix it โค๏ธ

VegeTato avatar Aug 23 '22 00:08 VegeTato

Here's the updated file @VegeTato , hopefully there won't be any more changes needed ExtraInventoryExtension.zip

DwubbersDaCoder avatar Sep 01 '22 02:09 DwubbersDaCoder