Skip to content

Commit

Permalink
Tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
expwnent committed Jul 3, 2014
1 parent 10340d5 commit 07c5a27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/modtools/interaction-trigger.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--interaction-trigger.lua
--modtools/interaction-trigger.lua
--author expwnent
--triggers scripts when a unit does a unit interaction on another

Expand Down
2 changes: 2 additions & 0 deletions scripts/modtools/reaction-trigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ local function processCommand(job, worker, target, building, command)
table.insert(result,''..job.pos.z)
elseif arg == '\\REACTION_NAME' then
table.insert(result,''..job.reaction_name)
elseif string.sub(arg,1,1) == '\\' then
table.insert(result,string.sub(arg,2))
else
table.insert(result,arg)
end
Expand Down

0 comments on commit 07c5a27

Please sign in to comment.