This is an old revision of the document!
This system make it so that when an item is dropped, it creates a placeable base on variables set on the item and it is possible to grab back the object by using the player tool. The object don't need to be useable as you can target the ground with your player tool and it let you select an object close to the targeted location. The placeables created by this system are persistent (they remain there after a reset, until someone destroy them or pick them up).
Varaible Name | Variable Type | Variable Value | Required or Optional |
---|---|---|---|
EVENT_UNACQUIRE | String | tps_ev_unacqitem | Required |
TPS_PLC_RESREF | String | ResRef of the placeable | Required |
TPS_NAME | String | override the name of the palceable (and item) | Optional |
TPS_DESCRIPTION | String | override the description of the placeable (and item) | Optional |
TPS_PLC_APPEARANCE | Integer | override the appearance of the placeable | Optional |
TPS_MAX_HP | Integer | override the max hit points of the placeable | Optional |
TPS_HARDNESS | Integer | override the hardness of the placeable | Optional |
TPS_PLACED_SCRIPT | String | script to run when the placeable is created | Optional |
TPS_FLAGS | Integer | sum of all options that you want to activate: 1: PCs can rename the placeable 2: PCS can change the description of the placeable 4: Only the PC that dropped the placeable can manipulate it (grab it, move it, rename it….) - Transportable placeables with this flag shouln't be sold in stores For example, if you set the variable to 7, all the options above will be activated. If you set it to 4, it wont be possible to change the description of the item or rename it and only the owner of the item will be able to move it and grab it back. | Optional |