Search found 7 matches

by Erin
Tue Jul 31, 2007 3:00 pm
Forum: General Help (096)
Topic: File.em and RAM usage
Replies: 0
Views: 2817

File.em and RAM usage

If I do a var file := ReadFile("::data/storage.txt") and my storage.txt is a large size like say 100 MB, am I taking up 100 MB of RAM?

Also, if I do so, and I set that variable to zero with file := 0, does it free that memory up?
by Erin
Sat Jul 21, 2007 5:19 pm
Forum: General Help (096)
Topic: Articles a/an
Replies: 9
Views: 9231

I have thought about that. Of course "doing it myself" would mean handling the prefixes at any time stacks were created or unstacked. There's a big problem with that even if I had the time to handle that mess, though. The desc property is, yep, read only. Then I would have to turn to the name ...
by Erin
Fri Jul 20, 2007 11:29 pm
Forum: General Help (096)
Topic: Articles a/an
Replies: 9
Views: 9231

Has taken me a while, sorry, but you're correct, OldnGrey. Looks like whatever the prepend setting in tiles.cfg is for the graphic you're using for you're custom item is what gets used. So if you make an item called "orange box" with the graphic of a crate, you end up with "a orange box" because the ...
by Erin
Fri Jul 20, 2007 9:42 pm
Forum: General Help (096)
Topic: Sending Events - Flexibility
Replies: 3
Views: 4111

Awesome, I had just gone to look at the script object and found this too. Shame on me for posting before I read everything. Thanks!
by Erin
Fri Jul 20, 2007 9:27 pm
Forum: General Help (096)
Topic: Sending Events - Flexibility
Replies: 3
Views: 4111

Sending Events - Flexibility

I've been making control scripts for items and would like them to be able to receive custom events. So far the best workaround I've found is to just create a cprop on the item with the script that would be sending the event, and check for it in the item's control loop. This however forces me to make ...
by Erin
Fri Jun 29, 2007 11:05 am
Forum: General Help (096)
Topic: Articles a/an
Replies: 9
Views: 9231

To add: looks like even items like that in the distro like "orc mask" show up as "a orc mask"... but yet, the itemdesc entry for that doesn't seem to have anything different from the itemdesc entry for "apple" that would change this behavior.

Even more strange is that "arrow shaft" doesn't get an ...
by Erin
Fri Jun 29, 2007 10:51 am
Forum: General Help (096)
Topic: Articles a/an
Replies: 9
Views: 9231

Articles a/an

I run a modified version of the 095 distro on the 096 core.

Any time I create a new type of item and give it a desc like "unused bar of soap", it always shows up in game as "a unused bar of soap". I want the article there, and for stacking to remove it (which works fine), but it should be "an ...