Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
C.6 Ship Upgrades/Decors
Updated 6 months agoCode
Editor
[DISCLAIMER]
This page assumes you've correctly setup Unity and followed the steps within the first two pages https://thunderstore.io/c/lethal-company/p/TeamXiaolan/DawnLib/wiki/4097-a-unity-setup/
https://thunderstore.io/c/lethal-company/p/TeamXiaolan/DawnLib/wiki/4099-b2-registering-via-unity-editor/
If you have not finished those steps, finish them and come back to this page.
Make a folder for your Ship Upgrade/Decor and inside it add a Registry folder.
In the registry folder right click, hover over create -> DawnLib -> Definitions -> DuskUnlockableItemDefinition.
Put the DuskUnlockableItemDefinitionand all related assets under an AssetBundle like "romantictableassets".
Include this AssetBundle into the list of AssetBundles in your ContentContainer (made during the Unity Setup page).
Done!
[Remember]
You may always contact@xuxiaolanon discord, whether through the lethal modding discord or DMs for more inquires or any difficulties encountered.
Pages
- A. Unity Setup
- B.1 Registering Content via Code
- B.2 Registering via Unity Editor
- C.3 Weathers
- C.4 Enemies
- C.5 Inside/Outside Hazards
- C.6 Ship Upgrades/Decors
- C.7 Items
- C.8 Additional TileSets
- C.9 Terminal Commands
- C.A.1 Footsteps
- C. Interiors
- C. Moons
- D.1 Achievements
- D.2 Vehicles
- D.3 Entity Replacements
- E.1 DawnLib SourceGenerator
- F.1 Utility Scripts
- F.2 Unity Editor Tricks
- . Interiors Code Setup
- . Interiors Editor Setup
- . Moons Code Setup
- . Moons Editor Setup