main.lua

changeset 43
b37504fa3031
parent 30
3c2489e79074
child 46
d711bf1e9979
--- a/main.lua	Tue Oct 27 20:03:32 2015 +0000
+++ b/main.lua	Tue Oct 27 23:07:46 2015 +0000
@@ -55,6 +55,9 @@
 			local object = script.objects[action.object_name];
 			local handler = object.handler;
 			assert(handler[action.action], "Objects of type '"..object.type.."' do not support action '"..action.action.."'");
+			if action.annotation then
+				print(action.annotation);
+			end
 			print(object.name, action.action.."...");
 			local ok, err = pcall(handler[action.action], object, action.extra);
 			if not ok then

mercurial