lua.adoc typo
"not-cursed" was misspelled.
This commit is contained in:
+3
-1
@@ -423,7 +423,9 @@ Create an object. The table parameter accepts the following:
|
|||||||
| id | string | Specific object type name
|
| id | string | Specific object type name
|
||||||
| class | string | Single character, object class
|
| class | string | Single character, object class
|
||||||
| spe | int | obj-struct spe-field value. See table below. Also accepts "random".
|
| 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
|
| name | string | Object name
|
||||||
| quantity | int | Number of items in this stack. Also accepts "random".
|
| quantity | int | Number of items in this stack. Also accepts "random".
|
||||||
| buried | boolean | Is the object buried?
|
| buried | boolean | Is the object buried?
|
||||||
|
|||||||
+1
-1
@@ -2171,7 +2171,7 @@ struct mkroom *croom;
|
|||||||
unbless(otmp);
|
unbless(otmp);
|
||||||
break;
|
break;
|
||||||
default: /* random */
|
default: /* random */
|
||||||
break; /* keept what mkobj gave us */
|
break; /* keep what mkobj gave us */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* corpsenm is "empty" if -1, random if -2, otherwise specific */
|
/* corpsenm is "empty" if -1, random if -2, otherwise specific */
|
||||||
|
|||||||
Reference in New Issue
Block a user