0 of 0

File information

Last updated

Original upload

Created by

m

Uploaded by

m150

Virus scan

Safe to use

Tags for this mod

4 comments

  1. DEADMANAJAY
    DEADMANAJAY
    • supporter
    • 0 kudos
    There are some brutal ways to teach Greylings a lesson - This just became one of my top favorites.
  2. Koosemose
    Koosemose
    • member
    • 4 kudos
    For adding upgrade cost, here is an example from one I'm working on :

                recipe.m_resources = new Piece.Requirement[]
                {
                new Piece.Requirement()
                {
                    m_resItem = PrefabManager.Cache.GetPrefab<ItemDrop>("Iron"),
                    m_amount = 10,
                    m_amountPerLevel = 5
                },
                new Piece.Requirement()
                {
                    m_resItem = PrefabManager.Cache.GetPrefab<ItemDrop>("DeerHide"),
                    m_amount = 10
                }
                };


    So in this recipe, it will cost 10 deer hide and 10 iron to create, then upgrades will cost 5 per level (5, 10, 15 and so on). Hope this is enough to help.
    1. m150
      m150
      • member
      • 1,632 kudos
      Great Thanks!
      I am gonna try it.
  3. hugh12
    hugh12
    • supporter
    • 1 kudos
    Man these half life graphics havent aged well xD