ID:269681
 
Ok u know when u move ur mouse over stuff in a game it shows its name in the grey bar at the bottom of the dream seeker, like if i move my mouse over a turf called wall it will say wall in the grey bar.

in some games they have disabled that so nothing ever shows there or so theres a constant message is there, like the name of the game.

how do i do that?
turf/name="yourgamename"


O-matic
In response to O-matic
XD so simple
Try this.

I think what O-matic did was extremely wrong, if you wanted it to remain the same.
In response to N1ghtW1ng
N1ghtW1ng wrote:
I think what O-matic did was extremely wrong, if you wanted it to remain the same.

Not true!:p
He meant that bar at the very bottom. when you go over a turf with your mouse it shows the name of that turf (in that bar), so what I did was marking all the turf's names: "yourgamename" so it'll display that in the bar. command_prompt is the bar above the pink bar (wich displays mob's names(only when you go over one with your mouse of course))

O-matic
In response to O-matic
That is a very poor way to do it. My way was better. It accomplishes the same thing. You don't need to do the mouse-over thing, by default it says your name.
In response to N1ghtW1ng
N1ghtW1ng wrote:
That is a very poor way to do it.

I already realised that, but it was the only way I could think of >_>.


It accomplishes the same thing.

no, not true. If read my previous post again you will see that I said that he meant The bar at the very bottom, not the bar above the pink bar (in other words he meant the bar below the pink bar)
So it does the same but in it does it in different bars (in this case the bar below and above the pink bar).

O-matic
In response to O-matic
Yes, but it does accomplish what he wanted. He wanted his game name in a bar which would not change. Exactly what you did, except it won't be confusing when someone is mapping.
In response to N1ghtW1ng
N1ghtW1ng wrote:
except it won't be confusing when someone is mapping.

ouch, you got me there.. <_<

Shadow saiyan- Sorry for my wrongness&stupidness, I should've thought that it also changes all the turfs name..
In response to N1ghtW1ng
atom/New()
..()
name=world.name

Simple, eh? =p It also won't bug you when mapping.
In response to Ol' Yeller
Well, that would change everything. No matter what you can't do it.

Like my name would be "NW's Uber Game", even if you did only turfs you could still mouse-over me and see N1ghtW1ng, I think.
In response to N1ghtW1ng
Well, you got me there.
var/list/asdf=list(/mob)
atom/New()
..()
if(!(type in asdf))name="whatever"

Burn baby burn. =o
In response to Ol' Yeller
That snippet has a loophole, though. What if the mob's type path were to be /mob/player? It'd only change everything but the regular /mob type path.

~~> Dragon Lord
In response to Unknown Person
Yeah, so my way is correct again!
In response to N1ghtW1ng
Not exactly, you'd have to do a typesof() check to do it Ol' Yeller's way, (the way it was supposed to be done).

var/list/noname = list(/mob)

atom/New()
..()
for(var/j in noname)
if(!typesof(src, j))
src.name = world.name


I personally think the whole "mouse-over-text" is stupid to change to anything. It isn't like it would effect the game (unless it were to be a secret turf, or something, but that should be fixed anyway.) But anyone is free to do what they want, so do it if you want.

~~> Dragon Lord