|
Post by Leniad on Jun 24, 2017 21:08:29 GMT -5
I tried to restrict bottles of wine to adults only using appropriate for adults and alcoholic drink tags, but the kids need a bottle of wine today, apparently. The bottles are also tagged as multi_food, because there is no multi_drink tag. Wondering if anyone has done much with restricting use by age, and can make suggestions. Thanks.
|
|
|
Post by andrew on Jun 25, 2017 0:28:03 GMT -5
Hi Leniad,
You should be able to modify this from the object tuning. In the example below, it uses "generic_consume_drink_nonbar", but modifies it so that only teens and above can use it.
<U n="_components"> <V n="affordance_tuning" t="enabled"> <U n="enabled"> <L n="affordance_map"> <U> <T n="key">13432<!--generic_consume_drink_nonbar--></T> <U n="value"> <L n="tests"> <L> <V t="sim_info"> <U n="sim_info"> <V t="specified" n="ages"> <L n="specified"> <E>TEEN</E> <E>YOUNGADULT</E> <E>ADULT</E> <E>ELDER</E> </L> </V> </U> </V> </L> </L> </U> </U> </L> </U> </V>
|
|
|
Post by Leniad on Jun 25, 2017 0:37:03 GMT -5
Thanks Andrew, I will give it a go and let you know if it works.
|
|
|
Post by Leniad on Jun 26, 2017 1:31:13 GMT -5
I tried that and couldn't get it to work. I even tried replacing the consume drink with 11528<!--Generic_GetPut_Get 104044<!--CreateAndPickupObject generic_food_Grab" s="13435 Generic_CreateAndCarry" s="100698 Generic_PickUpAndCarry" s="11530
None of them worked. The issue is that they don't drink the bottle, the single glasses are already tagged nectar and they can't drink, but they keep pulling glasses from the bottle. I want to make the bottle be non-interactive to children. I tried adding code from the woodwork bench that is non-interactive to children
<U n="aop_forward_data"> <T n="should_search_forwarded_child_aop">True</T> <T n="should_search_forwarded_sim_aop">True</T> </U>
(Assuming that was looking for age appropriate tags) but that didn't work either. Horse has been beaten enough for now, maybe something else will occur to me.
|
|
|
Post by angelmarie123 on Jun 6, 2020 12:52:28 GMT -5
Leniad---Did you ever figure this out? I am also trying to lift the age restriction on an object (actually making a potty into an emergency "toilet" for when all the other toilets are in use. Dont ask lol). Bumping this thread.
|
|