Skip to content

Commit

Permalink
Mutations to json Step 1
Browse files Browse the repository at this point in the history
  • Loading branch information
OzoneH3 committed Aug 11, 2013
1 parent 807a814 commit 3b1d4ed
Show file tree
Hide file tree
Showing 28 changed files with 1,976 additions and 644 deletions.
2 changes: 1 addition & 1 deletion crafting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ void game::complete_craft()

// farsightedness can impose a penalty on electronics and tailoring success
// it's equivalent to a 2-rank electronics penalty, 1-rank tailoring
if (u.has_trait(PF_HYPEROPIC) && !u.is_wearing("glasses_reading")
if (u.has_trait("HYPEROPIC") && !u.is_wearing("glasses_reading")
&& !u.is_wearing("glasses_bifocal")) {
int main_rank_penalty = 0;
if (making->sk_primary == Skill::skill("electronics")) {
Expand Down
Loading

0 comments on commit 3b1d4ed

Please sign in to comment.