[12732] Implement TARGET_RANDOM_UNIT_CHAIN_IN_AREA

Also unify the TARGET_RANDOM_CHAIN_IN_AREA code

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[12733] Implement TARGET_FRIENDLY_FRONTAL_CONE

Signed-off-by: Xfurry <xfurry@scriptdev2.com>