Page 1 of 1

Restricting "GET ALL"

Posted: Wed Jan 30, 2013 10:54 am
by Bainespal
I imagine that this has probably come up before. A quick glance at HxE doesn't seem to show anything immediately relevant, so I guess I'll post here, if only to be pointed to an older discussion.

A betatester for "Tree and Star" did this:
>get all
Storyteller: The Storyteller probably wouldn’t be too big on that idea.
Veritas: Veritas probably wouldn’t be too big on that idea.
Here, both objects found by the command are NPCs. As there will probably be no kidnapping in any version of Tree and Star, it should be safe to disqualify any character or female_character class object from being found by "all."

Posted: Wed Jan 30, 2013 12:50 pm
by Roody_Yogurt
The quick fix is to give both of those characters the exclude_from_all property and have it return true, but yeah, you make a good point that characters should probably default to being excluded.

Expect that behavior in the next Roodylib release!

Posted: Wed Jan 30, 2013 2:11 pm
by Bainespal
I had a nagging suspicion that I had seen this issue covered somewhere before. I briefly looked on HxE and on this board, but I completely forgot to check the manual! *facepalm*
Roody_Yogurt wrote:Expect that behavior in the next Roodylib release!
Yay!

Posted: Mon Oct 27, 2014 4:54 am
by tufail123
thanks everyone for the help... i'll try them soon...

i guess text editor is all i need here :smile:

anyway, i'm not going to create payroll systems or what.. i just wanted to use hugo for creating simple program that uses input/output statement, and looping statements..i guess every programming language uses such statements before they can create games and what....

Posted: Mon Oct 27, 2014 3:59 pm
by Roody_Yogurt
There's a list of usable text editors here:
http://hugo.gerynarsabode.org/index.php ... ed_Editors

Eventually, I mean to upload a standalone version of Notepad++ that'll compile Hugo stuff out of the box, but I haven't gotten around to it yet.