Override recycler efficiency to 40% or 60%Solved

I spawn some recyclers using /maspawn at the smaller safe zones, but they have 60% recycling.

Could Monument Addons allow these to be 40% like outpost and bandit somehow?

This can be done in the future. How I would probably do it would be to implement the proposal to allow setting arbitrary flags, since currently the recycler efficiency is determined by a flag called Reserved9.
https://github.com/WheteThunger/MonumentAddons/issues/23

Following this proposal, you would run maflag Reserved9 while aiming at the Recycler, which would toggle between 40% and 60%.

I pushed a change to the GitHub repo to support setting flags.
https://github.com/WheteThunger/MonumentAddons

The usage is as I described above. Run maflag Reserved9 while aiming at a recycler spawned by this plugin to toggle the flag between enabled/disabled/unspecified.

  • For 60% recycle efficiency, force the flag to disabled
  • For 40% recycle efficiency, force the flag to enabled
  • If you override the flag and later decide you actually want to let the recycler decide its efficiency according to whether it's in a safe zone, toggle the flag to unspecified (and respawn the recycler if in a safe zone since it won't update automatically)
Also, reading your original post now, I'm confused because /maspawn-ing recyclers at any safe zone should result in 40% efficiency, so I'm guessing you somehow spawned those recyclers just outside the safe zone collider.

Thanks, we strip out the SafeZone collider so players can use their guns in the npc towns so that is probably why.  Didnt think about it before.  If I use /maspawn recycler in Bandit it spawns a 60% by default for me.  I know several pve servers like to strip the sae zone region out so this is helpful thank you!

Merged post

I downloaded the github verison and /maflag does not work for me

Can you confirm that "maflag" appears in the cs file you downloaded? If it does, do you see any error or feedback when running the command?

I goofed, and the .cs file was not correct. It is working as expected!  Switched to 40% recycler, thanks!

Locked automatically