Advertisement
Guest User

Lauri Friberg 2018 omega-rpg-0.90-pa9 guild2.c devel src

a guest
Apr 25th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.59 KB | None | 0 0
  1. * omega copyright (C) by Laurence Raphael Brothers, 1987,1988,1989 */
  2. /* guild2.c */
  3. /* L_ functions  */
  4.  
  5. /* These functions implement the various guilds. */
  6. /* They are all l_ functions since they are basically activated*/
  7. /* at some site or other. */
  8.  
  9. // Lauri Friberg 2018 omega-rpg-0.90-pa9 guild2.c src development; source code from the debian stable "stretch" 9 repo.
  10. // This code is in C language, it is a C source code development version of omega-rpg-0.90-pa9. You can download it
  11. // in Debian (and perhaps in Ubuntu and other Debian (and Ubuntu) derivatives like Linux Mint(?) with the command:
  12. // "apt source omega-rpg" (normal/regular user) in the command line (like a Terminal window or the (virtual) console
  13. // (tty). Just download it with a normal user so there is no error message. Generally it is not necessary to download
  14. // it with the root user. Do not use "su" or "sudo" while downloading the source code, to avoid an error message.
  15.  
  16. if ((Player.hp < Player.maxhp) || (Player.status[DISEASED]) ||
  17.         (Player.status[POISONED]))
  18.       {
  19.         print1("Your wounds are treated by a medic.");
  20.         cleanse(0);
  21.         Player.hp = Player.maxhp;
  22.         dataprint();  // Added by Lauri Friberg on 25.04.2018 (25th April of 2018).
  23.         morewait();   // Added by Lauri Friberg on 25.04.2018 (25th April of 2018).
  24.         clearmsg();   // Added by Lauri Friberg on 25.04.2018 (25th April of 2018).
  25.       }
  26.       if ( Player.food <= 40 )
  27.       {
  28.         Player.food = 40;
  29.         print2("You get a hot meal from the refectory.");
  30.       }
  31.       morewait();
  32.       clearmsg();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement