Modding:Giving Creatures Inventory Items: Difference between revisions
Jump to navigation
Jump to search
(add modding info box) |
m (add navbox) |
||
Line 23: | Line 23: | ||
<part Name="Inventory" Builder="InventoryChestJunk3or4"></part> | <part Name="Inventory" Builder="InventoryChestJunk3or4"></part> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{Modding Navbox}} |
Revision as of 22:51, 8 September 2019
This page is about modding. See the modding overview for an abstract on modding. |
This page is about modding. See the modding overview for an abstract on modding.
This page is about modding. See the modding overview for an abstract on modding.
Preset Inventory
Add an inventoryobject to the object
<inventoryobject Blueprint="Lives1"></inventoryobject>
Random Inventory
The best modern way is to add a tag:
<tag Name="InventoryPopulationTable" Value="MyNewSnapjawPopulationTableWhatever"></tag>
...and add the matching population table via a populationtables.xml file in your mod.
Legacy Methods
Legacy methods that we've most deprecated in favor of population tables:
Builder classes directly on the inventory part:
<part Name="Inventory" Builder="InventoryChestJunk3or4"></part>
|