Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

needles check? itemholder #67

Open
SwissalpS opened this issue Feb 14, 2022 · 3 comments
Open

needles check? itemholder #67

SwissalpS opened this issue Feb 14, 2022 · 3 comments
Labels

Comments

@SwissalpS
Copy link
Contributor

I don't see where the item meta field is ever set:

if meta:get_string("item") ~= "" then

on_destruct() seems pointless.

Did I overlook something?

itemframes and pedestals set that value [homedecor_modpack/itemframes] but sci_fi stands do not.
Also itemframes and pedestals protect their items while sci_fi counterparts give free gifts, behaviour which I like.

@SwissalpS
Copy link
Contributor Author

SwissalpS commented Feb 14, 2022

actually setting the 'item' field would make replacer:inspect more accurate, but it doesn't depend on it.

While testing I encountered another odity:
works best with powered_stand, itemholder does this too but seems not as much.

  • place two stands next to each other.
  • put an item on each
  • often the second item will go join the first.

This is core stacking nearby entities at work.
The work-around would be to add unstackable entity like pedestals do.

Edit: I think the time interval between placing the items has an influence.
It also seems that the items are then timed-out after a while, because I have empty stands some time after doing this.

@BuckarooBanzay
Copy link
Collaborator

Did I overlook something?

nope, this looks pointless... 👍

Also, fyi: https://github.com/pandorabox-io/pandorabox_custom/blob/22a83072a4a8456c9689e178387b380d1e68c0f2/scifi_override.lua#L155

And the discussion in #22 about the itemstand overhaul

@SwissalpS
Copy link
Contributor Author

Thanks, yes the 'insta-repair-patch' does fix all these issues and more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants