a rifle and a backpack (containing a crowbar, a can of baked beans, a hooded fleece, a sleeping bag and an empty water bottle).
A rifle and a backpack, containing a crowbar, a can of baked beans, a hooded fleece, a sleeping bag and an empty water bottle.
result = ""
count = 0
list = RemoveSceneryObjects(GetDirectChildren(parent))
if (CheckDarkness()) {
list = RemoveDarkObjects(list)
}
listLength = ListCount(list)
foreach (item, list) {
if (LengthOf(result) = 0) {
result = preList + " "
}
result = result + GetDisplayNameLink(item, "object")
if (CanSeeThrough(item)) {
result = result + FormatObjectList(", " + item.contentsprefix, item, preFinal, "")
}
count = count + 1
if (count = listLength - 1) {
result = result + " " + preFinal + " "
}
else if (count < listLength) {
result = result + ", "
}
else {
result = result + postList
}
}
return (CapFirst(result))
result = ""
count = 0
list = RemoveSceneryObjects(GetDirectChildren(parent))
if (CheckDarkness()) {
list = RemoveDarkObjects(list)
}
listLength = ListCount(list)
foreach (item, list) {
if (LengthOf(result) = 0) {
result = preList + " " + CapFirst(GetDisplayNameLink(item, "object"))
}
else {
result = result + GetDisplayNameLink(item, "object")
}
if (CanSeeThrough(item)) {
result = result + FormatObjectList(", " + item.contentsprefix, item, preFinal, "")
}
count = count + 1
if (count = listLength - 1) {
result = result + " " + preFinal + " "
}
else if (count < listLength) {
result = result + ", "
}
else {
result = result + postList
}
}
return (result)
A rifle and a backpack, containing A crowbar, a can of baked beans, a hooded fleece, a sleeping bag and an empty water bottle.