SirTyler / BetterTeleporter

Better Teleporters for Lethal Company
5 stars 5 forks source link

Change keep items name #4

Open Chdata opened 8 months ago

Chdata commented 8 months ago

grabbableObject.GetType().ToString()) will get the type of an item, like keyItem or Flashlight as you use it

By for most objects you can carry, it's a PhysProp - which covers a wide range of items like the screw, gold bar, etc.

It'd be nice if there was a config option to go by item name too.

if (grabbableObject.itemProperties.itemName == "Stale bread")

for example is the name of a custom item I made. Its type is a PhysProp.

SirTyler commented 8 months ago

This is something I've thought about doing at some point, I just never really intended for the mod to let you keep everything save for Keys and the like. The functionality has been slowly getting expanded by popular demand, but I think this specific feature will be a later consideration.

Tyrantin commented 7 months ago

Is there a single string that I have to add in order to teleport with all items? If so how would it look to paste it in!?