Skip to content

Commit

Permalink
Docs fixes (#38)
Browse files Browse the repository at this point in the history
* Share flag to docs

* HPOT description
  • Loading branch information
artyomtrityak authored Sep 2, 2019
1 parent 0c677c9 commit 53609cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions genrules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5877,6 +5877,7 @@ int Game::GenRules(const AString &rules, const AString &css,
temp += f.Link("#hold", "HOLD") + ", ";
temp += f.Link("#name", "NAME") + ", ";
temp += f.Link("#noaid", "NOAID") + ", ";
temp += f.Link("#share", "SHARE") + ", ";
if (move_over_water)
temp += f.Link("#nocross", "NOCROSS") + ", ";
temp += f.Link("#option", "OPTION") + ", ";
Expand Down
8 changes: 7 additions & 1 deletion items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1127,11 +1127,17 @@ AString *ItemDescription(int item, int full)
"spirit skills, up to a maximum of level 3.";
break;
case I_RELICOFGRACE:
*temp += " This token was given to you by the Maker in recognition "
*temp += " This token was given to you by the Maker in recognition "
"of you turning away from your rebellion. Complete more "
"quests as they are offered if you wish to continue to work "
"toward restoring your relationship.";
break;
case I_HEALPOTION:
*temp += " This item allows its possessor to heal wounded units after battle."
" No skill is necessary to use this item; it will be used automatically"
" when the possessor is involved in a battle. It can heal up to 10"
" casualties, with a 50 percent success rate. Healing consumes an item.";
break;
default:
break;
}
Expand Down

0 comments on commit 53609cd

Please sign in to comment.