Ghostlore

Ghostlore

Customize your experience!
Create and upload new mods and assets to add new game mechanics to Ghostlore.
Learn More
adam  [developer] 4 20 Apr, 2022 @ 4:46am
Custom Loot Filters
The loot filter follows a similar format to Path of Exile. # can be used to comment out lines. Stats, affixes and base types can be found in the Ghostlore Data google sheet https://docs.google.com/spreadsheets/d/1BfKgYtFYOS5y8MMacgA_Um9wyUyivQtlY0_-v8Q1mog/edit#gid=1125876289 Unfortunately many do not match the in game displays. More options will be added by request. Below is an example of an entry, an item which matches all lines will be shown, the same filter type can be used more than once to filter out items with multiple affixes.

"PlayEffect" will display a light beam if an item matches the filter. The colours are parsed used Unity's TryParseHtmlString function[docs.unity3d.com].

Show
Rarity >= Rare
Attributes SimpleGlyph MainHand OffHand Amulets Chest Head
HasAffix "Health"
BaseType "Sona"
Level >= 50
Stat "Max HP" > 210
PlayEffect purple

You should place custom filters in the %appdata%\..\LocalLow\ATATGames\Ghostlore\filters folder as a .filter file. You can find the default files in (your game folder)\Ghostlore_Data\StreamingAssets.

Filters can be shared as mods on the workshop, any ".filter" files in a mod's folder or sub directory will be read as filters.
Last edited by adam; 13 May, 2023 @ 9:30am
< >
Showing 1-14 of 14 comments
FoodnLoot 28 Jun, 2023 @ 1:15pm 
i tried making a simple loot filter for minion stats. What did i do wrong?


Show
Attributes NoDrop Gem ShowInFilter
Show
Rarity >= Magic
Attributes MainHand OffHand Amulets Chest Head
Stat "Minion Damage" > 1
Stat "Minion Max HP" > 1
Show
Attributes SimpleGlyph
Stat "Minion Damage" > 1
Show
Attributes SimpleGlyph
Stat "Minion Max HP" > 1
Show
Rarity >= Magic
Attributes CompoundGlyph
Stat "Minion Damage" > 1
Stat "Minion Max HP" > 1
adam  [developer] 4 28 Jun, 2023 @ 11:22pm 
To filter 1%, use 0.01 instead of 1.
Last edited by adam; 28 Jun, 2023 @ 11:23pm
^MiXeR^ 29 Jan, 2024 @ 4:59am 
Is there any way to set a filter for if an item has more than 2 of a list of stats?
Like have crit chance and crit dmg from a list of crit chance, crit dmg and absorb
edit: Found out you can do HasAffix 2 "Critical Hit Chance" "Critical Hit Multiplier" "Absorb" for this

Also is there a way to only show Quivers? and not the other weapons?
edit: Just found you can do BaseType "Quiver" for this
Last edited by ^MiXeR^; 29 Jan, 2024 @ 11:38am
JunK 27 Mar, 2024 @ 3:21pm 
what are the commands of "attributes" "nodrop" "showinfilter" "stat" "basetype", where do you get a list of those things in order to know what to put
JunK 27 Mar, 2024 @ 4:36pm 
can anyone explain why nothing is showing up?? tried to make a filter to show specific simple runes with specific stats, and specific map datas with specific stats, and yet it isn't showing anything.
i put this in, save as a .filter file (not a txt file) and load it up, drop those items that have those stats on the floor to test it and they don't show up

Show
Rarity >= Magic
Attributes SimpleGlyph
BaseType "Sona"
Stat "Item Find Chance" > 0.15
Stat "Bonus XP" > 0.07
PlayEffect purple
Show
Rarity >= Magic
Attributes SimpleGlyph
BaseType "Utala"
Stat "Item Find Chance" > 0.15
Stat "Bonus XP" > 0.07
PlayEffect purple
Show
Rarity >= Magic
Attributes SimpleGlyph
BaseType "Kasi"
Stat "Item Find Chance" > 0.15
Stat "Bonus XP" > 0.07
PlayEffect purple
Show
Attributes HellFragment
Stat "Bonus XP" > 0.01
Stat "Map Food" > 0.01
Stat "Magic Find Chance" > 0.01
Stat "Map Hell Notes" > 0.01
PlayEffect purple

i doubt i need to make it all separate like that, but i figured i'd eliminate any errors doing it that way, as i kept trying to edit it so it would work
JunK 27 Mar, 2024 @ 4:54pm 
even when i just use something like this it won't show anything. how do you make it so a specific mod will make the item show up? nothing im making is working, basically just copying the examples above

Show
Rarity >= Magic
Attributes SimpleGlyph
BaseType "Utala"
HasAffix "Item Find Chance"
PlayEffect purple

but if i just use this, it will show. as soon as i try to add a stat/mod or whatever, it makes everything disappear

Show
Rarity >= Magic
Attributes SimpleGlyph
BaseType "Utala"
PlayEffect purple
Last edited by JunK; 27 Mar, 2024 @ 4:55pm
adam  [developer] 4 27 Mar, 2024 @ 6:01pm 
That looks like it should work. All I can think of is maybe the rounding? Sometimes items which show 7% for example are actually 6.9%.
JunK 27 Mar, 2024 @ 8:22pm 
Originally posted by adam:
That looks like it should work. All I can think of is maybe the rounding? Sometimes items which show 7% for example are actually 6.9%.
well the items im dropping in order to test are 10% item find and over 20% xp bonus, so its well above the values listed to show, yet still no show.
even if i drop the value to 0.01 nothing shows up. not sure what the issue is
adam  [developer] 4 27 Mar, 2024 @ 11:47pm 
Hmm, can't really think of anything. Could you share the whole file somewhere? Also maybe try it with just one item and a stat like max HP instead?
JunK 28 Mar, 2024 @ 1:02pm 
ok i got it to work
it may be that i was asking it to find multiple stats, instead of essentially one or the other. once i broke it up so it was only 1 stat to find, it worked.
new lines look like this, for instance

Show
Rarity >= Magic
Attributes SimpleGlyph
BaseType "Sona"
Stat "Item Find Chance" > 0.07
PlayEffect purple

Show
Rarity >= Magic
Attributes SimpleGlyph
BaseType "Sona"
Stat "Bonus XP" > 0.15
PlayEffect purple

it works. so yeah just had to break up the stats and have it as a separate thing, i guess. that works for me. don't care if its the most concise text it can be or not, just want it to work. awesome!
adam  [developer] 4 3 Apr, 2024 @ 11:34pm 
Oh, yeah if you have more than one condition in a block it means the item needs to match all of them.
MoDaKin 4 Sep, 2024 @ 10:55am 
How can I display an item that has 6 affixes, regardless of which ones?
edit: as ^MiXeR^ has described, use HasAffix 6 "Health" "Absorb" "HP Regen" "Max MP" "MP Regen" "HP Multiplier" "MP Multiplier" ... (All ItemAffix from the DataSheet)
Last edited by MoDaKin; 4 Sep, 2024 @ 3:25pm
Dubtaps 18 Nov, 2024 @ 7:17pm 
What is the attribute for Map Data filters? I tried 'HellFragment' like JunK above but that doesn't seem to work. Thanks in advance~
JunK 18 Nov, 2024 @ 8:46pm 
Originally posted by Dubtaps:
What is the attribute for Map Data filters? I tried 'HellFragment' like JunK above but that doesn't seem to work. Thanks in advance~
this is what is listed as its Attributes
"HellFragment, ShowInFilter"

however there are loads of things that are "ShowInFilter" that you probably don't want showing, so it is "HellFragment"

im just not sure if you have to qualify it further in order to have them show up

if you do, you can do something like i have above

Show
Attributes HellFragment
Stat "Bonus XP" > 0.01
Stat "Map Food" > 0.01
Stat "Magic Find Chance" > 0.01
Stat "Map Hell Notes" > 0.01
PlayEffect purple

any stat you want to see on the hellfragments you can add. if you want to see all the hellfragments you can just put them all there at that lowest stat of 0.01 and it'll show

all the stats hellfragments can have i think are:
Map Size
Map Tresure Chests
Map Secret Shop
Map Shrine of Balance
Map Shrine of Spirits
Map Keropok
Map Loot Goblin
Map Crafting
Map Food
Map Hell Notes
Map Orang Bunian
Map Awakened Spawn
Map Boost
Map Extra Affix
Map Extra Option
Map Effect Multiplier
Bonus XP
Bonus Coins
Map Monster Level
Magic Find Chance
< >
Showing 1-14 of 14 comments
Per page: 1530 50