Sneak Out Loot

Teens who sneak out and don't get caught have a small chance of returning with a random object, for example, a garden gnome or flamingo.

Loot items are configurable and can include anything that can be placed into the teen's inventory.


Configuration

BCON 0x100F 'Sneak Back - Loot' contains both the chance to return with loot and the list of loot items.

Entry 0x00 is the percentage chance of returning with loot, default 25%

Entry 0x01 is the number of loot items and entries 0x02 onwards are the GUID pairs of the loot items.

To add a new loot item, eg the Pizza Box (GUID 0x47C5FB62), change entry 0x02 to 3 and add two new entries to the BCON - 0x06 as 0xFB62 (GUID Lo) and 0x07 as 0x47C5 (GUID Hi). The GUIDs for standard Maxis objects can be found here.


Conflicts

The mod changes one BHAV (0x1006 'Return to World - By Portal') and one STR# (0x012D 'Dialog prim string set'), and adds one BHAV (0x1030 'Sub - Sneak Back - Loot') and one BCON (0x100F 'Sneak Back - Loot') in the 'Controller - Sneak Out' (0x7F156316) group, so will conflict with any mod that does the same.

No known conflicts


Simblr Links


Credits

  • CaliBrat for the idea.
  • The developers of SimPE.

Files