mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
DNA Extractor will be removed from inventory on login if the player has completed the relevant quest
This commit is contained in:
@@ -1656,6 +1656,10 @@ public class base_player extends script.base_script
|
||||
outparams.put("player", self);
|
||||
messageTo(cityHall, "msgCheckMyCityMotd", outparams, 0, false);
|
||||
}
|
||||
if(groundquests.hasCompletedQuest(self, "u16_nym_themepark_miner_dna_collection") && utils.playerHasStaticItemInBankOrInventory(self, "item_nym_themepark_dna_extractor")) {
|
||||
obj_id dna_extractor = utils.getStaticItemInBankOrInventory(self, "item_nym_themepark_dna_extractor");
|
||||
if(isValidId(dna_extractor)) utils.destroyObject(dna_extractor);
|
||||
}
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int disconnectPlayerCtsCompletedOrInProgress(obj_id self, dictionary params) throws InterruptedException
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
package script.systems.veteran_reward;
|
||||
|
||||
public class character_respec_reset_device {
|
||||
}
|
||||
Reference in New Issue
Block a user