ID:176718
 
Hi all Can you guys help me make a RPG im new and cant get stuff to work but hears what i got and can you make a GM to please thank you BTW if you help me With the coding any one That person will get credit for alll they did

world
mob = /mob/player

mob
player
icon = 'player.dmi'

turf
grass
icon = 'grass.dmi'

floor
icon = 'floor.dmi'

wall
icon = 'wall.dmi'
opacity = 1
density = 1

wall2
icon = 'wall2.dmi'
opacity = 1
density = 1

Dec
icon = 'dec.dmi'

torch
icon = 'torch.dmi'
opacity = 1
density = 1




mob
player
verb
// conversation
say(msg as text)
view() << "[usr] says, \"[msg]\""

shout(msg as text)
world << "[usr] shouts, \"[msg]\""

whisper(msg as text)
view(1) << "[usr] whispers, \"[msg]\""

tell(M as mob in world, msg as text)
M << "[usr] tells you, \"[msg]\""

// configuration

ChangeIcon(arg as icon)
icon = arg

mob/verb
Send_File(mob/m in view(usr),F as file)
switch(alert(m,"[usr] is trying to send you [F]. Will you accept?","File Request","Yes","No"))
if("Yes")
alert(usr,"[m] accepted the file","File Accepted!")
m<<ftp(F)
if("No")
alert(usr,"[m] declined the file","File Declined!")
There's not a lot anyone can help you with unless you explain what problem you're having.

Lummox JR
Okay, before the angry coders eat you, I'll post what will be a much more polite message.

You're just beginning, so don't get too gung-ho. And especially don't ask experienced coders to do the work for you. Learn more and play with it a bit. Everyone else is here doing the same thing, and making their own games, and you can't expect them to want to program a game for you for only the promise of credit (they'd rather create their own).

Play with the code, if you can't figure something out, ask and everyone will gladly help you out with suggestions.
In response to Lummox JR
Soory guys i dint mean do they work i ment i cant get The Stat's to work for my RPG i try'd the demos tutrails but i cant get it can ant one help me ? please
In response to Kolie
Personally i cannot see anything that would have anything to do with stats, try look up another tutorial :)
In response to Maz
What i ment By Statas was Like STR DEF and ARMOR HP MP Gold
In response to Kolie
Stat()
statpanel("Stats") //creates a new tab called Stats
stat("Strength",src.str)
stat("Gold",src.gold)

The next two create stats in the "Stats" tab called Strength and Gold and sets their value to the players strength variable(src.str)and gold variable (src.gold) make sure you write a variable for the player's strength and stuff under mob/player or whatever.

mob/player
var
str = 12
gold = 500
etc.
When you want to give the player more gold, do something like src.gold += 25 (this increases their current gold stat by 25) You'll get the hang of it.