player.set_req_purchase_modes

This function apparently modifies what requisition types a player is allowed to purchase. This appears to be a development leftover for a scrapped design idea.

Arguments

modes

The word none, or one or more of the following flags separated with the | symbol:

alive_weapons
Unknown.
alive_equipment
Unknown.
alive_vehicles
Unknown.
dead_weapons
Unknown.
dead_equipment
Unknown.
enable

A value controlling whether to enable or disable these purchases.

Example

for each player do
   current_player.set_req_purchase_modes(alive_weapons | alive_equipment | alive_vehicles | dead_weapons | dead_equipment, 1)
end

See also