by Merk » Tue Nov 21, 2006 11:33 am
From a quick peek, this probably would have worked for me in TTS. I ended up writing my own (darn it). Between the remote_object and the reflector_object, I could have saved a lot of time. I knew the FB! selected source was there, and I even got the current-date checking out of it, but I just didn't think to look into it further.
The environ.hug is also very interesting. I wrote classes for "inside" versus "outside" and did properties for the floor (so it could be "floor" or "deck" or "ground" as appropriate). I made my own ground, wall, and sky objects, as needed.
The replacments to u_obj and d_obj look useful too. To get "look up" and "look down" to work, I replaced whichever "custom" message routine is responsible for that, and checked that exact condition for certain rooms (returning false so default messages would print in all other cases). This would definitely have made that easier.
Somebody ought to write up a reference page or document on it. :) Ideally, I'd love to see those things brought directly into the standard Hugo library. :)
Looking at this really makes me want to write a big non-comp game. It'll just have to wait until my work schedule relaxes.
From a quick peek, this probably would have worked for me in TTS. I ended up writing my own (darn it). Between the remote_object and the reflector_object, I could have saved a lot of time. I knew the FB! selected source was there, and I even got the current-date checking out of it, but I just didn't think to look into it further.
The environ.hug is also very interesting. I wrote classes for "inside" versus "outside" and did properties for the floor (so it could be "floor" or "deck" or "ground" as appropriate). I made my own ground, wall, and sky objects, as needed.
The replacments to u_obj and d_obj look useful too. To get "look up" and "look down" to work, I replaced whichever "custom" message routine is responsible for that, and checked that exact condition for certain rooms (returning false so default messages would print in all other cases). This would definitely have made that easier.
Somebody ought to write up a reference page or document on it. :) Ideally, I'd love to see those things brought directly into the standard Hugo library. :)
Looking at this really makes me want to write a big non-comp game. It'll just have to wait until my work schedule relaxes.