GDQuest / GDQuest/learn-gdscript

24. Accessing values in arrays, 1. Using the right items

Open
#758 0 comments 1 reaction 0 assignees View on GitHub
content
Dominant language
GDScript
Stars
2.8k
Forks
235
PR merge metrics
No merged PRs in 30d

Description

https://gdquest.github.io/learn-gdscript/#course/lesson-24-access-array-indices/practice-ErO9L4MW.tres

We call "use_item(inventory[n])" in our function, but inventory is declared at top is "var inventory = []" which is empty. Maybe the Goals should say something about "inventory, which will be populated with the items shown in the image on the right" or something.

There is a general inconsistency where sometimes we are told about some pre-populated variable that is not shown in the code editor in some lessons, but then others show the variable (being initialized) with its values, or some where we show that the variable exist but not what values it is populated with and no clarification that it will be populated by some (hidden) code.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.