Jump to content

MRB

Member
  • Posts

    16
  • Joined

  • Last visited

Posts posted by MRB

  1. Using:

    Spoiler
    if getPlayer():getInventory():contains("Plank") == false then        getPlayer():getInventory():AddItem("Base.Plank");


     
    to add items to inv on keypress, how do I set it to add more than one of that item?
     
    Is there a command reference doc somewhere?
     
    Cheers!
  2. Hi guys,

     

    I'm really interested in modding PZ, and so having no idea how, am going to start small and simple.

     

    I want to adjust some statistics for various in-game items to make them more realistic, such as the axe breaking far too quickly.

     

    If I change the stats in items.txt, will those stats be the ones in play for any existing game save or will it have the original items.txt loaded in with it?

     

    Cheers!

     

    P.S - Is there also a way to add an item to the inventory of a player in a current save? You may be able to put 2+2 together here. :)

×
×
  • Create New...