hamncheese 8 Report post Posted May 3, 2014 (edited) so in the attempt to make writing pickit file easier why not have something like Variable to store the repeated values The aim is to create a smaller file, easier to edit, and less work of course for example, lets say i want to Stash Rare Helm, Chest, Amulet and Ring with this property - Maximum Life > 40 - minimal dual resistance with 30% each the standard pickit writing as of now ///////////////////// // Life Dual Resist ///////////////////// [Category] == "Boots" && [Rarity] == "Rare" # [base_movement_velocity_+%] >= "25" && [base_maximum_life] >= "40" && ([base_cold_damage_resistance_%] >= "30" || [base_fire_damage_resistance_%] >= "30" || [base_lightning_damage_resistance_%] >= "30" || [base_chaos_damage_resistance_%] >= "30" ) && [StashItem] == "true" [Category] == "Helm" && [Rarity] == "Rare" # [base_maximum_life] >= "40" && (([base_cold_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_lightning_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_cold_damage_resistance_%] >= "30" && [base_lightning_damage_resistance_%] >= "30")|| ([base_chaos_damage_resistance_%] >= "30" && [base_cold_damage_resistance_%] >= "30") || ([base_chaos_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_chaos_damage_resistance_%] >= "30" && [base_lightning_damage_resistance_%] >= "30")) && [StashItem] == "true" [Category] == "Chest" && [Rarity] == "Rare" # [base_maximum_life] >= "40" && (([base_cold_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_lightning_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_cold_damage_resistance_%] >= "30" && [base_lightning_damage_resistance_%] >= "30")|| ([base_chaos_damage_resistance_%] >= "30" && [base_cold_damage_resistance_%] >= "30") || ([base_chaos_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_chaos_damage_resistance_%] >= "30" && [base_lightning_damage_resistance_%] >= "30")) && [StashItem] == "true" [Category] == "Amulet" && [Rarity] == "Rare" # [base_maximum_life] >= "40" && (([base_cold_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_lightning_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_cold_damage_resistance_%] >= "30" && [base_lightning_damage_resistance_%] >= "30")|| ([base_chaos_damage_resistance_%] >= "30" && [base_cold_damage_resistance_%] >= "30") || ([base_chaos_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_chaos_damage_resistance_%] >= "30" && [base_lightning_damage_resistance_%] >= "30")) && [StashItem] == "true" [Category] == "Ring" && [Rarity] == "Rare" # [base_maximum_life] >= "40" && (([base_cold_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_lightning_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_cold_damage_resistance_%] >= "30" && [base_lightning_damage_resistance_%] >= "30")|| ([base_chaos_damage_resistance_%] >= "30" && [base_cold_damage_resistance_%] >= "30") || ([base_chaos_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_chaos_damage_resistance_%] >= "30" && [base_lightning_damage_resistance_%] >= "30")) && [StashItem] == "true" and now what if theres some sorf of Variable to hold all that exact same value ? the above line would look something like this ///////////////////// // Life Dual Resist ///////////////////// {Variable1} = [base_maximum_life] >= "40" && (([base_cold_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_lightning_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_cold_damage_resistance_%] >= "30" && [base_lightning_damage_resistance_%] >= "30")|| ([base_chaos_damage_resistance_%] >= "30" && [base_cold_damage_resistance_%] >= "30") || ([base_chaos_damage_resistance_%] >= "30" && [base_fire_damage_resistance_%] >= "30") || ([base_chaos_damage_resistance_%] >= "30" && [base_lightning_damage_resistance_%] >= "30")) && [StashItem] == "true" [Category] == "Boots" && [Rarity] == "Rare" # [base_movement_velocity_+%] >= "25" && {Variable1} [Category] == "Helm" && [Rarity] == "Rare" # {Variable1} [Category] == "Chest" && [Rarity] == "Rare" # {Variable1} [Category] == "Amulet" && [Rarity] == "Rare" # {Variable1} [Category] == "Ring" && [Rarity] == "Rare" # {Variable1} what do u guys think ? i would personally love this, as this would make changing value, adding new mod, etc a hella lot easier Edited May 3, 2014 by hamncheese Quote Share this post Link to post Share on other sites
hamncheese 8 Report post Posted May 5, 2014 huh... nobody wants this kind of feature ? O.o Quote Share this post Link to post Share on other sites