diff --git a/doc/lua.adoc b/doc/lua.adoc index 7f9ecb038..27da21ed9 100644 --- a/doc/lua.adoc +++ b/doc/lua.adoc @@ -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? diff --git a/src/sp_lev.c b/src/sp_lev.c index a99dc540d..79fb5bbfb 100755 --- a/src/sp_lev.c +++ b/src/sp_lev.c @@ -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 */