[CF-Devel] Patch submission: name of (failed to be) disarmed runes

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Sun Jul 27 17:07:58 CDT 2003


Nicolas Weeger wrote:
>
     
      Hello everyone.
     
     >
     
     
     >
     
      Here's a small patch (based on current CVS version) related to runes 
     
     >
     
      disarming.
     
     >
     
      I changed the text that appears when you successfully disarm or fail to 
     
     >
     
      disarm a rune to display the name.
     
     >
     
     
     >
     
      Pretty straightforward change, and i tested it to make sure it works...
     
     >
     
     
     >
     
      Feel free to either put it into CVS or trash it :-)
     
     >
     
     
     >
     
      Note that it doesn't show more information than what the player can see, 
     
     >
     
      since (s)he can only disarm runes spotted (of course if you use the 
     
     >
     
      disarm spell you can disarm without spotting first, but whether you 
     
     >
     
      disarm it or not you know there is a rune, and the name doesn't matter 
     
     >
     
      imo).
     
     
  Note that you don't need to declare a 'buf' value - you can instead use 
new_draw_info_format, which takes the usual printf type stuff.  Probably would 
have been better to call that new_draw_printf or something, but oh well.

  Otherwise, looks fine.



_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list