Hi,
Unless I've missed something, there isn't currently control script access to the hand_size parameter for inserters. This is a cosmetic-only parameter that adjusts how "bent" the inserter arm is drawn.
Currently, you can alter inserter pickup and dropoff points at runtime if you set allow_custom_vectors on the prototype in the data stage. But when you do this and adjust inserters during the game, they retain their original hand_size, so regular inserters look very stretched when they're extended to be "long-handed", and long-handeds look very bent-up when they're shortened to be "regular" length.
Any chance of being able to set hand_size on the fly?
[Request] R/W access to inserter hand_size
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: [Request] R/W access to inserter hand_size
Sorry, no. That value is read-only and stored in the prototype. Making it runtime adjustable would mean saving it for every single inserter regardless of it being used by a mod and that isn't going to happen for a cosmetic-only value.
If you want to get ahold of me I'm almost always on Discord.
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: [Request] R/W access to inserter hand_size
OK, thanks for explaining.