Ignore:
Timestamp:
2021-09-27T00:35:48+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #20530 - fix #20531 - Add man_made pump preset, deprecate man_made=pumping_rig, pump:type=* and substance=heat (patch and icons by skyper, François Lacombe and gaben)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/deprecated.mapcss

    r18188 r18230  
    22782278}
    22792279
     2280/* #20530 */
     2281*[man_made=pumping_rig][!pump_mechanism][!mechanical_driver][!mechanical_coupling] {
     2282  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2283  suggestAlternative: "man_made=petroleum_well";
     2284  suggestAlternative: "man_made=water_well";
     2285  fixAdd: "pump_mechanism=piston";
     2286  fixAdd: "mechanical_driver=combustion_engine";
     2287  fixAdd: "mechanical_coupling=nodding_donkey";
     2288  group: tr("deprecated tagging");
     2289  set pumping_ring_no_mech;
     2290}
     2291*[man_made=pumping_rig]!.pumping_ring_no_mech {
     2292  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2293  suggestAlternative: "man_made=petroleum_well";
     2294  suggestAlternative: "man_made=water_well";
     2295  group: tr("deprecated tagging");
     2296}
     2297*[pump:type=beam_pump][!pump_mechanism][!mechanical_driver][!mechanical_coupling] {
     2298  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2299  suggestAlternative: "pump_mechanism";
     2300  fixRemove: "pump:type";
     2301  fixAdd: "pump_mechanism=piston";
     2302  fixAdd: "mechanical_driver=combustion_engine";
     2303  fixAdd: "mechanical_coupling=nodding_donkey";
     2304  group: tr("deprecated tagging");
     2305  set beam_pump_no_mech
     2306}
     2307*[pump:type]!.beam_pump_no_mech {
     2308  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2309  suggestAlternative: "pump_mechanism";
     2310  group: tr("deprecated tagging");
     2311}
     2312*[substance=heat] {
     2313  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2314  suggestAlternative: "substance=hot_water";
     2315  suggestAlternative: "substance=steam";
     2316  group: tr("deprecated tagging");
     2317}
     2318
    22802319/* #20959 */
    22812320*[landuse=school] {
Note: See TracChangeset for help on using the changeset viewer.