Do types work with surfaces?
define type <surface_01>
surface
add
list <hello?>
end define
define room <one>
look <room!>
define object <obj1>
look <a table>
type <surface_01>
list empty exec <look at obj3>
end define
define object <obj2>
look <a bottle>
end define
define object <obj3>
parent <obj1>
properties <invisible>
end define
end define
When you try to '
put obj2 on obj1' it returns saying it cannot be done.
When you try to '
look on obj1' it returns saying "a table" - and nothing else.
Oh, and the list empty works fine the way it is because while 'obj3' is on 'obj1#'.. It is invisible and the list /would/ be empty.. I like this operation because you can have cool things - like mats etc which /are/ objects and are easy to define as objects - but you wouldn't want to show up in a list etc.
======DISASTER OVERTED=======Seems that you need to add "container" into the type definition while not for object blocks (it's applied automatically to the object - but not if it's in a type definition.. I'm guessing this is because it's applied as a plain property in the types and if it's in the object definition it's applied as a hirarchial group of some sort).
======EDIT 2======Erm, closing a surface gives the message "it is already closed"..
I think surfaces should be neither opened or closed.. But perhaps, if a default should be selected - I'd vote for opened.