Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed the warning agaisnt netcode variables. #103

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/dev/apis/lethallib/customscrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ This item data lets you configure basically everything about your item. There ar
- **Allow Dropping Ahead of Player**: Whether the item can be dropped in front of the player, as opposed to only dropping directly below their feet.
- **Is Defensive Weapon**: For scrap that also acts as weapons; requires more special scripting, so for most cases should be left off.

Everything else is optional, has no effect on scrap, or shouldn't be modified (e.g. Netcode variables should be left alone).
Everything else is optional, has no effect on scrap, or shouldn't be modified.

Note that you will have to enable some of the netcode variables if you want them to sync properly in multiplayer.
Xilophor marked this conversation as resolved.
Show resolved Hide resolved

## Item Prefab
An item prefab needs to have a specific setup to work correctly with all the Lethal Company systems. The prefab should have only the root object and a child object called "ScanNode":
Expand Down