Refactored Junk Dealer script, Selling junk items will now place "buy back" device in datapad

Moved the SUI Windows into Java so no need for global variables, updated
conversation messages for the changes to ProsePackage, added the "buy
back" control device - this contains the latest 10 items you sold to the
junk dealer.
This commit is contained in:
Waverunner
2014-05-27 18:13:00 -04:00
parent 32d2b18725
commit ce88128c2d
4 changed files with 330 additions and 450 deletions
+4 -2
View File
@@ -249,9 +249,11 @@ public class ObjectService implements INetworkDispatch {
object = new TangibleObject(objectID, planet, position, orientation, Template);
} else if(Template.startsWith("object/intangible")) {
if (Template.equals("object/intangible/buy_back/shared_buy_back_container.iff")) // Container sends TANO baselines but is in intangible folder.. lolsoe.
object = new TangibleObject(objectID, planet, position, orientation, Template);
else
object = new IntangibleObject(objectID, planet, position, orientation,Template);
object = new IntangibleObject(objectID, planet, position, orientation,Template);
} else if(Template.startsWith("object/weapon")) {
object = new WeaponObject(objectID, planet, position, orientation, Template);