ASharpPen / Valheim.DropThat

The Unlicense
9 stars 3 forks source link

Drop lists and adding to character_drop #157

Open Syrkres opened 8 months ago

Syrkres commented 8 months ago

So I have two files, a drop_table and a character_drop.

drop_that.drop_table.food_source_vikings.cfg

[FoodSourceVikings.1100] PrefabName = MeadTasty EnableConfig = True SetAmountMin = 1 SetAmountMax = 2 SetChanceToDrop = 10 SetDropOnePerPlayer = False SetScaleByLevel = True DisableResourceModifierScaling = False

[FoodSourceVikings.1101] PrefabName = DeerStew EnableConfig = True SetAmountMin = 1 SetAmountMax = 2 SetChanceToDrop = 10 SetDropOnePerPlayer = False SetScaleByLevel = True DisableResourceModifierScaling = False

drop_that.character_drop.RenegadeVikings.cfg

[BLV_RenegadeVikingT2.2001] SetDropChance=100 SetDropOnlyOnce=False SetDropMin=1 SetDropMax=1 UseDropList=FoodSourceVikings

// Having the SetDropMin/SetDropMax does that mean it will only drop one item from my FoodSourceVikings drop table, but will drop what is specified? for example If I kill a BLV_RenegadeVikingT2 it will drop either MeadTasty (1-2 count) or DeerStew(1-2 count) or will it drop 1 MeadTasty, and 1 DeerStew?

// Can they be in separate file or does it have to be in same file? is there an issue with loading order?

// Can a drop table point/reference to another drop_table?

Thanks

// Is there a way to add comments delimiter to these files?