define procedure <hide inventory>
for each object in <inventory> {
conceal <#quest.thing#>
hide <#quest.thing#>
}
end define
define procedure <show inventory>
for each object in <inventory> {
reveal <#quest.thing#>
show <#quest.thing#>
}
end define
In QDK:
Script: Procedures: Add
(Enter Procedure Name)
Add Command: Game Control: Run a script for each object in a room
Room = inventory
Edit Script: Add Command: Objects: Make an object inaccessible
Object = #quest.thing#
Add Command: Objects: Hide an object
Object = #quest.thing#