Announcement: Remember: you are giving away your fantastic ideas for free, and somebody else might even make money from them (or appear to). That's just how the world works! If you're worried about it, maybe you shouldn't post your ideas here.


Caravel Forum : DROD Boards : Feature Requests : Brained Status Variable (Hopefully there's not already a thread for this...)
New Topic New Poll Post Reply
Poster Message
Xindaris
Level: Smitemaster
Avatar
Rank Points: 1531
Registered: 06-13-2015
IP: Logged
icon Brained Status Variable (+1)  
So this comes up almost entirely because I made up a custom entity that toggles the existence/nonexistence of a brain in the room it's in periodically, and later learned that using a lot of Generate Entity commands is a potential cause of replay/undo slowdown. But it seems like it'd be useful anyway.

It'd be cool to have a default global variable (i.e., _IsBrained) that detects the presence of a brain in the room (i.e., is automatically set to "1" or "0" on turn 0 depending on whether there's already a brain in the room, and gets set to "1" when a brain gets generated, "0" on the turn all brains are killed) but also influences the behavior of all regular entities in the room by telling them whether or not there's a brain (i.e., the player can set it to "1" or "0" at any time and cause all entities in the room to behave as if there is/isn't a brain in the room respectively).

At the very least this would make unnecessary the workaround Flowers use with an extra character in every room containing a Flower and a Brain whose only and entire purpose is to let the Flowers know whether or not there's still a brain; similarly for any other custom monsters that make use of brain presence.

____________________________
109th Skywatcher

Here are some links to Things!
Click here to view the secret text


[Last edited by Xindaris at 05-26-2016 08:59 PM]
05-26-2016 at 08:58 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Xindaris
Level: Smitemaster
Avatar
Rank Points: 1531
Registered: 06-13-2015
IP: Logged
icon Re: Brained Status Variable (0)  
So, I think this feature would still be very useful, but the problem that prompted me to ask for it has kind of been fixed, presumably, as it was the whole "generating and deleting entities a lot causes memory leak and undo lag" bug.

____________________________
109th Skywatcher

Here are some links to Things!
Click here to view the secret text

10-21-2020 at 03:31 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Feature Requests : Brained Status Variable (Hopefully there's not already a thread for this...)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.