Author Topic: Editing Autodrop Script  (Read 2463 times)

0 Members and 1 Guest are viewing this topic.

Tony

  • Goblin Pup
  • *
  • Posts: 49
  • Reputation: +0/-0
Editing Autodrop Script
« on: March 5, 2007 09:15 am CST »
Straight to the point, my objective is to edit which ever file controls the autodrop function of the deus pack to include a few more items that I consider I don't need so I don't have to drop them manually. I have no scripting experience but I'm a decent learning when it comes to technology, so what would be my first step?

[edited 03-05-07 10:18am]
Think I might have found it, I opened the autodrop.cs file and when down to the drop gems, arrows & rusties section of it and just added the lines;
else if(getItemCount("Blue Potions")) drop("Blue Potions");

Changing the "Blue Potion" text to whatever item I want drop, is that how it's done? Also how could I activate this to take effect while in-game?

[markCraeo]
« Last Edit: December 31, 1969 06:00 pm CST by Tony »

Vorter_X_

  • Centurian Lord
  • ********
  • Posts: 2,693
  • Reputation: +2/-0
(No subject)
« Reply #1 on: March 5, 2007 10:06 am CST »
Copy and paste the line under the last item before the ; and change the titles like you said to w\e they are.
« Last Edit: December 31, 1969 06:00 pm CST by Vorter_X_ »