Loading

Paste #pk2lvldbm

  1. diff -r 6c1a50032c87 nml/actions/action0properties.py
  2. --- a/nml/actions/action0properties.py  Wed Jun 27 19:08:48 2018 +0100
  3. +++ b/nml/actions/action0properties.py  Wed Jul 25 19:31:42 2018 +0100
  4. @@ -810,8 +810,8 @@
  5.      'prod_increase_msg'      : {'size': 2, 'num': 0x0D, 'string': 0xDC},
  6.      'prod_decrease_msg'      : {'size': 2, 'num': 0x0E, 'string': 0xDC},
  7.      'fund_cost_multiplier'   : {'size': 1, 'num': 0x0F},
  8. -    'prod_cargo_types'       : {'size': 2, 'num': 0x10, 'value_function': lambda value: cargo_list(value, 2)},
  9. -    'accept_cargo_types'     : {'size': 4, 'num': 0x11, 'value_function': lambda value: cargo_list(value, 3)},
  10. +    'prod_cargo_types'       : {'size': 4, 'num': 0x10, 'value_function': lambda value: cargo_list(value, 16)},
  11. +    'accept_cargo_types'     : {'size': 4, 'num': 0x11, 'value_function': lambda value: cargo_list(value, 16)},
  12.      'prod_multiplier'        : {'custom_function': industry_prod_multiplier}, # = prop 12,13
  13.      'min_cargo_distr'        : {'size': 1, 'num': 0x14},
  14.      'random_sound_effects'   : {'custom_function': random_sounds}, # = prop 15

Comments