First you make your thing so it runs
Next you must make a main character with the picture and make sure it works. Ill let you thigger out how to make a character but heres the hard bit. and also add the grass and dont forget to save them or redo the name thats in the parts below so it actually finds the right file.
This is the beginning of the game, see if you can learn to do stuff. if not i will be posting extras to it and will be answering your questions.
thanks, ryan (dandy kid)
- Code:
// New Environment file for filename.bat
// All manual changes should be made outside the BEGIN_ and END_ blocks.
// New source code should be placed in notepad files: just make a new notepad and add your coding and if it includes a picture don't forget to add it
// BEGIN_INTERNALS
// END_INTERNALS
// BEGIN_FILE_DIR
#define FILE_DIR .
#define FILE_DIR "backup"
// END_FILE_DIR
// BEGIN_PREFERENCES
// END_PREFERENCES
// BEGIN_INCLUDE
(add the files here that you need to include)
// END_INCLUDE
Next you must make a main character with the picture and make sure it works. Ill let you thigger out how to make a character but heres the hard bit. and also add the grass and dont forget to save them or redo the name thats in the parts below so it actually finds the right file.
- Code:
//This is a test world created by (name) on (date).
mob
icon = 'character.jpg' //make it so all mobs will be created with the person icon
var
wealth = 0 //define a new variable called wealth, with a value of G
..() //call the parent
Login()
world << "[src.name] logs in!"
..()
Logout()
world << "[src.name] logs out..."
del(src)
icon_state = gender //when a player logs in, get them the right icon state for
..() //the gender of their key. Then call the parent!
verb
Say(msg as text) //what the usr says is passed into "msg" as text
world << "[usr]: [msg]" //the world sees chatroom-like output
turf
grass //define a "grass" prototype, which is a kind of turf...
icon = 'grass.jpg' //that has an icon named 'grass.dmi'. In single quotes!
This is the beginning of the game, see if you can learn to do stuff. if not i will be posting extras to it and will be answering your questions.
thanks, ryan (dandy kid)
