home · contact · privacy
Server: Refactor and fix bugs in in thing proliferation.
[plomrogue] / server / config / thingproliferation.py
index 6074f36a112c66778bcf19c35cb917aa5e9c9435..3e55c8baf254db1d771bec0b04467137a21be7b6 100644 (file)
@@ -3,11 +3,9 @@
 # see the file NOTICE in the root directory of the PlomRogue source package.
 
 
-import server.thingproliferation_helpers
+from server.config.world_data import symbols_passable
 
 
-field_spreadable = server.thingproliferation_helpers.field_spreadable
-thingprol_plugin_conditions = \
-    server.thingproliferation_helpers.thingprol_plugin_conditions
-thingprol_plugin_post_create_hook = \
-    server.thingproliferation_helpers.thingprol_plugin_post_create_hook
+field_spreadable = lambda x, y: x in symbols_passable
+thingprol_plugin_conditions = lambda x: True
+thingprol_plugin_post_create_hook = lambda x: None