Jump to content

SindreA94

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by SindreA94


  1. I am currently creating a starter medkit with supplies but can't fit all items in container...


    Here's the code:

    itemEnt = medKit.GetInventory().CreateInInventory( "BandageDressing" );
        if ( Class.CastTo( itemBs, itemEnt ) )
        itemBs.SetQuantity( 4 );

    medKit.GetInventory().CreateInInventory("DisinfectantAlcohol");
    medKit.GetInventory().CreateInInventory("TetracyclineAntibiotics");
    medKit.GetInventory().CreateInInventory("SurgicalGloves_LightBlue");
    medKit.GetInventory().CreateInInventory("PainkillerTablets");
     

    The last item "PainkillerTablets" won't fit since the remaning slots are side by side...

    Is there a way to rotate items in the init.c file?

×