From f61b2f761a480bb2531107a807234d93618b1870 Mon Sep 17 00:00:00 2001 From: Waverunner Date: Wed, 27 Nov 2013 10:28:02 -0500 Subject: [PATCH 1/6] Added Ignore List & cleaned up code in TravelService --- scripts/commands/addignore.py | 10 ++ scripts/commands/removeignore.py | 10 ++ src/protocol/swg/AddIgnoreMessage.java | 73 ++++++++++++ src/protocol/swg/ChatOnAddFriend.java | 21 ++++ .../swg/ChatOnChangeFriendStatus.java | 28 ++++- .../objects/player/PlayerMessageBuilder.java | 38 +++++++ .../objects/player/PlayerObject.java | 16 +++ src/services/chat/ChatService.java | 61 +++++++++- src/services/travel/ShuttleCountdown.java | 39 ------- src/services/travel/TravelService.java | 105 +----------------- 10 files changed, 250 insertions(+), 151 deletions(-) create mode 100644 scripts/commands/addignore.py create mode 100644 scripts/commands/removeignore.py create mode 100644 src/protocol/swg/AddIgnoreMessage.java delete mode 100644 src/services/travel/ShuttleCountdown.java diff --git a/scripts/commands/addignore.py b/scripts/commands/addignore.py new file mode 100644 index 00000000..d8da29a8 --- /dev/null +++ b/scripts/commands/addignore.py @@ -0,0 +1,10 @@ +import sys + +def setup(): + return + +def run(core, actor, target, commandString): + actorGhost = actor.getSlottedObject("ghost") + chatSrvc = core.chatService + chatSrvc.addToIgnoreList(actor, commandString) + return \ No newline at end of file diff --git a/scripts/commands/removeignore.py b/scripts/commands/removeignore.py new file mode 100644 index 00000000..4561dd79 --- /dev/null +++ b/scripts/commands/removeignore.py @@ -0,0 +1,10 @@ +import sys + +def setup(): + return + +def run(core, actor, target, commandString): + actorGhost = actor.getSlottedObject("ghost") + chatSrvc = core.chatService + chatSrvc.removeFromIgnoreList(actor, commandString) + return \ No newline at end of file diff --git a/src/protocol/swg/AddIgnoreMessage.java b/src/protocol/swg/AddIgnoreMessage.java new file mode 100644 index 00000000..44455a1c --- /dev/null +++ b/src/protocol/swg/AddIgnoreMessage.java @@ -0,0 +1,73 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package protocol.swg; + +import java.nio.ByteOrder; + +import main.NGECore; + +import org.apache.mina.core.buffer.IoBuffer; + +import engine.resources.config.Config; +import engine.resources.config.DefaultConfig; +import engine.resources.objects.SWGObject; + +public class AddIgnoreMessage extends SWGMessage { + + private SWGObject player; + private boolean type; + private String ignoreName; + + public AddIgnoreMessage(SWGObject obj, String name, boolean type) { + this.player = obj; + this.ignoreName = name; + this.type = type; + } + + @Override + public void deserialize(IoBuffer data) { + + } + + @Override + public IoBuffer serialize() { + Config config = NGECore.getInstance().getConfig(); + String server = config.getProperty("GALAXY_NAME"); + + IoBuffer result = IoBuffer.allocate(34 + server.length() + ignoreName.length()).order(ByteOrder.LITTLE_ENDIAN); + + result.putShort((short) 6); + result.putInt(0x70E9DA0F); + result.putLong(player.getObjectId()); + + result.put(getAsciiString("SWG")); + result.put(getAsciiString(server)); + result.put(getAsciiString(ignoreName)); + + result.putInt(0); + result.put((byte) ((type) ? 1 : 0)); // add = T, remove = F + result.putInt(0); + + return result.flip(); + } + +} diff --git a/src/protocol/swg/ChatOnAddFriend.java b/src/protocol/swg/ChatOnAddFriend.java index be805945..0b84e6ff 100644 --- a/src/protocol/swg/ChatOnAddFriend.java +++ b/src/protocol/swg/ChatOnAddFriend.java @@ -1,3 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ package protocol.swg; import java.nio.ByteOrder; diff --git a/src/protocol/swg/ChatOnChangeFriendStatus.java b/src/protocol/swg/ChatOnChangeFriendStatus.java index 5eeb3f33..c93e5265 100644 --- a/src/protocol/swg/ChatOnChangeFriendStatus.java +++ b/src/protocol/swg/ChatOnChangeFriendStatus.java @@ -1,3 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ package protocol.swg; import java.nio.ByteOrder; @@ -28,12 +49,9 @@ public class ChatOnChangeFriendStatus extends SWGMessage { @Override public IoBuffer serialize() { - Config config = new Config(); - config.setFilePath("nge.cfg"); - if (!(config.loadConfigFile())) { - config = DefaultConfig.getConfig(); - } + Config config = NGECore.getInstance().getConfig(); String server = config.getString("GALAXY_NAME"); + IoBuffer result = IoBuffer.allocate(100 + this.name.length() + server.length()).order(ByteOrder.LITTLE_ENDIAN); result.putShort((short)0x06); result.putInt(0x54336726); diff --git a/src/resources/objects/player/PlayerMessageBuilder.java b/src/resources/objects/player/PlayerMessageBuilder.java index cb480a88..fc89c30b 100644 --- a/src/resources/objects/player/PlayerMessageBuilder.java +++ b/src/resources/objects/player/PlayerMessageBuilder.java @@ -576,6 +576,44 @@ public class PlayerMessageBuilder extends ObjectMessageBuilder { } + public IoBuffer buildIgnoreAddDelta(String ignoreName) { + IoBuffer buffer = bufferPool.allocate(30, false).order(ByteOrder.LITTLE_ENDIAN); + PlayerObject player = (PlayerObject) object; + + buffer.putInt(1); + buffer.putInt(player.getIgnoreListUpdateCounter()); + + buffer.put((byte) 1); // updateType (SubType) + + buffer.putShort((short) player.getIgnoreList().indexOf(ignoreName)); + buffer.put(getAsciiString(ignoreName)); + + int size = buffer.position(); + buffer.flip(); + + buffer = createDelta("PLAY", (byte) 9, (short) 1, (short) 8, buffer, size + 4); + + return buffer; + } + + public IoBuffer buildIgnoreRemoveDelta(String removeName) { + IoBuffer buffer = bufferPool.allocate(30, false).order(ByteOrder.LITTLE_ENDIAN); + PlayerObject player = (PlayerObject) object; + + buffer.putInt(1); + buffer.putInt(player.getIgnoreListUpdateCounter()); + + buffer.put((byte) 0); + buffer.putShort((short) player.getIgnoreList().indexOf(removeName)); + + int size = buffer.position(); + buffer.flip(); + + buffer = createDelta("PLAY", (byte) 9, (short) 1, (short) 8, buffer, size + 4); + + return buffer; + } + public int getProfData(String profession) { switch (profession) { diff --git a/src/resources/objects/player/PlayerObject.java b/src/resources/objects/player/PlayerObject.java index fa60f7c6..8e9dcfd0 100644 --- a/src/resources/objects/player/PlayerObject.java +++ b/src/resources/objects/player/PlayerObject.java @@ -433,6 +433,22 @@ public class PlayerObject extends SWGObject { } } + public void ignoreAdd(String ignoreName) { + synchronized(objectMutex) { + setIgnoreListUpdateCounter(getIgnoreListUpdateCounter() + 1); + getContainer().getClient().getSession().write(messageBuilder.buildIgnoreAddDelta(ignoreName)); + ignoreList.add(ignoreName); + } + } + + public void ignoreRemove(String removeName) { + synchronized(objectMutex) { + setIgnoreListUpdateCounter(getIgnoreListUpdateCounter() + 1); + getContainer().getClient().getSession().write(messageBuilder.buildIgnoreRemoveDelta(removeName)); + ignoreList.remove(removeName); + } + } + public void setIgnoreListUpdateCounter(int ignoreListUpdateCounter) { synchronized(objectMutex) { this.ignoreListUpdateCounter = ignoreListUpdateCounter; diff --git a/src/services/chat/ChatService.java b/src/services/chat/ChatService.java index 0b32913a..2d0c26c4 100644 --- a/src/services/chat/ChatService.java +++ b/src/services/chat/ChatService.java @@ -46,6 +46,7 @@ import engine.resources.service.INetworkRemoteEvent; import resources.common.*; import resources.objects.creature.CreatureObject; import resources.objects.player.PlayerObject; +import protocol.swg.AddIgnoreMessage; import protocol.swg.ChatOnChangeFriendStatus; import protocol.swg.ChatDeletePersistentMessage; import protocol.swg.ChatFriendsListUpdate; @@ -71,6 +72,8 @@ public class ChatService implements INetworkDispatch { this.core = core; core.commandService.registerCommand("spatialchatinternal"); core.commandService.registerCommand("socialinternal"); + core.commandService.registerCommand("addignore"); + core.commandService.registerCommand("removeignore"); mailODB = core.getMailODB(); } @@ -177,10 +180,13 @@ public class ChatService implements INetworkDispatch { if(sender == null) return; - - SWGObject recipient = getObjectByFirstName(firstName); + PlayerObject recipientGhost = (PlayerObject) recipient.getSlottedObject("ghost"); + + if (recipientGhost.getIgnoreList().contains(sender.getCustomName().toLowerCase())) + return; + if(recipient == null || recipient.getClient() == null || recipient.getClient().getSession() == null) { ChatOnSendInstantMessage response = new ChatOnSendInstantMessage(4, chatInstantMsg.getSequence()); //System.out.println(response.serialize().getHexDump()); @@ -219,7 +225,12 @@ public class ChatService implements INetworkDispatch { return; SWGObject recipient = getObjectByFirstName(packet.getRecipient()); - + + PlayerObject recipientGhost = (PlayerObject) recipient.getSlottedObject("ghost"); + + if (recipientGhost.getIgnoreList().contains(sender.getCustomName().toLowerCase())) + return; + if(recipient == null || recipient.getSlottedObject("ghost" ) == null) { ChatOnSendPersistentMessage response = new ChatOnSendPersistentMessage(4, packet.getCounter()); session.write(response.serialize()); @@ -421,6 +432,50 @@ public class ChatService implements INetworkDispatch { //actor.friendAdd(friendShortName); } + public void addToIgnoreList(SWGObject actor, String ignoreName) { + PlayerObject ghost = (PlayerObject) actor.getSlottedObject("ghost"); + CreatureObject creature = (CreatureObject) actor; + List ignoreList = ghost.getIgnoreList(); + + if (ignoreList.contains(ignoreName.toLowerCase())) { + creature.sendSystemMessage(ignoreName + " is already in your ignore list.", (byte) 0); + return; + } else { + // TODO: Do check for valid names to ignore + + AddIgnoreMessage addIgnore = new AddIgnoreMessage(actor, ignoreName.toLowerCase(), true); + actor.getClient().getSession().write(addIgnore.serialize()); + Console.println("Sent the add ignore message!"); + ghost.ignoreAdd(ignoreName.toLowerCase()); + Console.println("Sent the add ignore delta!"); + creature.sendSystemMessage(ignoreName + " is now ignored.", (byte) 0); + } + + } + + public void removeFromIgnoreList(SWGObject actor, String ignoreName) { + PlayerObject ghost = (PlayerObject) actor.getSlottedObject("ghost"); + CreatureObject creature = (CreatureObject) actor; + List ignoreList = ghost.getIgnoreList(); + + if (ignoreList.contains(ignoreName.toLowerCase())) { + for (String name : ignoreList) { + if(name.equalsIgnoreCase(ignoreName)) { + //Console.println("Name found!"); + AddIgnoreMessage removeIgnore = new AddIgnoreMessage(actor, ignoreName.toLowerCase(), false); + actor.getClient().getSession().write(removeIgnore.serialize()); + //Console.println("Sent AddIgnoreMessage to remove friend!"); + ghost.ignoreRemove(ignoreName.toLowerCase()); + //Console.println("Sent ignoreRemove delta!"); + creature.sendSystemMessage(ignoreName + " is no longer ignored.", (byte) 0); + + // TODO: Find out why player must click on name twice in list for name to be removed. + break; + } + } + } else { return; } + } + public void sendPersistentMessageHeader(Client client, Mail mail) { if(client.getSession() == null) diff --git a/src/services/travel/ShuttleCountdown.java b/src/services/travel/ShuttleCountdown.java deleted file mode 100644 index ce4c7042..00000000 --- a/src/services/travel/ShuttleCountdown.java +++ /dev/null @@ -1,39 +0,0 @@ -package services.travel; - -import java.util.Vector; -import java.util.Map.Entry; -import java.util.concurrent.ScheduledExecutorService; -import java.util.concurrent.ScheduledFuture; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.atomic.AtomicInteger; - -import main.NGECore; -import resources.common.Console; -import engine.resources.scene.Planet; - -public class ShuttleCountdown implements Runnable { - - private NGECore core; - private final AtomicInteger runCount = new AtomicInteger(); - private final Runnable delegate; - private volatile ScheduledFuture self; - - public ShuttleCountdown(Runnable delegate, NGECore core) { - this.core = core; - this.delegate = delegate; - } - - @Override - public void run() { - delegate.run(); - Console.println("Atomic int: " + runCount.get()); - if (runCount.incrementAndGet() == 60) { - Console.println("Shutting down countdown!"); - self.cancel(false); - } - } - - public void startCountdown(ScheduledExecutorService scheduler) { - self = scheduler.scheduleAtFixedRate(delegate, 0, 1, TimeUnit.SECONDS); - } -} diff --git a/src/services/travel/TravelService.java b/src/services/travel/TravelService.java index df05a4c6..956c34ca 100644 --- a/src/services/travel/TravelService.java +++ b/src/services/travel/TravelService.java @@ -136,105 +136,6 @@ public class TravelService implements INetworkDispatch { } }); - } - public void startShuttleSchedule() { - final Runnable shuttleRun = new Runnable() { - - @Override - public void run() { - - for (Entry> entry : travelMap.entrySet()) { - for(TravelPoint tp : entry.getValue()) { - if (tp.getShuttle() == null) - continue; - else { - - if (tp.isShuttleAvailable() == false) { - tp.getShuttle().setPosture((byte) 0); - tp.setShuttleLanding(true); - handleShuttleLanding(); - //Console.println("Started handle shuttle landing"); - } - else { - tp.getShuttle().setPosture((byte) 2); - tp.setShuttleAvailable(false); - tp.setShuttleLanding(false); - tp.setShuttleDeparting(true); - handleShuttleDeparture(); - //Console.println("Shuttle is not available."); - } - } - } - } - - } - - }; - - scheduler.scheduleAtFixedRate(shuttleRun, 83, 83, TimeUnit.SECONDS); - - //shuttleCountdown(); - } - - private void handleShuttleLanding() { - scheduler.schedule(new Runnable() { - - @Override - public void run() { - for (Entry> entry : travelMap.entrySet()) { - for(TravelPoint tp : entry.getValue()) { - if (tp.isShuttleLanding()) { - tp.setShuttleLanding(false); - tp.setShuttleAvailable(true); - //Console.println("Shuttle has landed!"); - } - } - } - } - - }, 27, TimeUnit.SECONDS); - - } - - private void handleShuttleDeparture() { - scheduler.schedule(new Runnable() { - - @Override - public void run() { - for (Entry> entry : travelMap.entrySet()) { - for(TravelPoint tp : entry.getValue()) { - tp.setShuttleDeparting(false); - tp.setSecondsRemaining(60); - } - } - shuttleCountdown(); - //Console.println("Countdown initiated"); - } - - }, 20, TimeUnit.SECONDS); - } - - private void shuttleCountdown() { - Runnable countDown = new Runnable() { - @Override - public void run() { - for (Entry> entry : travelMap.entrySet()) { - for(TravelPoint tp : entry.getValue()) { - if (tp.getShuttle() == null || tp.isShuttleDeparting() == true || tp.isShuttleAvailable() == true || tp.getSecondsRemaining() == 0) - continue; - - else { - tp.setSecondsRemaining(tp.getSecondsRemaining() - 1); - //Console.println("Time Remaining: " + tp.getSecondsRemaining()); - } - } - } - } - - }; - - runCountdown(countDown, scheduler); - } public TravelPoint getNearestTravelPoint(SWGObject obj) { @@ -369,7 +270,7 @@ public class TravelService implements INetworkDispatch { SWGObject travelTicket = createTravelTicket(departurePlanet, departureLoc, arrivalPlanet, arrivalLoc); creatureObj.getSlottedObject("inventory").add(travelTicket); - Console.println("Total cost: " + fare); + //Console.println("Total cost: " + fare); SUIWindow window = core.suiService.createMessageBox(MessageBoxType.MESSAGE_BOX_OK, "STAR WARS GALAXIES", "Ticket purchase complete.", player, null, 0); core.suiService.openSUIWindow(window); @@ -505,10 +406,6 @@ public class TravelService implements INetworkDispatch { return this.travelMap; } - public void runCountdown(Runnable task, ScheduledExecutorService executor) { - new ShuttleCountdown(task, this.core).startCountdown(executor); - } - @Override public void shutdown() { From ce7a362d1cb337699efca46b51f57fb897c149a1 Mon Sep 17 00:00:00 2001 From: Skalex223 Date: Fri, 29 Nov 2013 14:28:18 -0500 Subject: [PATCH 2/6] item data entry basic item data entry to add condition and volume to item examine window --- .../wearables/armor/appearance_invisible_bicep_l.py | 6 ++++++ .../wearables/armor/appearance_invisible_bicep_r.py | 6 ++++++ .../wearables/armor/appearance_invisible_bracer_l.py | 6 ++++++ .../wearables/armor/appearance_invisible_bracer_r.py | 6 ++++++ .../armor/nightsister/armor_nightsister_bicep_r_s01.py | 6 ++++++ .../object/tangible/wearables/backpack/back_gmf_wings.py | 6 ++++++ .../wearables/backpack/back_love_day_10_blue_wings.py | 6 ++++++ .../wearables/backpack/back_love_day_10_golden_wings.py | 6 ++++++ .../wearables/backpack/back_love_day_10_pink_wings.py | 6 ++++++ .../wearables/backpack/back_love_day_11_hue_wings.py | 6 ++++++ .../tangible/wearables/backpack/back_love_day_wings.py | 6 ++++++ .../tangible/wearables/backpack/backpack_gmf_01.py | 6 ++++++ .../object/tangible/wearables/cape/cape_imperial_01.py | 9 +++++++++ scripts/object/tangible/wearables/cape/cape_rebel_01.py | 9 +++++++++ .../wearables/gloves/appearance_invisible_s01.py | 6 ++++++ .../tangible/wearables/gloves/gloves_tusken_raider.py | 6 ++++++ .../tangible/wearables/goggles/goggles_anniversary.py | 6 ++++++ scripts/object/tangible/wearables/goggles/goggles_s01.py | 6 ++++++ scripts/object/tangible/wearables/goggles/goggles_s02.py | 6 ++++++ scripts/object/tangible/wearables/goggles/goggles_s03.py | 6 ++++++ scripts/object/tangible/wearables/goggles/goggles_s04.py | 6 ++++++ scripts/object/tangible/wearables/goggles/goggles_s05.py | 6 ++++++ scripts/object/tangible/wearables/goggles/goggles_s06.py | 6 ++++++ scripts/object/tangible/wearables/goggles/rebreather.py | 6 ++++++ scripts/object/tangible/wearables/helmet/helmet_atat.py | 7 +++++++ .../wearables/helmet/helmet_fighter_blacksun_ace.py | 7 +++++++ .../wearables/helmet/helmet_fighter_imperial_ace.py | 8 ++++++++ .../wearables/helmet/helmet_fighter_privateer_ace.py | 7 +++++++ .../wearables/helmet/helmet_fighter_rebel_ace.py | 7 +++++++ .../tangible/wearables/helmet/helmet_tie_fighter.py | 7 +++++++ .../wearables/helmet/helmet_tusken_raider_s01.py | 7 +++++++ .../wearables/helmet/helmet_tusken_raider_s02.py | 7 +++++++ .../wearables/utility/utility_belt_tusken_raider.py | 6 ++++++ .../tangible/wearables/vest/appearance_invisible_s01.py | 6 ++++++ 34 files changed, 219 insertions(+) diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py index ccad8904..8688372e 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bicep_l.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py index ccad8904..76388169 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bicep_r.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py index ccad8904..ad736e4a 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bracer_l.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py index ccad8904..540e0be1 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bracer_r.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py b/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py index ccad8904..f445ffb5 100644 --- a/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py +++ b/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/armor/nightsister/shared_armor_nightsister_bicep_r_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_gmf_wings.py b/scripts/object/tangible/wearables/backpack/back_gmf_wings.py index ccad8904..991f0404 100644 --- a/scripts/object/tangible/wearables/backpack/back_gmf_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_gmf_wings.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_gmf_wings.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py index ccad8904..2e43b01b 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_10_blue_wings.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py index ccad8904..53a5b8a9 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_10_golden_wings.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py index ccad8904..5c4efbf1 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_10_pink_wings.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py index ccad8904..b9cf0c77 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_11_hue_wings.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_wings.py index ccad8904..e8896aaf 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_wings.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_wings.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py b/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py index ccad8904..350f45fa 100644 --- a/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py +++ b/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/backpack/shared_backpack_gmf_01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/cape/cape_imperial_01.py b/scripts/object/tangible/wearables/cape/cape_imperial_01.py index ccad8904..58ebfd2d 100644 --- a/scripts/object/tangible/wearables/cape/cape_imperial_01.py +++ b/scripts/object/tangible/wearables/cape/cape_imperial_01.py @@ -1,4 +1,13 @@ import sys def setup(core, object): + object = core.objectService.creatObject('object/tangible/werables/cape/shared_cape_imperial_01.iff', object.getPlanet()) + object.setCustomName('Imperial Cape') + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + object.setStringAttribute('cost', '[2500] Imperial Galactic Civil War token') + object.setStringAttribute('faction_restriction', 'Imperial') + + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/cape/cape_rebel_01.py b/scripts/object/tangible/wearables/cape/cape_rebel_01.py index ccad8904..31513ec1 100644 --- a/scripts/object/tangible/wearables/cape/cape_rebel_01.py +++ b/scripts/object/tangible/wearables/cape/cape_rebel_01.py @@ -1,4 +1,13 @@ import sys def setup(core, object): + object = core.objectService.creatObject('object/tangible/werables/cape/shared_cape_rebel_01.iff', object.getPlanet()) + object.setCustomName('Rebel Alliance Cape') + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + object.setStringAttribute('cost', '[2500] Rebel Alliance Galactic Civil War token') + object.setStringAttribute('faction_restriction', 'Rebel Alliance') + + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py b/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py index ccad8904..b17ebeb3 100644 --- a/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/gloves/shared_appearance_invisible_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py b/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py index ccad8904..732ece48 100644 --- a/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py +++ b/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/gloves/shared_gloves_tusken_raider.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_anniversary.py b/scripts/object/tangible/wearables/goggles/goggles_anniversary.py index ccad8904..6226a3e5 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_anniversary.py +++ b/scripts/object/tangible/wearables/goggles/goggles_anniversary.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_anniverary.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s01.py b/scripts/object/tangible/wearables/goggles/goggles_s01.py index ccad8904..0f14449f 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s01.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s01.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s02.py b/scripts/object/tangible/wearables/goggles/goggles_s02.py index ccad8904..6d1eee76 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s02.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s02.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s02.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s03.py b/scripts/object/tangible/wearables/goggles/goggles_s03.py index ccad8904..09b6061b 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s03.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s03.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s03.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s04.py b/scripts/object/tangible/wearables/goggles/goggles_s04.py index ccad8904..7a14d931 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s04.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s04.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s04.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s05.py b/scripts/object/tangible/wearables/goggles/goggles_s05.py index ccad8904..400c9c4b 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s05.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s05.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s05.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s06.py b/scripts/object/tangible/wearables/goggles/goggles_s06.py index ccad8904..02851dd8 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s06.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s06.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s06.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/rebreather.py b/scripts/object/tangible/wearables/goggles/rebreather.py index ccad8904..24c0032e 100644 --- a/scripts/object/tangible/wearables/goggles/rebreather.py +++ b/scripts/object/tangible/wearables/goggles/rebreather.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/goggles/shared_rebreather.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_atat.py b/scripts/object/tangible/wearables/helmet/helmet_atat.py index ccad8904..56cd32ce 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_atat.py +++ b/scripts/object/tangible/wearables/helmet/helmet_atat.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_atat.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py index ccad8904..5ea167c8 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_blacksun_ace.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py index ccad8904..b2f87eeb 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_imperial_ace.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + + inventory.add(object) + + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py index ccad8904..8043977a 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_privateer_ace.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py index ccad8904..a73dd8b6 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_rebel_ace.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py b/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py index ccad8904..27a273b7 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py +++ b/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_tie_fighter.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py index ccad8904..4113ddb1 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py +++ b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_tusken_raider_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py index ccad8904..b2e5d03e 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py +++ b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_tusken_raider_s02.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py b/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py index ccad8904..0ca6513c 100644 --- a/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py +++ b/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/utility/shared_utility_belt_tusken_raider.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py b/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py index ccad8904..d0f65209 100644 --- a/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py @@ -1,4 +1,10 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/vest/shared_appearance_invisible_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('volume', '1') + inventory.add(object) + return \ No newline at end of file From 8c19d8ffc0719ce863673551ef856a54f19540c9 Mon Sep 17 00:00:00 2001 From: Skalex223 Date: Fri, 29 Nov 2013 19:49:03 -0500 Subject: [PATCH 3/6] revised item (wearables) window display attributes removed inventory line, changed volume to int --- .../wearables/armor/appearance_invisible_bicep_l.py | 3 +-- .../wearables/armor/appearance_invisible_bicep_r.py | 3 +-- .../wearables/armor/appearance_invisible_bracer_l.py | 3 +-- .../wearables/armor/appearance_invisible_bracer_r.py | 3 +-- .../object/tangible/wearables/backpack/back_gmf_wings.py | 3 +-- .../wearables/backpack/back_love_day_10_blue_wings.py | 3 +-- .../wearables/backpack/back_love_day_10_golden_wings.py | 3 +-- .../wearables/backpack/back_love_day_10_pink_wings.py | 3 +-- .../wearables/backpack/back_love_day_11_hue_wings.py | 3 +-- .../tangible/wearables/backpack/back_love_day_wings.py | 3 +-- .../object/tangible/wearables/backpack/backpack_gmf_01.py | 3 +-- .../wearables/backpack/empireday_rebel_endor_backpack.py | 7 +++++++ .../wearables/backpack/empireday_sandtrooper_backpack.py | 7 +++++++ .../wearables/bandolier/bandolier_tusken_raider_s01.py | 5 +++++ .../wearables/bandolier/bandolier_tusken_raider_s02.py | 5 +++++ .../wearables/bandolier/bandolier_tusken_raider_s03.py | 5 +++++ .../tangible/wearables/belt/appearance_invisible_s01.py | 5 +++++ scripts/object/tangible/wearables/belt/belt_whip_s01.py | 5 +++++ .../object/tangible/wearables/bodysuit/bodysuit_atat.py | 5 +++++ .../tangible/wearables/bodysuit/bodysuit_atat_quest.py | 5 +++++ .../object/tangible/wearables/bodysuit/bodysuit_bwing.py | 5 +++++ .../tangible/wearables/bodysuit/bodysuit_bwing_quest.py | 5 +++++ .../tangible/wearables/bodysuit/bodysuit_tie_fighter.py | 5 +++++ .../wearables/bodysuit/bodysuit_tie_fighter_quest.py | 5 +++++ .../object/tangible/wearables/boots/boots_tusken_raider.py | 5 +++++ scripts/object/tangible/wearables/cape/cape_imperial_01.py | 3 +-- scripts/object/tangible/wearables/cape/cape_rebel_01.py | 3 +-- .../tangible/wearables/gloves/appearance_invisible_s01.py | 3 +-- .../tangible/wearables/gloves/gloves_tusken_raider.py | 3 +-- .../tangible/wearables/goggles/goggles_anniversary.py | 3 +-- scripts/object/tangible/wearables/goggles/goggles_s01.py | 3 +-- scripts/object/tangible/wearables/goggles/goggles_s02.py | 3 +-- scripts/object/tangible/wearables/goggles/goggles_s03.py | 3 +-- scripts/object/tangible/wearables/goggles/goggles_s04.py | 5 ++--- scripts/object/tangible/wearables/goggles/goggles_s05.py | 3 +-- scripts/object/tangible/wearables/goggles/goggles_s06.py | 3 +-- scripts/object/tangible/wearables/goggles/rebreather.py | 3 +-- scripts/object/tangible/wearables/hat/hat_fedora__s01.py | 5 +++++ scripts/object/tangible/wearables/helmet/helmet_atat.py | 6 ++---- .../wearables/helmet/helmet_fighter_blacksun_ace.py | 6 ++---- .../wearables/helmet/helmet_fighter_imperial_ace.py | 5 +---- .../wearables/helmet/helmet_fighter_privateer_ace.py | 6 ++---- .../tangible/wearables/helmet/helmet_fighter_rebel_ace.py | 6 ++---- .../object/tangible/wearables/helmet/helmet_tie_fighter.py | 6 ++---- .../tangible/wearables/helmet/helmet_tusken_raider_s01.py | 6 ++---- .../tangible/wearables/helmet/helmet_tusken_raider_s02.py | 6 ++---- .../tangible/wearables/jacket/appearance_invisible_s01.py | 5 +++++ .../tangible/wearables/jacket/jacket_ace_imperial.py | 5 +++++ .../tangible/wearables/jacket/jacket_ace_privateer.py | 5 +++++ .../object/tangible/wearables/jacket/jacket_ace_rebel.py | 5 +++++ scripts/object/tangible/wearables/jacket/jacket_gmf_01.py | 5 +++++ .../tangible/wearables/jacket/jacket_lifeday_09_01.py | 5 +++++ .../tangible/wearables/jacket/jacket_lifeday_09_02.py | 5 +++++ .../wearables/necklace/appearance_invisible_s01.py | 5 +++++ .../wearables/necklace/ith_necklace_ace_pilot_empire_f.py | 5 +++++ .../wearables/necklace/ith_necklace_ace_pilot_empire_m.py | 5 +++++ .../wearables/necklace/ith_necklace_ace_pilot_neutral_f.py | 5 +++++ .../wearables/necklace/ith_necklace_ace_pilot_neutral_m.py | 5 +++++ .../wearables/necklace/ith_necklace_ace_pilot_rebel_f.py | 5 +++++ .../wearables/necklace/ith_necklace_ace_pilot_rebel_m.py | 5 +++++ .../wearables/necklace/ith_necklace_rodian_safari_f.py | 5 +++++ .../wearables/necklace/ith_necklace_rodian_safari_m.py | 5 +++++ .../necklace/ith_necklace_trando_scale_of_honor_f.py | 5 +++++ .../necklace/ith_necklace_trando_scale_of_honor_m.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_empire.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_empire_f.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_empire_m.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_empire_wke_f.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_empire_wke_m.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_neutral.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_neutral_f.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_neutral_m.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_neutral_wke_f.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_neutral_wke_m.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_rebel.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_rebel_f.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_rebel_m.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_rebel_wke_f.py | 5 +++++ .../wearables/necklace/necklace_ace_pilot_rebel_wke_m.py | 5 +++++ .../object/tangible/wearables/necklace/necklace_lifeday.py | 5 +++++ .../wearables/necklace/necklace_medallion_black_sun.py | 5 +++++ .../tangible/wearables/necklace/necklace_primitive_01.py | 5 +++++ .../tangible/wearables/necklace/necklace_primitive_03.py | 5 +++++ .../tangible/wearables/necklace/necklace_primitive_04.py | 5 +++++ .../tangible/wearables/necklace/necklace_rodian_safari.py | 5 +++++ .../wearables/necklace/necklace_rodian_safari_f.py | 5 +++++ .../wearables/necklace/necklace_rodian_safari_m.py | 5 +++++ .../wearables/necklace/necklace_rodian_safari_wke_f.py | 5 +++++ .../wearables/necklace/necklace_rodian_safari_wke_m.py | 5 +++++ .../wearables/necklace/necklace_trando_scale_of_honor_f.py | 5 +++++ .../wearables/necklace/necklace_trando_scale_of_honor_m.py | 5 +++++ .../necklace/necklace_trando_scale_of_honor_wke_f.py | 5 +++++ .../necklace/necklace_trando_scale_of_honor_wke_m.py | 5 +++++ .../tangible/wearables/robe/robe_tusken_raider_s01.py | 5 +++++ .../tangible/wearables/robe/robe_tusken_raider_s02.py | 5 +++++ .../wearables/utility/utility_belt_tusken_raider.py | 5 ++--- .../tangible/wearables/vest/appearance_invisible_s01.py | 5 ++--- 97 files changed, 367 insertions(+), 85 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py index 8688372e..40dd6595 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bicep_l.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py index 76388169..2a9aaf86 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bicep_r.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py index ad736e4a..19eab0b8 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bracer_l.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py index 540e0be1..d826ec94 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bracer_r.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_gmf_wings.py b/scripts/object/tangible/wearables/backpack/back_gmf_wings.py index 991f0404..1d64bf23 100644 --- a/scripts/object/tangible/wearables/backpack/back_gmf_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_gmf_wings.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_gmf_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py index 2e43b01b..3f22a03a 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_10_blue_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py index 53a5b8a9..468bc9c7 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_10_golden_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py index 5c4efbf1..d1f653da 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_10_pink_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py index b9cf0c77..9fe871ab 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_11_hue_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_wings.py index e8896aaf..ce1d43f6 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_wings.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py b/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py index 350f45fa..daeaf667 100644 --- a/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py +++ b/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/backpack/shared_backpack_gmf_01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/empireday_rebel_endor_backpack.py b/scripts/object/tangible/wearables/backpack/empireday_rebel_endor_backpack.py index ccad8904..e69972d6 100644 --- a/scripts/object/tangible/wearables/backpack/empireday_rebel_endor_backpack.py +++ b/scripts/object/tangible/wearables/backpack/empireday_rebel_endor_backpack.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/backpack/shared_empireday_rebel_endor_backpack.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + object.setStringAttribute('cost', '[15] Remembrance Day Token') + object.setStringAttribute('faction_restriction', 'Rebel Alliance') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/backpack/empireday_sandtrooper_backpack.py b/scripts/object/tangible/wearables/backpack/empireday_sandtrooper_backpack.py index ccad8904..32fd6b2a 100644 --- a/scripts/object/tangible/wearables/backpack/empireday_sandtrooper_backpack.py +++ b/scripts/object/tangible/wearables/backpack/empireday_sandtrooper_backpack.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/backpack/shared_empireday_sandtrooper_backpack.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + object.setStringAttribute('cost', '[15] Empire Day Token') + object.setStringAttribute('faction_restriction', 'Imperial') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s01.py b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s01.py index ccad8904..6102c0ac 100644 --- a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s01.py +++ b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s01.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/bandolier/shared_bandolier_tusken_raider_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s02.py b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s02.py index ccad8904..49cddae4 100644 --- a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s02.py +++ b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s02.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/bandolier/shared_bandolier_tusken_raider_s02.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s03.py b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s03.py index ccad8904..1272c665 100644 --- a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s03.py +++ b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s03.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/bandolier/shared_bandolier_tusken_raider_s03.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/belt/appearance_invisible_s01.py b/scripts/object/tangible/wearables/belt/appearance_invisible_s01.py index ccad8904..44409b69 100644 --- a/scripts/object/tangible/wearables/belt/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/belt/appearance_invisible_s01.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/belt/shared_appearnace_invisible_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/belt/belt_whip_s01.py b/scripts/object/tangible/wearables/belt/belt_whip_s01.py index ccad8904..cc0ed743 100644 --- a/scripts/object/tangible/wearables/belt/belt_whip_s01.py +++ b/scripts/object/tangible/wearables/belt/belt_whip_s01.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/belt/shared_belt_whip_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_atat.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_atat.py index ccad8904..0292177a 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_atat.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_atat.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_atat.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_atat_quest.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_atat_quest.py index ccad8904..864148d2 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_atat_quest.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_atat_quest.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_atat_quest.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing.py index ccad8904..9a9655fc 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_bwing.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing_quest.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing_quest.py index ccad8904..595a806a 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing_quest.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing_quest.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_bwing_quest.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter.py index ccad8904..bf26a826 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_tie_fighter.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter_quest.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter_quest.py index ccad8904..49737ee9 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter_quest.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter_quest.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_tie_fighter_quest.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/boots/boots_tusken_raider.py b/scripts/object/tangible/wearables/boots/boots_tusken_raider.py index ccad8904..ee69f51b 100644 --- a/scripts/object/tangible/wearables/boots/boots_tusken_raider.py +++ b/scripts/object/tangible/wearables/boots/boots_tusken_raider.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/boots/shared_boots_tusken_raider.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/cape/cape_imperial_01.py b/scripts/object/tangible/wearables/cape/cape_imperial_01.py index 58ebfd2d..9ec4f0f3 100644 --- a/scripts/object/tangible/wearables/cape/cape_imperial_01.py +++ b/scripts/object/tangible/wearables/cape/cape_imperial_01.py @@ -4,10 +4,9 @@ def setup(core, object): object = core.objectService.creatObject('object/tangible/werables/cape/shared_cape_imperial_01.iff', object.getPlanet()) object.setCustomName('Imperial Cape') object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') + object.setIntAttribute('volume', 1) object.setStringAttribute('cost', '[2500] Imperial Galactic Civil War token') object.setStringAttribute('faction_restriction', 'Imperial') - inventory.add(object) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/cape/cape_rebel_01.py b/scripts/object/tangible/wearables/cape/cape_rebel_01.py index 31513ec1..96b46104 100644 --- a/scripts/object/tangible/wearables/cape/cape_rebel_01.py +++ b/scripts/object/tangible/wearables/cape/cape_rebel_01.py @@ -4,10 +4,9 @@ def setup(core, object): object = core.objectService.creatObject('object/tangible/werables/cape/shared_cape_rebel_01.iff', object.getPlanet()) object.setCustomName('Rebel Alliance Cape') object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') + object.setIntAttribute('volume', 1) object.setStringAttribute('cost', '[2500] Rebel Alliance Galactic Civil War token') object.setStringAttribute('faction_restriction', 'Rebel Alliance') - inventory.add(object) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py b/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py index b17ebeb3..4f1f836c 100644 --- a/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/gloves/shared_appearance_invisible_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py b/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py index 732ece48..1c5460c5 100644 --- a/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py +++ b/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/gloves/shared_gloves_tusken_raider.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_anniversary.py b/scripts/object/tangible/wearables/goggles/goggles_anniversary.py index 6226a3e5..343bd2a4 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_anniversary.py +++ b/scripts/object/tangible/wearables/goggles/goggles_anniversary.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_anniverary.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s01.py b/scripts/object/tangible/wearables/goggles/goggles_s01.py index 0f14449f..3e4abde0 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s01.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s01.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s02.py b/scripts/object/tangible/wearables/goggles/goggles_s02.py index 6d1eee76..f9f1e69b 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s02.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s02.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s02.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s03.py b/scripts/object/tangible/wearables/goggles/goggles_s03.py index 09b6061b..0c336bc3 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s03.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s03.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s03.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s04.py b/scripts/object/tangible/wearables/goggles/goggles_s04.py index 7a14d931..d1807d6b 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s04.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s04.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s04.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) - + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s05.py b/scripts/object/tangible/wearables/goggles/goggles_s05.py index 400c9c4b..78e2386a 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s05.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s05.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s05.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/goggles_s06.py b/scripts/object/tangible/wearables/goggles/goggles_s06.py index 02851dd8..feebd820 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s06.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s06.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s06.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/goggles/rebreather.py b/scripts/object/tangible/wearables/goggles/rebreather.py index 24c0032e..54eb0cc9 100644 --- a/scripts/object/tangible/wearables/goggles/rebreather.py +++ b/scripts/object/tangible/wearables/goggles/rebreather.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/goggles/shared_rebreather.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/hat/hat_fedora__s01.py b/scripts/object/tangible/wearables/hat/hat_fedora__s01.py index ccad8904..6b9813a0 100644 --- a/scripts/object/tangible/wearables/hat/hat_fedora__s01.py +++ b/scripts/object/tangible/wearables/hat/hat_fedora__s01.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/hat/shared_hat_fedora_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_atat.py b/scripts/object/tangible/wearables/helmet/helmet_atat.py index 56cd32ce..4e5dd52e 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_atat.py +++ b/scripts/object/tangible/wearables/helmet/helmet_atat.py @@ -4,8 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_atat.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - - inventory.add(object) - + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py index 5ea167c8..1f220b48 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py @@ -4,8 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_blacksun_ace.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - - inventory.add(object) - + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py index b2f87eeb..cb68c007 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py @@ -4,9 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_imperial_ace.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - - inventory.add(object) - + object.setIntAttribute('volume', 1) return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py index 8043977a..bea0d425 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py @@ -4,8 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_privateer_ace.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - - inventory.add(object) - + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py index a73dd8b6..3573749e 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py @@ -4,8 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_rebel_ace.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - - inventory.add(object) - + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py b/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py index 27a273b7..d10ee513 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py +++ b/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py @@ -4,8 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_tie_fighter.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - - inventory.add(object) - + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py index 4113ddb1..cffc8aa1 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py +++ b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py @@ -4,8 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_tusken_raider_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - - inventory.add(object) - + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py index b2e5d03e..7ffab743 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py +++ b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py @@ -4,8 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_tusken_raider_s02.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - - inventory.add(object) - + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/jacket/appearance_invisible_s01.py b/scripts/object/tangible/wearables/jacket/appearance_invisible_s01.py index ccad8904..544b7924 100644 --- a/scripts/object/tangible/wearables/jacket/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/jacket/appearance_invisible_s01.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/jacket/shared_appearance_invisible_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/jacket/jacket_ace_imperial.py b/scripts/object/tangible/wearables/jacket/jacket_ace_imperial.py index ccad8904..850c3030 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_ace_imperial.py +++ b/scripts/object/tangible/wearables/jacket/jacket_ace_imperial.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_ace_imperial.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/jacket/jacket_ace_privateer.py b/scripts/object/tangible/wearables/jacket/jacket_ace_privateer.py index ccad8904..9782a5c5 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_ace_privateer.py +++ b/scripts/object/tangible/wearables/jacket/jacket_ace_privateer.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_ace_privateer.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/jacket/jacket_ace_rebel.py b/scripts/object/tangible/wearables/jacket/jacket_ace_rebel.py index ccad8904..f7a0f531 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_ace_rebel.py +++ b/scripts/object/tangible/wearables/jacket/jacket_ace_rebel.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_ace_rebel.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/jacket/jacket_gmf_01.py b/scripts/object/tangible/wearables/jacket/jacket_gmf_01.py index ccad8904..e449cb31 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_gmf_01.py +++ b/scripts/object/tangible/wearables/jacket/jacket_gmf_01.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_gmf_01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_01.py b/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_01.py index ccad8904..d521329c 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_01.py +++ b/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_01.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_lifeday_09_01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_02.py b/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_02.py index ccad8904..f3c50b29 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_02.py +++ b/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_02.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_lifeday_09_02.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/appearance_invisible_s01.py b/scripts/object/tangible/wearables/necklace/appearance_invisible_s01.py index ccad8904..d0800a5c 100644 --- a/scripts/object/tangible/wearables/necklace/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/necklace/appearance_invisible_s01.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_appearance_invisible_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_f.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_f.py index ccad8904..afaaad4c 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_f.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_empire_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_m.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_m.py index ccad8904..9aa2f58c 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_m.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_empire_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_f.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_f.py index ccad8904..b432d84c 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_f.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_neutral_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_m.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_m.py index ccad8904..2a762b53 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_m.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_neutral_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_f.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_f.py index ccad8904..bee48c93 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_f.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_rebel_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_m.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_m.py index ccad8904..2c5f1c64 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_m.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_rebel_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_f.py b/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_f.py index ccad8904..c23a3562 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_f.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_rodian_safari_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_m.py b/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_m.py index ccad8904..3e24da1a 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_m.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_rodian_safari_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_f.py b/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_f.py index ccad8904..b3412380 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_f.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_trando_scale_of_honor_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_m.py b/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_m.py index ccad8904..3703ebb2 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_m.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_trando_scale_of_honor_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire.py index ccad8904..5e963122 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_empire.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_f.py index ccad8904..3c505b25 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_empire_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_m.py index ccad8904..1290edf0 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_empire_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_f.py index ccad8904..09f398c8 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_empire_wke_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_m.py index ccad8904..08bc755f 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_empire_wke_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral.py index ccad8904..365352cc 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_neutral.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_f.py index ccad8904..afa3d0a0 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_neutral_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_m.py index ccad8904..fee3c5be 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_neutral_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_f.py index ccad8904..b54d6401 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_neutral_wke_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_m.py index ccad8904..933441a7 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_neutral_wke_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel.py index ccad8904..2d4047e5 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_rebel.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_f.py index ccad8904..a1a27607 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_rebel_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_m.py index ccad8904..2ceb0490 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_rebel_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_f.py index ccad8904..bb5589f2 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_rebel_wke_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_m.py index ccad8904..d36c1884 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_rebel_wke_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_lifeday.py b/scripts/object/tangible/wearables/necklace/necklace_lifeday.py index ccad8904..a86c99bd 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_lifeday.py +++ b/scripts/object/tangible/wearables/necklace/necklace_lifeday.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_lifeday.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_medallion_black_sun.py b/scripts/object/tangible/wearables/necklace/necklace_medallion_black_sun.py index ccad8904..b49e3030 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_medallion_black_sun.py +++ b/scripts/object/tangible/wearables/necklace/necklace_medallion_black_sun.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_medallion_black_sun.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_primitive_01.py b/scripts/object/tangible/wearables/necklace/necklace_primitive_01.py index ccad8904..ca5f3eb8 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_primitive_01.py +++ b/scripts/object/tangible/wearables/necklace/necklace_primitive_01.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_primitive_01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_primitive_03.py b/scripts/object/tangible/wearables/necklace/necklace_primitive_03.py index ccad8904..f1176493 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_primitive_03.py +++ b/scripts/object/tangible/wearables/necklace/necklace_primitive_03.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_primitive_03.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_primitive_04.py b/scripts/object/tangible/wearables/necklace/necklace_primitive_04.py index ccad8904..6b734276 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_primitive_04.py +++ b/scripts/object/tangible/wearables/necklace/necklace_primitive_04.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_primitive_04.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari.py b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari.py index ccad8904..7f976da3 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari.py +++ b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_rodian_safari.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_f.py b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_f.py index ccad8904..1428b314 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_rodian_safari_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_m.py b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_m.py index ccad8904..230748f0 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_rodian_safari_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_f.py b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_f.py index ccad8904..d1d43f3f 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_rodian_safari_wke_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_m.py b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_m.py index ccad8904..a0ede2db 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_rodian_safari_wke_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_f.py b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_f.py index ccad8904..c5debb35 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_trando_scale_of_honor_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_m.py b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_m.py index ccad8904..2f4dc406 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_trando_scale_of_honor_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_f.py b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_f.py index ccad8904..6b47a746 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_f.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_trando_scale_of_honor_wke_f.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_m.py b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_m.py index ccad8904..3a10cbcd 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_m.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_trando_scale_of_honor_wke_m.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/robe/robe_tusken_raider_s01.py b/scripts/object/tangible/wearables/robe/robe_tusken_raider_s01.py index ccad8904..9ed51ece 100644 --- a/scripts/object/tangible/wearables/robe/robe_tusken_raider_s01.py +++ b/scripts/object/tangible/wearables/robe/robe_tusken_raider_s01.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/robe/shared_robe_tusken_raider_s01.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/robe/robe_tusken_raider_s02.py b/scripts/object/tangible/wearables/robe/robe_tusken_raider_s02.py index ccad8904..5e7f9f2f 100644 --- a/scripts/object/tangible/wearables/robe/robe_tusken_raider_s02.py +++ b/scripts/object/tangible/wearables/robe/robe_tusken_raider_s02.py @@ -1,4 +1,9 @@ import sys def setup(core, object): + + object = core.objectService.createObject('object/tangible/wearables/robe/shared_robe_tusken_raider_s02.iff', object.getPlanet()) + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py b/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py index 0ca6513c..403bd034 100644 --- a/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py +++ b/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/utility/shared_utility_belt_tusken_raider.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) - + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py b/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py index d0f65209..17084a51 100644 --- a/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/vest/shared_appearance_invisible_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) - + object.setIntAttribute('volume', 1) + return \ No newline at end of file From 15827ae754fe363debef10e3a1aac969a33ee442 Mon Sep 17 00:00:00 2001 From: Skalex223 Date: Fri, 29 Nov 2013 20:01:43 -0500 Subject: [PATCH 4/6] ns bracer forgot ns bracer --- .../armor/nightsister/armor_nightsister_bicep_r_s01.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py b/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py index f445ffb5..b10da92a 100644 --- a/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py +++ b/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py @@ -4,7 +4,6 @@ def setup(core, object): object = core.objectService.createObject('object/tangible/wearables/armor/nightsister/shared_armor_nightsister_bicep_r_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') - object.setStringAttribute('volume', '1') - inventory.add(object) + object.setIntAttribute('volume', 1) return \ No newline at end of file From b7a5280521b6d12daebd812a71d18152bdf7d669 Mon Sep 17 00:00:00 2001 From: Skalex223 Date: Fri, 29 Nov 2013 23:30:25 -0500 Subject: [PATCH 5/6] items 3rd times the charm --- .../tangible/wearables/armor/appearance_invisible_bicep_l.py | 2 -- .../tangible/wearables/armor/appearance_invisible_bicep_r.py | 2 -- .../tangible/wearables/armor/appearance_invisible_bracer_l.py | 2 -- .../tangible/wearables/armor/appearance_invisible_bracer_r.py | 2 -- .../armor/nightsister/armor_nightsister_bicep_r_s01.py | 2 -- scripts/object/tangible/wearables/backpack/back_gmf_wings.py | 2 -- .../tangible/wearables/backpack/back_love_day_10_blue_wings.py | 2 -- .../wearables/backpack/back_love_day_10_golden_wings.py | 2 -- .../tangible/wearables/backpack/back_love_day_10_pink_wings.py | 2 -- .../tangible/wearables/backpack/back_love_day_11_hue_wings.py | 2 -- .../object/tangible/wearables/backpack/back_love_day_wings.py | 2 -- scripts/object/tangible/wearables/backpack/backpack_gmf_01.py | 2 -- .../wearables/backpack/empireday_rebel_endor_backpack.py | 2 -- .../wearables/backpack/empireday_sandtrooper_backpack.py | 2 -- .../wearables/bandolier/bandolier_tusken_raider_s01.py | 2 -- .../wearables/bandolier/bandolier_tusken_raider_s02.py | 2 -- .../wearables/bandolier/bandolier_tusken_raider_s03.py | 2 -- .../object/tangible/wearables/belt/appearance_invisible_s01.py | 2 -- scripts/object/tangible/wearables/belt/belt_whip_s01.py | 2 -- scripts/object/tangible/wearables/bodysuit/bodysuit_atat.py | 2 -- .../object/tangible/wearables/bodysuit/bodysuit_atat_quest.py | 2 -- scripts/object/tangible/wearables/bodysuit/bodysuit_bwing.py | 2 -- .../object/tangible/wearables/bodysuit/bodysuit_bwing_quest.py | 2 -- .../tangible/wearables/bodysuit/bodysuit_outbreak_prisoner.py | 3 +++ .../object/tangible/wearables/bodysuit/bodysuit_tie_fighter.py | 2 -- .../tangible/wearables/bodysuit/bodysuit_tie_fighter_quest.py | 2 -- scripts/object/tangible/wearables/boots/boots_tusken_raider.py | 2 -- .../tangible/wearables/bracelet/appearance_invisible_l_s01.py | 3 +++ .../tangible/wearables/bracelet/appearance_invisible_r_s01.py | 3 +++ scripts/object/tangible/wearables/cape/cape_imperial_01.py | 1 - scripts/object/tangible/wearables/cape/cape_rebel_01.py | 1 - .../tangible/wearables/gloves/appearance_invisible_s01.py | 2 -- .../object/tangible/wearables/gloves/gloves_tusken_raider.py | 2 -- .../object/tangible/wearables/goggles/goggles_anniversary.py | 2 -- scripts/object/tangible/wearables/goggles/goggles_s01.py | 2 -- scripts/object/tangible/wearables/goggles/goggles_s02.py | 2 -- scripts/object/tangible/wearables/goggles/goggles_s03.py | 2 -- scripts/object/tangible/wearables/goggles/goggles_s04.py | 2 -- scripts/object/tangible/wearables/goggles/goggles_s05.py | 2 -- scripts/object/tangible/wearables/goggles/goggles_s06.py | 2 -- scripts/object/tangible/wearables/goggles/rebreather.py | 2 -- scripts/object/tangible/wearables/hat/hat_fedora__s01.py | 2 -- scripts/object/tangible/wearables/hat/hat_imp_s01.py | 3 +++ scripts/object/tangible/wearables/hat/hat_imp_s02.py | 3 +++ .../object/tangible/wearables/hat/hat_imperial_gunner_01.py | 3 +++ scripts/object/tangible/wearables/hat/hat_loveday_halo_01.py | 3 +++ scripts/object/tangible/wearables/hat/hat_loveday_halo_02.py | 3 +++ scripts/object/tangible/wearables/hat/hat_rebel_trooper_01.py | 3 +++ scripts/object/tangible/wearables/helmet/helmet_atat.py | 2 -- .../tangible/wearables/helmet/helmet_fighter_blacksun_ace.py | 2 -- .../tangible/wearables/helmet/helmet_fighter_imperial_ace.py | 2 -- .../tangible/wearables/helmet/helmet_fighter_privateer_ace.py | 2 -- .../tangible/wearables/helmet/helmet_fighter_rebel_ace.py | 2 -- scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py | 2 -- .../tangible/wearables/helmet/helmet_tusken_raider_s01.py | 2 -- .../tangible/wearables/helmet/helmet_tusken_raider_s02.py | 2 -- .../tangible/wearables/jacket/appearance_invisible_s01.py | 2 -- .../object/tangible/wearables/jacket/jacket_ace_imperial.py | 2 -- .../object/tangible/wearables/jacket/jacket_ace_privateer.py | 2 -- scripts/object/tangible/wearables/jacket/jacket_ace_rebel.py | 2 -- .../object/tangible/wearables/jacket/jacket_gcw_imperial_01.py | 3 +++ .../object/tangible/wearables/jacket/jacket_gcw_rebel_01.py | 3 +++ scripts/object/tangible/wearables/jacket/jacket_gmf_01.py | 2 -- .../object/tangible/wearables/jacket/jacket_lifeday_09_01.py | 2 -- .../object/tangible/wearables/jacket/jacket_lifeday_09_02.py | 2 -- .../tangible/wearables/jacket/jacket_outbreak_prison_guard.py | 3 +++ .../tangible/wearables/necklace/appearance_invisible_s01.py | 2 -- .../wearables/necklace/ith_necklace_ace_pilot_empire_f.py | 2 -- .../wearables/necklace/ith_necklace_ace_pilot_empire_m.py | 2 -- .../wearables/necklace/ith_necklace_ace_pilot_neutral_f.py | 2 -- .../wearables/necklace/ith_necklace_ace_pilot_neutral_m.py | 2 -- .../wearables/necklace/ith_necklace_ace_pilot_rebel_f.py | 2 -- .../wearables/necklace/ith_necklace_ace_pilot_rebel_m.py | 2 -- .../wearables/necklace/ith_necklace_rodian_safari_f.py | 2 -- .../wearables/necklace/ith_necklace_rodian_safari_m.py | 2 -- .../wearables/necklace/ith_necklace_trando_scale_of_honor_f.py | 2 -- .../wearables/necklace/ith_necklace_trando_scale_of_honor_m.py | 2 -- .../tangible/wearables/necklace/necklace_ace_pilot_empire.py | 2 -- .../tangible/wearables/necklace/necklace_ace_pilot_empire_f.py | 2 -- .../tangible/wearables/necklace/necklace_ace_pilot_empire_m.py | 2 -- .../wearables/necklace/necklace_ace_pilot_empire_wke_f.py | 2 -- .../wearables/necklace/necklace_ace_pilot_empire_wke_m.py | 2 -- .../tangible/wearables/necklace/necklace_ace_pilot_neutral.py | 2 -- .../wearables/necklace/necklace_ace_pilot_neutral_f.py | 2 -- .../wearables/necklace/necklace_ace_pilot_neutral_m.py | 2 -- .../wearables/necklace/necklace_ace_pilot_neutral_wke_f.py | 2 -- .../wearables/necklace/necklace_ace_pilot_neutral_wke_m.py | 2 -- .../tangible/wearables/necklace/necklace_ace_pilot_rebel.py | 2 -- .../tangible/wearables/necklace/necklace_ace_pilot_rebel_f.py | 2 -- .../tangible/wearables/necklace/necklace_ace_pilot_rebel_m.py | 2 -- .../wearables/necklace/necklace_ace_pilot_rebel_wke_f.py | 2 -- .../wearables/necklace/necklace_ace_pilot_rebel_wke_m.py | 2 -- .../wearables/necklace/necklace_medallion_black_sun.py | 2 -- .../tangible/wearables/necklace/necklace_primitive_01.py | 2 -- .../tangible/wearables/necklace/necklace_primitive_03.py | 2 -- .../tangible/wearables/necklace/necklace_primitive_04.py | 2 -- .../tangible/wearables/necklace/necklace_rodian_safari.py | 2 -- .../tangible/wearables/necklace/necklace_rodian_safari_f.py | 2 -- .../tangible/wearables/necklace/necklace_rodian_safari_m.py | 2 -- .../wearables/necklace/necklace_rodian_safari_wke_f.py | 2 -- .../wearables/necklace/necklace_rodian_safari_wke_m.py | 2 -- .../wearables/necklace/necklace_trando_scale_of_honor_f.py | 2 -- .../wearables/necklace/necklace_trando_scale_of_honor_m.py | 2 -- .../wearables/necklace/necklace_trando_scale_of_honor_wke_f.py | 2 -- .../wearables/necklace/necklace_trando_scale_of_honor_wke_m.py | 2 -- .../tangible/wearables/pants/pants_outbreak_prison_guard.py | 3 +++ .../object/tangible/wearables/robe/robe_tusken_raider_s01.py | 2 -- .../object/tangible/wearables/robe/robe_tusken_raider_s02.py | 2 -- .../tangible/wearables/utility/utility_belt_tusken_raider.py | 2 -- .../object/tangible/wearables/vest/appearance_invisible_s01.py | 2 -- scripts/object/tangible/wearables/wookiee/wke_lifeday_robe.py | 3 +++ .../object/tangible/wearables/wookiee/wke_lifeday_robe_f.py | 3 +++ .../object/tangible/wearables/wookiee/wke_lifeday_robe_m.py | 3 +++ 113 files changed, 48 insertions(+), 192 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py index 40dd6595..b89922ca 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_l.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bicep_l.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py index 2a9aaf86..b89922ca 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bicep_r.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bicep_r.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py index 19eab0b8..b89922ca 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_l.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bracer_l.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py index d826ec94..b89922ca 100644 --- a/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py +++ b/scripts/object/tangible/wearables/armor/appearance_invisible_bracer_r.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/armor/shared_appearance_invisible_bracer_r.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py b/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py index b10da92a..b89922ca 100644 --- a/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py +++ b/scripts/object/tangible/wearables/armor/nightsister/armor_nightsister_bicep_r_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/armor/nightsister/shared_armor_nightsister_bicep_r_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/backpack/back_gmf_wings.py b/scripts/object/tangible/wearables/backpack/back_gmf_wings.py index 1d64bf23..b89922ca 100644 --- a/scripts/object/tangible/wearables/backpack/back_gmf_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_gmf_wings.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_gmf_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py index 3f22a03a..b89922ca 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_10_blue_wings.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_10_blue_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py index 468bc9c7..b89922ca 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_10_golden_wings.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_10_golden_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py index d1f653da..b89922ca 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_10_pink_wings.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_10_pink_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py index 9fe871ab..b89922ca 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_11_hue_wings.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_11_hue_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/backpack/back_love_day_wings.py b/scripts/object/tangible/wearables/backpack/back_love_day_wings.py index ce1d43f6..b89922ca 100644 --- a/scripts/object/tangible/wearables/backpack/back_love_day_wings.py +++ b/scripts/object/tangible/wearables/backpack/back_love_day_wings.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/backpack/shared_back_love_day_wings.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py b/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py index daeaf667..b89922ca 100644 --- a/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py +++ b/scripts/object/tangible/wearables/backpack/backpack_gmf_01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/backpack/shared_backpack_gmf_01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/backpack/empireday_rebel_endor_backpack.py b/scripts/object/tangible/wearables/backpack/empireday_rebel_endor_backpack.py index e69972d6..fa0152e7 100644 --- a/scripts/object/tangible/wearables/backpack/empireday_rebel_endor_backpack.py +++ b/scripts/object/tangible/wearables/backpack/empireday_rebel_endor_backpack.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/backpack/shared_empireday_rebel_endor_backpack.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) object.setStringAttribute('cost', '[15] Remembrance Day Token') diff --git a/scripts/object/tangible/wearables/backpack/empireday_sandtrooper_backpack.py b/scripts/object/tangible/wearables/backpack/empireday_sandtrooper_backpack.py index 32fd6b2a..c86c4ed5 100644 --- a/scripts/object/tangible/wearables/backpack/empireday_sandtrooper_backpack.py +++ b/scripts/object/tangible/wearables/backpack/empireday_sandtrooper_backpack.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/backpack/shared_empireday_sandtrooper_backpack.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) object.setStringAttribute('cost', '[15] Empire Day Token') diff --git a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s01.py b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s01.py index 6102c0ac..b89922ca 100644 --- a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s01.py +++ b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/bandolier/shared_bandolier_tusken_raider_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s02.py b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s02.py index 49cddae4..b89922ca 100644 --- a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s02.py +++ b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s02.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/bandolier/shared_bandolier_tusken_raider_s02.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s03.py b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s03.py index 1272c665..b89922ca 100644 --- a/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s03.py +++ b/scripts/object/tangible/wearables/bandolier/bandolier_tusken_raider_s03.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/bandolier/shared_bandolier_tusken_raider_s03.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/belt/appearance_invisible_s01.py b/scripts/object/tangible/wearables/belt/appearance_invisible_s01.py index 44409b69..b89922ca 100644 --- a/scripts/object/tangible/wearables/belt/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/belt/appearance_invisible_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/belt/shared_appearnace_invisible_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/belt/belt_whip_s01.py b/scripts/object/tangible/wearables/belt/belt_whip_s01.py index cc0ed743..b89922ca 100644 --- a/scripts/object/tangible/wearables/belt/belt_whip_s01.py +++ b/scripts/object/tangible/wearables/belt/belt_whip_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/belt/shared_belt_whip_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_atat.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_atat.py index 0292177a..b89922ca 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_atat.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_atat.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_atat.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_atat_quest.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_atat_quest.py index 864148d2..b89922ca 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_atat_quest.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_atat_quest.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_atat_quest.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing.py index 9a9655fc..b89922ca 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_bwing.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing_quest.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing_quest.py index 595a806a..b89922ca 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing_quest.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_bwing_quest.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_bwing_quest.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_outbreak_prisoner.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_outbreak_prisoner.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_outbreak_prisoner.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_outbreak_prisoner.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter.py index bf26a826..b89922ca 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_tie_fighter.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter_quest.py b/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter_quest.py index 49737ee9..b89922ca 100644 --- a/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter_quest.py +++ b/scripts/object/tangible/wearables/bodysuit/bodysuit_tie_fighter_quest.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/bodysuit/shared_bodysuit_tie_fighter_quest.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/boots/boots_tusken_raider.py b/scripts/object/tangible/wearables/boots/boots_tusken_raider.py index ee69f51b..b89922ca 100644 --- a/scripts/object/tangible/wearables/boots/boots_tusken_raider.py +++ b/scripts/object/tangible/wearables/boots/boots_tusken_raider.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/boots/shared_boots_tusken_raider.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/bracelet/appearance_invisible_l_s01.py b/scripts/object/tangible/wearables/bracelet/appearance_invisible_l_s01.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/bracelet/appearance_invisible_l_s01.py +++ b/scripts/object/tangible/wearables/bracelet/appearance_invisible_l_s01.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/bracelet/appearance_invisible_r_s01.py b/scripts/object/tangible/wearables/bracelet/appearance_invisible_r_s01.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/bracelet/appearance_invisible_r_s01.py +++ b/scripts/object/tangible/wearables/bracelet/appearance_invisible_r_s01.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/cape/cape_imperial_01.py b/scripts/object/tangible/wearables/cape/cape_imperial_01.py index 9ec4f0f3..66ff82f4 100644 --- a/scripts/object/tangible/wearables/cape/cape_imperial_01.py +++ b/scripts/object/tangible/wearables/cape/cape_imperial_01.py @@ -1,7 +1,6 @@ import sys def setup(core, object): - object = core.objectService.creatObject('object/tangible/werables/cape/shared_cape_imperial_01.iff', object.getPlanet()) object.setCustomName('Imperial Cape') object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/cape/cape_rebel_01.py b/scripts/object/tangible/wearables/cape/cape_rebel_01.py index 96b46104..ac9674d5 100644 --- a/scripts/object/tangible/wearables/cape/cape_rebel_01.py +++ b/scripts/object/tangible/wearables/cape/cape_rebel_01.py @@ -1,7 +1,6 @@ import sys def setup(core, object): - object = core.objectService.creatObject('object/tangible/werables/cape/shared_cape_rebel_01.iff', object.getPlanet()) object.setCustomName('Rebel Alliance Cape') object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py b/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py index 4f1f836c..b89922ca 100644 --- a/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/gloves/appearance_invisible_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/gloves/shared_appearance_invisible_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py b/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py index 1c5460c5..b89922ca 100644 --- a/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py +++ b/scripts/object/tangible/wearables/gloves/gloves_tusken_raider.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/gloves/shared_gloves_tusken_raider.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/goggles/goggles_anniversary.py b/scripts/object/tangible/wearables/goggles/goggles_anniversary.py index 343bd2a4..b89922ca 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_anniversary.py +++ b/scripts/object/tangible/wearables/goggles/goggles_anniversary.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_anniverary.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/goggles/goggles_s01.py b/scripts/object/tangible/wearables/goggles/goggles_s01.py index 3e4abde0..b89922ca 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s01.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/goggles/goggles_s02.py b/scripts/object/tangible/wearables/goggles/goggles_s02.py index f9f1e69b..b89922ca 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s02.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s02.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s02.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/goggles/goggles_s03.py b/scripts/object/tangible/wearables/goggles/goggles_s03.py index 0c336bc3..b89922ca 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s03.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s03.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s03.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/goggles/goggles_s04.py b/scripts/object/tangible/wearables/goggles/goggles_s04.py index d1807d6b..4f631a53 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s04.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s04.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s04.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/goggles/goggles_s05.py b/scripts/object/tangible/wearables/goggles/goggles_s05.py index 78e2386a..b89922ca 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s05.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s05.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s05.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/goggles/goggles_s06.py b/scripts/object/tangible/wearables/goggles/goggles_s06.py index feebd820..b89922ca 100644 --- a/scripts/object/tangible/wearables/goggles/goggles_s06.py +++ b/scripts/object/tangible/wearables/goggles/goggles_s06.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/goggles/shared_goggles_s06.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/goggles/rebreather.py b/scripts/object/tangible/wearables/goggles/rebreather.py index 54eb0cc9..b89922ca 100644 --- a/scripts/object/tangible/wearables/goggles/rebreather.py +++ b/scripts/object/tangible/wearables/goggles/rebreather.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/goggles/shared_rebreather.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/hat/hat_fedora__s01.py b/scripts/object/tangible/wearables/hat/hat_fedora__s01.py index 6b9813a0..b89922ca 100644 --- a/scripts/object/tangible/wearables/hat/hat_fedora__s01.py +++ b/scripts/object/tangible/wearables/hat/hat_fedora__s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/hat/shared_hat_fedora_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/hat/hat_imp_s01.py b/scripts/object/tangible/wearables/hat/hat_imp_s01.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/hat/hat_imp_s01.py +++ b/scripts/object/tangible/wearables/hat/hat_imp_s01.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/hat/hat_imp_s02.py b/scripts/object/tangible/wearables/hat/hat_imp_s02.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/hat/hat_imp_s02.py +++ b/scripts/object/tangible/wearables/hat/hat_imp_s02.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/hat/hat_imperial_gunner_01.py b/scripts/object/tangible/wearables/hat/hat_imperial_gunner_01.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/hat/hat_imperial_gunner_01.py +++ b/scripts/object/tangible/wearables/hat/hat_imperial_gunner_01.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/hat/hat_loveday_halo_01.py b/scripts/object/tangible/wearables/hat/hat_loveday_halo_01.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/hat/hat_loveday_halo_01.py +++ b/scripts/object/tangible/wearables/hat/hat_loveday_halo_01.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/hat/hat_loveday_halo_02.py b/scripts/object/tangible/wearables/hat/hat_loveday_halo_02.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/hat/hat_loveday_halo_02.py +++ b/scripts/object/tangible/wearables/hat/hat_loveday_halo_02.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/hat/hat_rebel_trooper_01.py b/scripts/object/tangible/wearables/hat/hat_rebel_trooper_01.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/hat/hat_rebel_trooper_01.py +++ b/scripts/object/tangible/wearables/hat/hat_rebel_trooper_01.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/helmet/helmet_atat.py b/scripts/object/tangible/wearables/helmet/helmet_atat.py index 4e5dd52e..a398dc48 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_atat.py +++ b/scripts/object/tangible/wearables/helmet/helmet_atat.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_atat.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py index 1f220b48..a398dc48 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_blacksun_ace.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_blacksun_ace.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py index cb68c007..4f631a53 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_imperial_ace.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_imperial_ace.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py index bea0d425..a398dc48 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_privateer_ace.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_privateer_ace.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py b/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py index 3573749e..a398dc48 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py +++ b/scripts/object/tangible/wearables/helmet/helmet_fighter_rebel_ace.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_fighter_rebel_ace.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py b/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py index d10ee513..a398dc48 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py +++ b/scripts/object/tangible/wearables/helmet/helmet_tie_fighter.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_tie_fighter.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py index cffc8aa1..a398dc48 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py +++ b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_tusken_raider_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py index 7ffab743..a398dc48 100644 --- a/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py +++ b/scripts/object/tangible/wearables/helmet/helmet_tusken_raider_s02.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/helmet/shared_helmet_tusken_raider_s02.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/jacket/appearance_invisible_s01.py b/scripts/object/tangible/wearables/jacket/appearance_invisible_s01.py index 544b7924..b89922ca 100644 --- a/scripts/object/tangible/wearables/jacket/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/jacket/appearance_invisible_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/jacket/shared_appearance_invisible_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/jacket/jacket_ace_imperial.py b/scripts/object/tangible/wearables/jacket/jacket_ace_imperial.py index 850c3030..b89922ca 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_ace_imperial.py +++ b/scripts/object/tangible/wearables/jacket/jacket_ace_imperial.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_ace_imperial.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/jacket/jacket_ace_privateer.py b/scripts/object/tangible/wearables/jacket/jacket_ace_privateer.py index 9782a5c5..b89922ca 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_ace_privateer.py +++ b/scripts/object/tangible/wearables/jacket/jacket_ace_privateer.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_ace_privateer.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/jacket/jacket_ace_rebel.py b/scripts/object/tangible/wearables/jacket/jacket_ace_rebel.py index f7a0f531..b89922ca 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_ace_rebel.py +++ b/scripts/object/tangible/wearables/jacket/jacket_ace_rebel.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_ace_rebel.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/jacket/jacket_gcw_imperial_01.py b/scripts/object/tangible/wearables/jacket/jacket_gcw_imperial_01.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_gcw_imperial_01.py +++ b/scripts/object/tangible/wearables/jacket/jacket_gcw_imperial_01.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/jacket/jacket_gcw_rebel_01.py b/scripts/object/tangible/wearables/jacket/jacket_gcw_rebel_01.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_gcw_rebel_01.py +++ b/scripts/object/tangible/wearables/jacket/jacket_gcw_rebel_01.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/jacket/jacket_gmf_01.py b/scripts/object/tangible/wearables/jacket/jacket_gmf_01.py index e449cb31..b89922ca 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_gmf_01.py +++ b/scripts/object/tangible/wearables/jacket/jacket_gmf_01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_gmf_01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_01.py b/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_01.py index d521329c..b89922ca 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_01.py +++ b/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_lifeday_09_01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_02.py b/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_02.py index f3c50b29..b89922ca 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_02.py +++ b/scripts/object/tangible/wearables/jacket/jacket_lifeday_09_02.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/jacket/shared_jacket_lifeday_09_02.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/jacket/jacket_outbreak_prison_guard.py b/scripts/object/tangible/wearables/jacket/jacket_outbreak_prison_guard.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/jacket/jacket_outbreak_prison_guard.py +++ b/scripts/object/tangible/wearables/jacket/jacket_outbreak_prison_guard.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/necklace/appearance_invisible_s01.py b/scripts/object/tangible/wearables/necklace/appearance_invisible_s01.py index d0800a5c..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/necklace/appearance_invisible_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_appearance_invisible_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_f.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_f.py index afaaad4c..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_f.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_empire_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_m.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_m.py index 9aa2f58c..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_m.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_empire_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_empire_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_f.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_f.py index b432d84c..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_f.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_neutral_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_m.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_m.py index 2a762b53..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_m.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_neutral_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_neutral_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_f.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_f.py index bee48c93..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_f.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_rebel_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_m.py b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_m.py index 2c5f1c64..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_m.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_ace_pilot_rebel_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_ace_pilot_rebel_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_f.py b/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_f.py index c23a3562..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_f.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_rodian_safari_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_m.py b/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_m.py index 3e24da1a..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_m.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_rodian_safari_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_rodian_safari_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_f.py b/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_f.py index b3412380..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_f.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_trando_scale_of_honor_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_m.py b/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_m.py index 3703ebb2..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_m.py +++ b/scripts/object/tangible/wearables/necklace/ith_necklace_trando_scale_of_honor_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_ith_necklace_trando_scale_of_honor_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire.py index 5e963122..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_empire.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_f.py index 3c505b25..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_empire_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_m.py index 1290edf0..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_empire_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_f.py index 09f398c8..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_empire_wke_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_m.py index 08bc755f..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_empire_wke_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_empire_wke_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral.py index 365352cc..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_neutral.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_f.py index afa3d0a0..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_neutral_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_m.py index fee3c5be..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_neutral_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_f.py index b54d6401..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_neutral_wke_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_m.py index 933441a7..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_neutral_wke_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_neutral_wke_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel.py index 2d4047e5..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_rebel.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_f.py index a1a27607..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_rebel_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_m.py index 2ceb0490..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_rebel_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_f.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_f.py index bb5589f2..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_rebel_wke_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_m.py b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_m.py index d36c1884..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_ace_pilot_rebel_wke_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_ace_pilot_rebel_wke_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_medallion_black_sun.py b/scripts/object/tangible/wearables/necklace/necklace_medallion_black_sun.py index b49e3030..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_medallion_black_sun.py +++ b/scripts/object/tangible/wearables/necklace/necklace_medallion_black_sun.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_medallion_black_sun.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_primitive_01.py b/scripts/object/tangible/wearables/necklace/necklace_primitive_01.py index ca5f3eb8..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_primitive_01.py +++ b/scripts/object/tangible/wearables/necklace/necklace_primitive_01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_primitive_01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_primitive_03.py b/scripts/object/tangible/wearables/necklace/necklace_primitive_03.py index f1176493..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_primitive_03.py +++ b/scripts/object/tangible/wearables/necklace/necklace_primitive_03.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_primitive_03.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_primitive_04.py b/scripts/object/tangible/wearables/necklace/necklace_primitive_04.py index 6b734276..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_primitive_04.py +++ b/scripts/object/tangible/wearables/necklace/necklace_primitive_04.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_primitive_04.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari.py b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari.py index 7f976da3..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari.py +++ b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_rodian_safari.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_f.py b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_f.py index 1428b314..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_rodian_safari_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_m.py b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_m.py index 230748f0..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_rodian_safari_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_f.py b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_f.py index d1d43f3f..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_rodian_safari_wke_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_m.py b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_m.py index a0ede2db..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_rodian_safari_wke_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_rodian_safari_wke_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_f.py b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_f.py index c5debb35..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_trando_scale_of_honor_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_m.py b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_m.py index 2f4dc406..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_trando_scale_of_honor_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_f.py b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_f.py index 6b47a746..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_f.py +++ b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_f.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_trando_scale_of_honor_wke_f.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_m.py b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_m.py index 3a10cbcd..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_m.py +++ b/scripts/object/tangible/wearables/necklace/necklace_trando_scale_of_honor_wke_m.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_trando_scale_of_honor_wke_m.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/pants/pants_outbreak_prison_guard.py b/scripts/object/tangible/wearables/pants/pants_outbreak_prison_guard.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/pants/pants_outbreak_prison_guard.py +++ b/scripts/object/tangible/wearables/pants/pants_outbreak_prison_guard.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/robe/robe_tusken_raider_s01.py b/scripts/object/tangible/wearables/robe/robe_tusken_raider_s01.py index 9ed51ece..b89922ca 100644 --- a/scripts/object/tangible/wearables/robe/robe_tusken_raider_s01.py +++ b/scripts/object/tangible/wearables/robe/robe_tusken_raider_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/robe/shared_robe_tusken_raider_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/robe/robe_tusken_raider_s02.py b/scripts/object/tangible/wearables/robe/robe_tusken_raider_s02.py index 5e7f9f2f..b89922ca 100644 --- a/scripts/object/tangible/wearables/robe/robe_tusken_raider_s02.py +++ b/scripts/object/tangible/wearables/robe/robe_tusken_raider_s02.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/robe/shared_robe_tusken_raider_s02.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py b/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py index 403bd034..a398dc48 100644 --- a/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py +++ b/scripts/object/tangible/wearables/utility/utility_belt_tusken_raider.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/utility/shared_utility_belt_tusken_raider.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py b/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py index 17084a51..a398dc48 100644 --- a/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py +++ b/scripts/object/tangible/wearables/vest/appearance_invisible_s01.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/vest/shared_appearance_invisible_s01.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1) diff --git a/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe.py b/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe.py +++ b/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe_f.py b/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe_f.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe_f.py +++ b/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe_f.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe_m.py b/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe_m.py index ccad8904..b89922ca 100644 --- a/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe_m.py +++ b/scripts/object/tangible/wearables/wookiee/wke_lifeday_robe_m.py @@ -1,4 +1,7 @@ import sys def setup(core, object): + object.setStringAttribute('condition', '100/100') + object.setIntAttribute('volume', 1) + return \ No newline at end of file From f0bb7014c9853c7663cc5fd733a09426b0734a13 Mon Sep 17 00:00:00 2001 From: Skalex223 Date: Fri, 29 Nov 2013 23:35:13 -0500 Subject: [PATCH 6/6] missed 1 add 1 --- scripts/object/tangible/wearables/necklace/necklace_lifeday.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/object/tangible/wearables/necklace/necklace_lifeday.py b/scripts/object/tangible/wearables/necklace/necklace_lifeday.py index a86c99bd..b89922ca 100644 --- a/scripts/object/tangible/wearables/necklace/necklace_lifeday.py +++ b/scripts/object/tangible/wearables/necklace/necklace_lifeday.py @@ -1,8 +1,6 @@ import sys def setup(core, object): - - object = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_lifeday.iff', object.getPlanet()) object.setStringAttribute('condition', '100/100') object.setIntAttribute('volume', 1)