1. Check out the Store if you're looking to Buy HL2RP or other schemas for your server. You can click Buy Schemas on the very top navigation bar to visit the store.
  2. Use the Plugin Center to easily subscribe to and auto-install Clockwork plugins to your server, or submit and share plugins you have developed.
  3. Having trouble setting up or developing with Clockwork? Check out the Wiki or post in the Support Forum for advice from fellow users.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

Other Mixed's Plugins Collection

Discussion in 'Plugins' started by Mixed, Apr 24, 2017.

  1. Erih

    Erih Clockwork Customer

  2. I'm interested. ;)
     
  3. What workshop item is required for the UU food plugin?
     
  4. Mixed

    Mixed C16 Support Staff Staff Member Store Support Foreign Moderator Clockwork Customer Active Member

  5. [I:RP] Xeno

    [I:RP] Xeno Active Member

    Oh, didn't know this was here. I was planning on coding these food items in myself. Lol, just saved me a lot of time. Cheers.

    Edit: Are the items supposed to not be edible?
     
    Last edited: Dec 21, 2017
  6. Are the consumables not consumable?
     
  7. [I:RP] Xeno

    [I:RP] Xeno Active Member

    Nope.
    Only one of them, the CP Ration, and the code was not even correct. Mixed spotted the issue and I corrected it in my files.
    I could add some code to allow players to actually consume them but it would be better if he does it.
     
  8. So the CP ration is the only thing that's broken. Anything else or?
     
  9. Mixed

    Mixed C16 Support Staff Staff Member Store Support Foreign Moderator Clockwork Customer Active Member

    I'll fix the More Food UU tonight.

    With different bonus stats for each item.
     
    • Like Like x 1
  10. Mixed

    Mixed C16 Support Staff Staff Member Store Support Foreign Moderator Clockwork Customer Active Member

    • Good Coder Good Coder x 2
  11. Papabear3g

    Papabear3g Clockwork Customer Active Member

    Is there an updated link that makes the foods consumable? Or should I try making them
     
  12. Mixed

    Mixed C16 Support Staff Staff Member Store Support Foreign Moderator Clockwork Customer Active Member

    I'll update this plugin soon.
     
  13. [I:RP] Xeno

    [I:RP] Xeno Active Member

    I started remaking them myself for my community. When I am done you can have them.
     
  14. Papabear3g

    Papabear3g Clockwork Customer Active Member

    I found a fix, you just had to replace those end lines of each items with
    -- Called when a player uses the item.
    function ITEM:OnUse(player, itemEntity)
    player:SetHealth( math.Clamp( player:Health() + 10, 0, player:GetMaxHealth() ) );

    player:BoostAttribute(self.name, ATB_ENDURANCE, 2, 120);
    player:BoostAttribute(self.name, ATB_ACCURACY, 1, 120);
    end;

    -- Called when a player drops the item.
    function ITEM:OnDrop(player, position) end;

    ITEM:Register();
    And obviously change the attribute numbers to what you want
     
  15. [I:RP] Xeno

    [I:RP] Xeno Active Member

    Yeah I know, but the descriptions and names are all kinda weird or at least seem weird to me so I will remake it anyways.
    It'll support the Primary Needs V2 Plugin.
     
  16. Mixed

    Mixed C16 Support Staff Staff Member Store Support Foreign Moderator Clockwork Customer Active Member

    The new version of More Food UU will provide Primary Needs V2 support.
     
  17. [I:RP] Xeno

    [I:RP] Xeno Active Member

    Oh nice
    Well ima make my own anyways.
    Too far to turn back now.
     
  18. Papabear3g

    Papabear3g Clockwork Customer Active Member

    Hey, would you know where to find the Unique ID's for the citizen rations, loyalist rations, cp rations,etc?