ID:1333668
 
(See the best response by Jp.)

i'm new and i need basic codes
Best response
i am not a english speaker so i need literally basic codes
I understand that not speaking much english makes tutorials difficult to understand, but you will not learn anything if you just get given code, and you might learn something if you try to understand the tutorials.

Also, there is no such thing as 'basic codes'. That makes as much sense as asking for a 'basic novel' so that you can write a story.
In response to Jp
Jp wrote:
I understand that not speaking m
Also, there is no such thing as 'basic codes'. That makes as much sense as asking for a 'basic novel' so that you can write a story.


No man you don't seem to get it, all he wants are some basic codes ok?
0x000001 0x0000CD 0x0000FF

I can do this all day.
This one is pretty basic, it's for diagonal movement

world
mob = /mob/move_diagonal

proc/move_player(t)
usr << t
usr.Move(0)
mob
proc/poll()
world << "e" //east
world << "a" //west
world << "r" //northeast
world << "n " //north
spawn(2)
src:m(" pro") //for speed
usr << "gr" //south + southeast
usr << "am" //morning times

mob/move_diagonal

proc/start()
usr << "l"
poll()

proc/m(t)
move_player(t)

Move(newloc)
if(!newloc) return
if(!loc) return ..()

start()

spawn(1) src << 2
In response to FIREking
FIREking wrote:
This one is pretty basic, it's for diagonal movement

no man he needs BASIC codes like, real basic ones not some complex codes.

just a basic codes ok?
In response to Rushnut

10 PRINT "lolk"
20 GOTO 10
In response to FIREking
FIREking wrote:

10 PRINT "lolk"
20 GOTO 10

alright see im starting to get really tired of your crap

he just needs, some basic, codes

none of that fancy number stuff

none of that fancy quotation mark stuff

just some basic

simple

codes

just a few of them

maybe two or three

ok?
obj
Potion
icon='misc.dmi'
icon_state="Potion"
verb
Get()
set category="Item"
set src in oview(1)
usr.contents+=src

Discard()
set category="Item"
set src in usr.contents
usr<<"You have obliterated a [src]!"
del(src)

Drop()
set category="Item"
set src in usr.contents
usr.contents-=src
src.loc=usr.loc
Use()
set category="Item"
set src in usr.contents
usr.hp+=20
if(usr.hp>=usr.maxhp)
usr.hp=usr.maxhp
usr.contents-=src
In response to Dr.DraX
i tried to run that simple codes but i got errors about hp vars???


pls just make some simple codes why is that so hard to understand
mob/proc/stuff()


That's as simple as it gets.
In response to Dr.DraX
Dr.DraX wrote:
mob/proc/stuff()

That's as simple as it gets.

ty now how do i add more hairs???
In response to Rushnut
Rushnut wrote:
ty now how do i add more hairs???

Wait a few years, they will come.
In response to Danny Roe
i tried wait but it wont compile!!!!!!!!!!!!

omg troll