ID:153521
 
I've been making a Byond game with a friend who doesn't program or even come to Byond and decided that making unique loot for treasure chests would be tedious(never tried before), so I devised an evil scheme. I decided that it would be nice if she could just edit the instance on the map, so I've turned the poor mouse_drop_pointer into a path var of sorts and will be giving her a list of acceptable paths. I just use ispath(mouse_drop_pointer) to test it and if it's a path or not and then give out the loot accordingly. Is this a bad thing to do? I won't be moving the chests and neither will the players(much less with the mouse), but could it still muck things up? I would have used a different variable, but most of them are text type by default and just removing the quotes in the editor doesn't seem to change them. :)

Any thoughts?
Here's a thought... why not just make your own var?

I don't think that what you're doing will necessarily cause any problems, but the whole reason vars are called things like loot_type or mouse_drop_pointer is because us poor human beings couldn't keep track of them if they were all called var1,var2,var3, etc.
In response to Hedgemistress
I agree. However it is a entertaining concept. Using the built in variables to save space. Wacky and functional (if you can keep track of them).
In response to Hedgemistress
I normally would make my own, but I wanted her to be able to just type it up on the map editor. Is there a way to change the non-built-in(O.o) variables from the map?
In response to Jnco904
Is there a way to change the non-built-in(O.o) variables from the map?

Yes. Scientists have recently come up with a name for this mysterious method: "Exactly the same way you change a built in one."
In response to Hedgemistress
Map editor I mean. :P
Whoops. :)

*edit
Like when you right-click on an already placed object and click edit. :)
In response to Jnco904
The instance editor, you mean.
In response to Jnco904
Jnco904 wrote:
Map editor I mean. :P
Whoops. :)

*edit
Like when you right-click on an already placed object and click edit. :)

Yes. Scientists have recently come up with a name for this mysterious method: "Exactly the same way you change a built in one."

Seriously.

I urge you to actually, you know, maybe try this before you continue posting.
In response to Maz
Maz wrote:
The instance editor, you mean.

Yeah, whatever that thing is called. :)
In response to Jnco904
Refer to my previous two posts. :P
In response to Hedgemistress
Gah! I was looking for another objects variables on the chest(which had no unique variables), and boy do I feel dumb now. :)

Thanks for the pointer that seemed to go right past me the first two times. :)
In response to Jnco904
No, thank you. Making someone feel dumb and teaching them something at the same time... that's like Christmas to me, or something.
In response to Hedgemistress
Well, if you're a good girl, I'll let you do it again some day. :)