Scripting requests.

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Scripting requests.
Infiltrator
Member # 154
Profile #0
The ability to use #defines, line in C.

#define RED_KEYCARD_SPECIAL_ITEM 5
#define DONE_DRAGON_QUEST_SDF 1,3

It would make stuff so much easier.

And the ability to get terrain properties from terrain scripts, e.g.

short i;
i = get_terrain_flag('is_open_door');

And putting 'is_open_door=1;' in all open door terrains...

Would be so, so much cleaner than checking against all known open door numbers.

--------------------
Apparently still annoying.
Posts: 612 | Registered: Saturday, October 13 2001 07:00
Apprentice
Member # 4118
Profile Homepage #1
I'd like defines too. I love #defines in C. They make reading code much easier.
Posts: 27 | Registered: Thursday, March 18 2004 08:00
Infiltrator
Member # 154
Profile #2
Yeah. I mean, it's less numbers to remember and less tables you have to keep switching to to get the right number to use.

--------------------
Apparently still annoying.
Posts: 612 | Registered: Saturday, October 13 2001 07:00