FrenchDecay on 21/2/2017 at 09:13
Hi everyone,
I have 9 coins in my FM that are meant to be used on specific items to unlock a bonus, but I can't figure out how to make the coins stack on each other in the inventory and how to make it so that they disappear only when used on the correct items; as for now they just count as 9 separate items and they vanish if you misuse them on any other item.
I don't know if this is relevant in any way, but they have a common custom stim
So, can someone tell, please, me how can I make them stackable and how to make them disappear only when used on the correct item?
Sorry if this was already solved somewhere else, I didn't find anything about it. :erm:
Unna Oertdottir on 21/2/2017 at 09:28
You need to edit combine type tag for your stackable items.
FrenchDecay on 21/2/2017 at 18:01
Ah thanks, they do stack. However I still need to figure out the delete part, as now they all vanish in one frob
Yandros on 21/2/2017 at 18:21
Look at the Frobinfo on something that does decrement on use, like Food. I believe there is a value like "Use Ammo" and that's probably the one you want.
FrenchDecay on 21/2/2017 at 19:49
It did get rid of the "using the whole stack on frob" part, so thanks Yandros.
The coins still can be used on anything else; I don't remember of something that could be used the way I use the coins in the original game, the closest thing in my mind is the ruby eyes from Trail of Blood, but if I remember well they had to be inserted in the correct eye socket
john9818a on 21/2/2017 at 20:01
I wonder if the delete state is set on those coins.
Yandros on 21/2/2017 at 20:43
Are these objects and their targets using key and lock properties? If so, use a source and receptron for a custom stim instead. Key objects can get used up when frobbed on anything which can be targeted, like a door.
john9818a on 22/2/2017 at 01:27
After I finally got home from work I looked at one of the objects you were referring to. In the Frob Info -> Tools you have 'delete' selected. Removing the 'delete' setting stops the object from disappearing but it remains when you use it on the intended objects. To have the object removed from inventory after being used, go to the Receptron for each intended recipient object and add an entry: Destroy object & select 'source' as the target. With this setup I'm not sure if you can stack all of the objects without deleting them all at once. I didn't have any problem having them as seperate objects, but if it destroys only one as they object is used then that would benefit players who don't like lots of stuff to scroll through.
Yandros on 22/2/2017 at 02:39
If it doesn't work, I can look at how I did the holy water used to bless the lost soldier remains in Godbreaker mission 2. Those stacked and it used one each time you frobbed it on a pile of bones.
FrenchDecay on 23/2/2017 at 16:49
Quote Posted by john9818a
After I finally got home from work I looked at one of the objects you were referring to. In the Frob Info -> Tools you have 'delete' selected. Removing the 'delete' setting stops the object from disappearing but it remains when you use it on the intended objects. To have the object removed from inventory after being used, go to the Receptron for each intended recipient object and add an entry: Destroy object & select 'source' as the target. With this setup I'm not sure if you can stack all of the objects without deleting them all at once. I didn't have any problem having them as seperate objects, but if it destroys only one as they object is used then that would benefit players who don't like lots of stuff to scroll through.
It worked, coins don't stack but this will do as it isn't such a big deal anyway. Thanks guys, I didn't know custom stims were so handy!