-
SuperStarSonic
- Member
- Posts: 160
- Joined: Fri Oct 14, 2022 20:30
- GitHub:
Python-Sargent
- In-game: SuperStarSonic
- Location: Earth (may be out of date)
by SuperStarSonic »
Post
Problem
I need to check the groups of an item for a particular group, I have the Itemstack object that I need, how would I check the groups of the Itemstack?
Code: Select all
srclist = inv:get_list("src")
local chargeable = srclist:get_groups().chargeable --how do I do this?
-
Desour
- Member
- Posts: 1472
- Joined: Thu Jun 19, 2014 19:49
- GitHub:
Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
by Desour »
Post
-
SuperStarSonic
- Member
- Posts: 160
- Joined: Fri Oct 14, 2022 20:30
- GitHub:
Python-Sargent
- In-game: SuperStarSonic
- Location: Earth (may be out of date)
by SuperStarSonic »
Post
I did not find anything in the docs that would work when I checked, so I resorted to this, but I guess I was wrong.
Users browsing this forum: No registered users and 7 guests