home · contact · privacy
Server, plugin: Refactor thingproliferation (plugin integration).
[plomrogue] / server / thingproliferation_helpers.py
diff --git a/server/thingproliferation_helpers.py b/server/thingproliferation_helpers.py
new file mode 100644 (file)
index 0000000..f784340
--- /dev/null
@@ -0,0 +1,16 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
+from server.config.world_data import symbols_passable
+
+
+def field_spreadable(field_type, ignore):
+    return field_type in symbols_passable
+
+def thingprol_plugin_conditions(ignore):
+    return True
+
+def thingprol_plugin_post_create_hook(ignore):
+    pass