diff options
author | rrsr28 | 2023-06-13 17:00:10 +0530 |
---|---|---|
committer | rrsr28 | 2023-06-13 17:00:10 +0530 |
commit | a8c07bc4049463e9bd326905be8a6f6d9b85c721 (patch) | |
tree | b02f52e6680c9b06352df37b5c2adfa4b68d1d34 | |
parent | 65b2ba36219785f7ca5270b67496b4b08b1aa22c (diff) | |
download | Chemical-PFD-a8c07bc4049463e9bd326905be8a6f6d9b85c721.tar.gz Chemical-PFD-a8c07bc4049463e9bd326905be8a6f6d9b85c721.tar.bz2 Chemical-PFD-a8c07bc4049463e9bd326905be8a6f6d9b85c721.zip |
Added class for 905Exchanger
-rw-r--r-- | src/main/python/shapes/shapes.py | 11 | ||||
-rw-r--r-- | src/main/resources/base/config/items.json | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/main/python/shapes/shapes.py b/src/main/python/shapes/shapes.py index dc3cf6a..a04aa5e 100644 --- a/src/main/python/shapes/shapes.py +++ b/src/main/python/shapes/shapes.py @@ -931,6 +931,17 @@ class SolidFuelFurnace(NodeItem): ] +class Exchanger905(NodeItem): + def __init__(self): + super(Exchanger905, self).__init__("svg/Heating or Cooling Arrangements/905Exchanger") + self.grips = [ + [15.85, 13.5, "bottom", 11.21], + [60.5, 13.5, "bottom", 55.33], + [15.85, 88.88, "top", 11.21], + [60.5, 88.88, "top", 55.33] + ] + + class Exchanger(NodeItem): def __init__(self): super(Exchanger, self).__init__("svg/Heating or Cooling Arrangements/Exchanger") diff --git a/src/main/resources/base/config/items.json b/src/main/resources/base/config/items.json index b1972a1..a9a7710 100644 --- a/src/main/resources/base/config/items.json +++ b/src/main/resources/base/config/items.json @@ -78,7 +78,7 @@ "name": "Exchanger", "icon": "./Heating or Cooling Arrangements/905Exchanger.png", "class": "Heating or Cooling Arrangements", - "object": "Exchanger", + "object": "Exchanger905", "args": [] }, "907Kettle Reboiler": { |