Open Chdata opened 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.
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!?
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.