bizuktag
8 years agoRising Traveler
Cumulative effect buffs possible?
Is it possible to create buffs that change with cumulative actions - for example, giving a sim a 'caffeinated' buff after one coffee, a 'more caffeinated' buff after two coffees, 'super caffeinated' after three?
I tried using blacklisting but it didn't work. In buff 1 I blacklisted buffs 2 and 3 (so you couldn't receive buff 1 if you had 2 or 3), in buff 2 I blacklisted buff 3 and whitelisted buff 1 (so you could only receive buff 2 if you already had 1), and so on, but no dice. I'm not sure if it's my coding or if the game isn't set up to add and remove/replace a buff in this way.
I can see other buffs are altered over time - pregnancy, garlic sickness, etc - but I believe those tie into traits and proximity respectively. Does anyone know if this kind of cumulative effect from interactions is possible with buffs? Just want to know if I'm totally barking up the wrong tree.
I tried using blacklisting but it didn't work. In buff 1 I blacklisted buffs 2 and 3 (so you couldn't receive buff 1 if you had 2 or 3), in buff 2 I blacklisted buff 3 and whitelisted buff 1 (so you could only receive buff 2 if you already had 1), and so on, but no dice. I'm not sure if it's my coding or if the game isn't set up to add and remove/replace a buff in this way.
I can see other buffs are altered over time - pregnancy, garlic sickness, etc - but I believe those tie into traits and proximity respectively. Does anyone know if this kind of cumulative effect from interactions is possible with buffs? Just want to know if I'm totally barking up the wrong tree.