lua.adoc typo

"not-cursed" was misspelled.
This commit is contained in:
PatR
2020-04-19 15:42:32 -07:00
parent d8a409c34f
commit 579939010d
2 changed files with 4 additions and 2 deletions

View File

@@ -423,7 +423,9 @@ Create an object. The table parameter accepts the following:
| id | string | Specific object type name
| class | string | Single character, object class
| spe | int | obj-struct spe-field value. See table below. Also accepts "random".
| buc | string | one of "random", "blessed", "uncursed", "cursed", "not-curse", "not-uncursed", "not-blessed". Default is "random"
| buc | string | one of "random", "blessed", "uncursed", "cursed",
"not-cursed", "not-uncursed", "not-blessed".
Default is "random"
| name | string | Object name
| quantity | int | Number of items in this stack. Also accepts "random".
| buried | boolean | Is the object buried?

View File

@@ -2171,7 +2171,7 @@ struct mkroom *croom;
unbless(otmp);
break;
default: /* random */
break; /* keept what mkobj gave us */
break; /* keep what mkobj gave us */
}
/* corpsenm is "empty" if -1, random if -2, otherwise specific */