Post by pixaratv on Jul 12, 2019 10:09:24 GMT -5
Hello!
I am overriding the "door_Padlock_Loot_Unlock_Household"-action-tuning for testing. I want to lock all with specific trait exception (e.g. Aliens).
The "siminfo_test"-part of this code is the one I made up. I could not find any clues in TEDSC.-files about trait-tests. I only found "sim_info" in older game files. But since the game was updated, there is no possibility to use "sim_info" anymore. Also, MCCC is complaining about my code. Any ideas how I could realise my idea? Are there any alternatives?
So far we can only use this:
lock_all_with_genus_exception (gender, age)
lock_all_with_simid_exception (actor, household)
lock_all_with_situation_job_exception (situation job)
lock_ranked_statistic (?)
There is only one thing I do not understand. It is lock_ranked_statistic. What can I do with this one?
The TEDSC.-description says: "The lock data represent ranked statistic test. Sim that can pass the the
ranked statistic test on the data can pass this lock."
Since I have never worked with statistic before, I do not know what that means.
Can anybody help me?
I am overriding the "door_Padlock_Loot_Unlock_Household"-action-tuning for testing. I want to lock all with specific trait exception (e.g. Aliens).
<I c="LootActions" i="action" m="interactions.utils.loot" n="door_Padlock_Loot_Unlock_Household" s="117864">
<L n="loot_actions">
<V t="lock_door">
<U n="lock_door">
<E n="clear_existing_locks">CLEAR_NONE</E>
<V n="lock_data" t="lock_siminfo">
<U n="lock_siminfo">
<E n="lock_priority">PLAYER_LOCK</E>
<U t="siminfo_test" n="trait">
<V n="trait">
<L n="specified">
<T>102785<!--trait_OccultAlien--></T>
</L>
</V>
</U>
</U>
</V>
</U>
</V>
</L>
</I>
The "siminfo_test"-part of this code is the one I made up. I could not find any clues in TEDSC.-files about trait-tests. I only found "sim_info" in older game files. But since the game was updated, there is no possibility to use "sim_info" anymore. Also, MCCC is complaining about my code. Any ideas how I could realise my idea? Are there any alternatives?
So far we can only use this:
lock_all_with_genus_exception (gender, age)
lock_all_with_simid_exception (actor, household)
lock_all_with_situation_job_exception (situation job)
lock_ranked_statistic (?)
There is only one thing I do not understand. It is lock_ranked_statistic. What can I do with this one?
The TEDSC.-description says: "The lock data represent ranked statistic test. Sim that can pass the the
ranked statistic test on the data can pass this lock."
Since I have never worked with statistic before, I do not know what that means.
Can anybody help me?