Anyways...I am trying to make a simple bed roll mod, here is my concept...
--BedRollDefault is misc item with physics enabled and able to be picked up, bought,sold, dropped by the player( It has the Deer Pelt Mesh and Texture as a placeholder for now).
Ideally, BedRollDefault has a script that runs onActivate, now here I can go two ways ( maybe). In a perfect world I could use an if statement to check if the player was crouched, thus, on I could have the bedrollDown( basic bedroll mesh, texture, with a script that would allow for picking up should the player be standing) appear where the players cursor is and then have the onActivate script for the bedrollDown give me back a BedRollDefault and remove the bedrollDown.
or...I could use a prompt box to ask the user if he/she would like to set up camp (anytime BedRollDefaul is activated/picked up) if yes is selected, then BedRollDefault is removed and bedRollDown appears offset from the player. Not sure how I would get the bed back though.
I'm trying my best but some of the naming conventions are not the easiest to learn. I understand the process that needs to happen but cannot find any reference as to the keywords/implemented code that I need to use.
Edit: Of course this is just a broad explanation, if you would like to see a bit of sample code( the syntax will probably look like C# events/eventhandler style), please let me know

)