-
i'm planning to do #2487. the plan is:
location temperature can be easily found via
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can't get an item_location from an item. You will have to pass the item_location through. You can go from an item_location TO an item though and as such rather than adding a new parameter you can replace the existing item parameter. This does suck, there might be a lot of nested calls need changing. You'll need to know where the item is in order to use item_location's constructors properly and that can be a lot of calls away. It's all going away as part of my refactor. item_location has been removed entirely and you can just use item everywhere. |
Beta Was this translation helpful? Give feedback.
You can't get an item_location from an item. You will have to pass the item_location through. You can go from an item_location TO an item though and as such rather than adding a new parameter you can replace the existing item parameter.
This does suck, there might be a lot of nested calls need changing. You'll need to know where the item is in order to use item_location's constructors properly and that can be a lot of calls away. It's all going away as part of my refactor. item_location has been removed entirely and you can just use item everywhere.