TehAgent
Refugee
Im at a loss for whats wrong here....this was working prior to the recent update.
I changed the winebarrels and cardboard box stacks to loot containers, since at a bare minimum stacks of boxes would definitely have 'things' in the boxes.
This is what the block looks like:
<block name="palletBrownBoxesBase">
<property name="Material" value="MCardboardLoot"/>
<property name="Class" value="Loot"/>
<property name="Shape" value="ModelEntity"/>
<property name="Model" value="@:Entities/Industrial/boxesCardboardPalletPrefab.prefab"/>
<property name="ImposterExchange" value="imposterBlock" param1="149"/>
<property name="WaterFlow" value="permitted"/>
<property name="Collide" value="sight,movement,melee,bullet,arrow,rocket"/>
<property name="Path" value="solid"/>
<drop event="Harvest" name="resourcePaper" count="1,3" tag="allHarvest,perkJunkMiner"/>
<drop event="Harvest" name="resourceScrapPolymers" count="1,3" tag="allHarvest,perkJunkMiner"/>
<drop event="Destroy" count="0"/>
<drop event="Fall" name="terrDestroyedWoodDebris" count="1" prob="0.75" stick_chance="1"/>
<property name="SortOrder1" value="B278"/>
<property name="SortOrder2" value="0000"/>
<property name="FilterTags" value="MC_building,SC_commercial,SC_construction,SC_decor"/>
</block>
So I went to loot.xml and added these:
Lootcontainer:
<lootcontainer name="palletBrownBoxesBase" count="2" size="4,4" sound_open="UseActions/open_cardboard" sound_close="UseActions/close_cardboard" loot_quality_template="qualBaseTemplate">
<item group="pallets"/>
</lootcontainer>
Lootgroup:
<lootgroup name="pallets">
<item name="resourceScrapIron" count="1,5" loot_prob_template="medLow"/>
<item name="resourceScrapPolymers" count="1,5" loot_prob_template="medLow"/>
<item name="resourceScrapLead" count="1,5" loot_prob_template="medLow"/>
<item name="resourceScrapBrass" count="1,5" loot_prob_template="medLow"/>
<item name="toolCookingGrill" count="1" loot_prob_template="veryLow"/>
<item name="toolCookingPot" count="1" loot_prob_template="veryLow"/>
<item name="meleeWpnBladeT1HuntingKnife" count="1" loot_prob_template="veryLow"/>
<item group="groupArmorParts" loot_prob_template="veryLow"/>
<item group="groupArmorScaled" loot_prob_template="veryLow"/>
<item group="groupModAllScaled" loot_prob_template="veryLow"/>
<item group="groupTreasureMaps" loot_prob_template="veryLow"/>
<item name="resourceCloth" count="1,5" loot_prob_template="high"/>
<item name="resourceMetalPipe" count="1,3" loot_prob_template="low"/>
<item name="resourceLockPick" count="1,3" loot_prob_template="med"/>
<item group="toolParts" loot_prob_template="medLow"/>
<item group="groupCrackabookCrate01" loot_prob_template="veryLow"/>
<item group="groupCrackabookCrate02" loot_prob_template="veryLow"/>
<item group="groupCrackabookCrate03" loot_prob_template="veryLow"/>
<item group="skillMagazines" loot_prob_template="medLow"/>
<item name="resourceWood" count="50,200" loot_prob_template="med"/>
<item group="groupScrapCommon" loot_prob_template="med"/>
<item group="groupBuildingCommon" loot_prob_template="med"/>
<item group="groupCraftingCommon" loot_prob_template="med"/>
<item group="seeds" loot_prob_template="low" tags="seedSkill"/>
<item group="groupScrapUncommon" loot_prob_template="medLow"/>
<item group="groupCraftingUncommon" loot_prob_template="medLow"/>
<item group="groupBuildingUncommon" loot_prob_template="medLow"/>
<item group="groupAmmoResourcesSmall" loot_prob_template="low"/>
<item name="resourceFeather" count="1,5" loot_prob_template="low"/>
<item group="weaponParts" loot_prob_template="veryLow"/>
</lootgroup>
However, when I load the game, it stops on blocks, saying that the box doesnt have a lootcontainer. It skips past the first two and goes to the one. So I remove the loot class from the block and delete the entry to see whats wrong here. It skips the first two again, and goes to the next pallet loot group.
*however*
If I remove ALL of the cardboard box stacks, it stops skipping the first two (ice machine and broken vending) and THEN tells me that those also dont have a loot list.
But they all do...Im baffled. Especially at how it skips the first two loot containers, and doesnt register them as having a problem until i remove all of the other loot containers. Ive checked the spelling multiple times, copy-pasted names back and forth....nothing works. This was just working perfectly fine before the early August update.
I changed the winebarrels and cardboard box stacks to loot containers, since at a bare minimum stacks of boxes would definitely have 'things' in the boxes.
This is what the block looks like:
<block name="palletBrownBoxesBase">
<property name="Material" value="MCardboardLoot"/>
<property name="Class" value="Loot"/>
<property name="Shape" value="ModelEntity"/>
<property name="Model" value="@:Entities/Industrial/boxesCardboardPalletPrefab.prefab"/>
<property name="ImposterExchange" value="imposterBlock" param1="149"/>
<property name="WaterFlow" value="permitted"/>
<property name="Collide" value="sight,movement,melee,bullet,arrow,rocket"/>
<property name="Path" value="solid"/>
<drop event="Harvest" name="resourcePaper" count="1,3" tag="allHarvest,perkJunkMiner"/>
<drop event="Harvest" name="resourceScrapPolymers" count="1,3" tag="allHarvest,perkJunkMiner"/>
<drop event="Destroy" count="0"/>
<drop event="Fall" name="terrDestroyedWoodDebris" count="1" prob="0.75" stick_chance="1"/>
<property name="SortOrder1" value="B278"/>
<property name="SortOrder2" value="0000"/>
<property name="FilterTags" value="MC_building,SC_commercial,SC_construction,SC_decor"/>
</block>
So I went to loot.xml and added these:
Lootcontainer:
<lootcontainer name="palletBrownBoxesBase" count="2" size="4,4" sound_open="UseActions/open_cardboard" sound_close="UseActions/close_cardboard" loot_quality_template="qualBaseTemplate">
<item group="pallets"/>
</lootcontainer>
Lootgroup:
<lootgroup name="pallets">
<item name="resourceScrapIron" count="1,5" loot_prob_template="medLow"/>
<item name="resourceScrapPolymers" count="1,5" loot_prob_template="medLow"/>
<item name="resourceScrapLead" count="1,5" loot_prob_template="medLow"/>
<item name="resourceScrapBrass" count="1,5" loot_prob_template="medLow"/>
<item name="toolCookingGrill" count="1" loot_prob_template="veryLow"/>
<item name="toolCookingPot" count="1" loot_prob_template="veryLow"/>
<item name="meleeWpnBladeT1HuntingKnife" count="1" loot_prob_template="veryLow"/>
<item group="groupArmorParts" loot_prob_template="veryLow"/>
<item group="groupArmorScaled" loot_prob_template="veryLow"/>
<item group="groupModAllScaled" loot_prob_template="veryLow"/>
<item group="groupTreasureMaps" loot_prob_template="veryLow"/>
<item name="resourceCloth" count="1,5" loot_prob_template="high"/>
<item name="resourceMetalPipe" count="1,3" loot_prob_template="low"/>
<item name="resourceLockPick" count="1,3" loot_prob_template="med"/>
<item group="toolParts" loot_prob_template="medLow"/>
<item group="groupCrackabookCrate01" loot_prob_template="veryLow"/>
<item group="groupCrackabookCrate02" loot_prob_template="veryLow"/>
<item group="groupCrackabookCrate03" loot_prob_template="veryLow"/>
<item group="skillMagazines" loot_prob_template="medLow"/>
<item name="resourceWood" count="50,200" loot_prob_template="med"/>
<item group="groupScrapCommon" loot_prob_template="med"/>
<item group="groupBuildingCommon" loot_prob_template="med"/>
<item group="groupCraftingCommon" loot_prob_template="med"/>
<item group="seeds" loot_prob_template="low" tags="seedSkill"/>
<item group="groupScrapUncommon" loot_prob_template="medLow"/>
<item group="groupCraftingUncommon" loot_prob_template="medLow"/>
<item group="groupBuildingUncommon" loot_prob_template="medLow"/>
<item group="groupAmmoResourcesSmall" loot_prob_template="low"/>
<item name="resourceFeather" count="1,5" loot_prob_template="low"/>
<item group="weaponParts" loot_prob_template="veryLow"/>
</lootgroup>
However, when I load the game, it stops on blocks, saying that the box doesnt have a lootcontainer. It skips past the first two and goes to the one. So I remove the loot class from the block and delete the entry to see whats wrong here. It skips the first two again, and goes to the next pallet loot group.
*however*
If I remove ALL of the cardboard box stacks, it stops skipping the first two (ice machine and broken vending) and THEN tells me that those also dont have a loot list.
But they all do...Im baffled. Especially at how it skips the first two loot containers, and doesnt register them as having a problem until i remove all of the other loot containers. Ive checked the spelling multiple times, copy-pasted names back and forth....nothing works. This was just working perfectly fine before the early August update.