mr.devolver
Refugee
Normally you would get that courier's satchel to retrieve supplies from. Is it possible to create a custom container with custom loot for a fetch quest?
Havent tested but looks possible. In quests.xml:Normally you would get that courier's satchel to retrieve supplies from. Is it possible to create a custom container with custom loot for a fetch quest?
<quest_item id="2" name="questCassadoreSupplies" description_key="questSuppliesGroupDesc" icon="questCassadoreSupplies" icon_color="255,255,255"/>
Thanks, that's what I thought would work too, but for some reason, when I replaced default_container with my custom block (based on the original Courier's Satchel), regular Courier's Satchel was still there instead. I don't know why.Havent tested but looks possible. In quests.xml:
<objective type="FetchFromContainer">
<property name="phase" value="3"/>
<property name="quest_item_ID" value="1"/>
<property name="item_count" value="1"/>
<property name="default_container" value="cntFetchQuestSatchel"/>
<property name="nav_object" value="fetch_container" />
</objective>
Code:<quest_item id="2" name="questCassadoreSupplies" description_key="questSuppliesGroupDesc" icon="questCassadoreSupplies" icon_color="255,255,255"/>
So looks like you can create a block to replace the default_container (or just append to the fetchquestsatchel block's lootlist.), then create a new quest_item with id=3, then change the quest_item_ID value to 3 in the quest... Theoretically of course.![]()
I feel like I'm running in circles here. This time I tried to do this a little bit differently. I'm creating a new box for testing purpose and downgrading it to the block with the assigned loot list. At first it seemed to work, but I'm not getting the whole list of items in that box. I'm just getting one item from that list. I thought the count attribute of lootcontainer set to 1 was the issue, so I removed the attribute completely, thinking it might fix the problem, but it didn't fix it.Well the block spawned in a poi will be from that helper block. So you sould have to add your new block to that helper.. that might work then.
You need to have count="all" in your lootgroup used for the container.
<lootgroup name="PewPewloot" count="all">
<item name="gunPewPew" quality="6"/>
<item name="ammoEC" count="100,200"/>
<item name="casinoCoin" count="1000,5000"/>
</lootgroup>
Thank you again, you're my hero!You'll just need to assign the container a unique loot ID. Then in loot.xml, create your lootgroup like I posted above, then add it to the lootgroup for your container. You can look in The Wasteland's xmls for examples. The Nuka recipes and stuff would be similar to what you are doing. Or the PewPewloot from above.