Solved Stack consumables

Discussion in 'Plugin Requests' started by Locnar, Nov 4, 2014.

  1. Is it possible to create a pluggin that allows stacking wolf meat cooked and uncooked??
     
  2. I've experimented with this already, and it is possible to stack the items, the only issue that this causes is when you use the item (to eat it, or heal yourself, or whatever purpose it has) it will use the entire stack and not just one item.
     
  3. you could always unstack before you eat
     
  4. True, but then you'll have to notify all your players and I'm not sure if they'll automatically stack when you obtain them, I'll look into it again later tomorrow or the day after when I have a spare moment.

    But stacking them without being to able to use it without using the entire stack seems a bit pointless, I can see the players crying in chat "admin I wanted to use item x and the entire stack disappeared" :p
     
  5. i can see that could you show me the code so I can see how it would be done just for reference
     
  6. Hello guys!

    I would like to change ammo stacks (default 64 to 120 maybe) and medicine (default 1 to 5 large medkit, 10 medical syringe and 10 bandage)

    Does exist plugin already? i didn't find it with those stacks!

    i apologize if already exist...

    thanks :)
     
  7. Use this Plugin http://oxidemod.org/plugins/stack-sizes.812/ But you will need to change the config, I have done the stack sizes you wanted.
    Code:
            "name": "ammo_rifle",
            "stackSize": 120
          },
          {
            "name": "ammo_pistol",
            "stackSize": 120
          },
          {
            "name": "ammo_shotgun",
            "stackSize": 120
          },
          {
            "name": "largemedkit",
            "stackSize": 5
          },
          {
            "name": "syringe_medical",
            "stackSize": 10
          },
          {
            "name": "bandage",
            "stackSize": 10
          }
        ]
      }
    }
     
  8. sup Bilbo,

    all worked fine, thanks!

    HV ammo is a different entity, right? cuz i don't wanna to stack more than default

    thanks again bro.
     
  9. For HV it would be this:
    Code:
            "name": "ammo_rifle_hv",
            "stackSize": 120
          },
          {
            "name": "ammo_pistol_hv",
            "stackSize": 120
          },
          {
    No problem, glad I could help.
     
  10. Bilbo, i tried to stack some meat and arrows but didn't worked...is that right?!
    Code:
         {  
            "name": "wooden_arrow",
            "stackSize": 100
         },
         {
            "name": "raw_wolf_meat",
            "stackSize": 100
         },
         {
            "name": "cooked_wolf_meat",
            "stackSize": 50
         }
     
    Last edited by a moderator: Jun 5, 2015
  11. hello.as adding incendiary , explosive ammunition etc ...
     
  12. please rocket ammo config
     
  13. Check the reply above your post....