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