Issue331

Title LUA: function to check whether tux encountered bot XY
Priority idea Status open
Assigned To matthiaskrgr Keywords
Linked issues Watchers matthiaskrgr

Submitted on 2011-07-24 19h08 by tracker_migration, last changed by salimiles.

Messages
Author: tracker_migration Date: 2010-12-31   11h39
Submitted by matthiaskrgr
74 npc_says(_"The latest version of the security line is the 615.")
75 -- probably some when a cookie can check whether tux already saw such a droid and trigger/switch on the following dialog part 
[ http://bit.ly/i6RHsu , revision 3573 ]

IMO it would be nice to have have lua functions to can check if tux already had contact to certain bot.
What I have in mind is something like
hacked_bot()
attacked_bot() (can we differentiate between melee and ranged attacks?)
destroyed_bot()
tookover_bot()
was_attacked_by_bot()

Since we already access these information to compile the statistics (accessible from the chatlog), it may not be too difficult to create such functions. (?)  :)
Author: tracker_migration Date: 2011-01-22   23h51
Posted by salimiles
Please be more specific by what you mean by "bot". Do you want it by:
1) Model (graphical) type?
2) Model (defines weapons/speed/graphics/humanity/etc) type?
3) Dialog?
4) Actual unique bot id?

Currently we do statistics using definition #2. I assume this is what you want?

We cannot currently distinguish between melee and ranged attacks. This would require keeping track of what weapon did damage, and to get it past the editor, this function was cut.

We can make all of those functions, but unless they are used, I'm pretty certain that the editor won't allow them in. So if you want a certain function, write some dialog that would make use of it, and we will make the function happen.
Author: salimiles Date: 2011-11-15   22h31
Is this still something that is wanted?
History
Date User Action Args
2011-11-15 22:31:10salimilessetassignedto: matthiaskrgr
messages: + msg2014
nosy: + matthiaskrgr
2011-07-27 09:58:29matthiaskrgrsetpriority: bug -> idea
2011-07-24 19:08:02tracker_migrationcreate