May 13, 2024, 04:22:33

Author Topic: Removing items from the items list  (Read 4650 times)

Offline Lord_Valarian

  • Specialist
  • *
  • Posts: 64
  • Karma: 0
    • View Profile
Removing items from the items list
« on: December 16, 2010, 08:48:42 »
At the screen to remove, replace, and add devices. How do you remove an item from the list in scripts? In my case outdated tech, when you have phaser3, you no longer need phaser 1 and 2.


Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: Removing items from the items list
« Reply #1 on: December 17, 2010, 03:00:29 »
You don't "remove" them, you simply don't add them. Just comment out the lines in the "episode_x.rules" file that say "uAddDeviceToStock(#device, #);" at the mission you wish to taken them away from.