ID:147742
 
turf
majinwall
icon = 'majinhouseturfs.dmi'
icon_state = "wall"
density = 1
couch
icon = 'majinhouseturfs.dmi'
icon_state = "couch"
majinwall2
icon = 'majin_wall.dmi'
icon_state = "wall"
layer = MOB_LAYER-99


obj
MajinBag
icon = 'majinhouseturfs.dmi'
icon_state = "speed"
density = 1
verb
HitPunchingBagLikeAMuthaFeckaYeahPeepah()
set name = "Speed Bag"
set category = "Training"
set src in oview(1)
if(usr.flight == 1)
usr << "Not while flying."
if (usr.resting==1)
usr<<"Not while resting"
if(usr.flight == 0 && usr.resting==0)
if(usr.stamina >= 5)
if(usr.dir == 4)
src.powerlevel -= usr.powerlevel
flick("speedhit",src)
flick("weight-training-right", usr)
var/num = usr.powerlevel
s_damage(src, num, "#FF0000")
usr.random = rand(1,12)
if(usr.random == 12)
usr.move = 1
usr.stamina-=1
usr.icon_state = ""
usr.maxpowerlevel += 3000
usr.meditate = 0
usr.FlightLearn()
usr.KiTechLearn()
usr.AuraTechLearn()
usr.FocusLearn()
if(usr.random == 11)
usr.move = 1
usr.stamina-=1
usr.icon_state = ""
usr.maxpowerlevel += 3000
usr.meditate = 0
usr.FlightLearn()
usr.KiTechLearn()
usr.AuraTechLearn()
usr.FocusLearn()
else
usr.maxpowerlevel += 1000

else
usr << "You must face the speed bag."


mob
melp
MajinShopKeeper
icon = 'Mfighters.dmi'
icon_state = "shopkeeper"
npc = 1
powerlevel = 5
maxpowerlevel = 7
race = "Namek-jin"
verb
Buy()
set src in oview(3)
set category = "Communication"
switch(input("Hello! What do you wish to buy?", "Shopkeeper",text) in list ("MajinHeadBand","Majin Suit", "Nothing"))
if("MajinHeadBand")
if(usr.zenni <= 149)
usr << "You need 150 zenni!"
if(usr.zenni >= 150)
usr << "You get a Majin Head Band!"
usr.contents += new /obj/MajinHeadBand
usr.zenni -= 150
if("Majin Suit")
if(usr.zenni <= 3000)
usr << "You need 3000 zenni!"
if(usr.zenni >= 3000)
usr.contents += new /obj/msuit
usr.zenni -= 3000
obj
MajinHeadBand
name = "Majin Headband"
icon = 'majinheadband.dmi'
worn = 0
verb
Wear()
set category = "Inventory"
if(src.worn == 1)
src.worn = 0
usr.overlays -= 'majinheadband.dmi'
usr << "You remove the [src.name]."
else
src.worn = 1
usr.overlays += 'majinheadband.dmi'
usr << "You wear the [src.name]."
Drop()
set category = "Inventory"
if(src.worn == 1)
usr << "Not while its being worn."
if(src.worn == 0)
src.loc=locate(usr.x,usr.y+1,usr.z)
Get()
set category = "Inventory"
set src in oview(1)
Move(usr)

turf
doortoplace
icon = 'turfs.dmi'
icon_state = "gravityenter"
Enter()
usr.loc=locate(22,1,15)

turf
outofplace
Enter()
usr.loc=locate(71,81,1)

turf
majinhouseenter
density = 0
Enter()
if(usr.guild == "Ki Warriors",
usr.loc=locate(22,27,15)

turf
majinhouseleave
density=0
Enter()
if(usr.guild == "not in Ki Warriors
usr.loc=locate(72,31,1)


obj
msuit
name = "Majin Suit"
icon = 'majinsuit.dmi'
worn = 0
verb
Drop()
set category = "Inventory"
if(src.worn == 1)
usr << "Not while its being worn."
if(src.worn == 0)
src.loc=locate(usr.x,usr.y+1,usr.z)
Get()
set category = "Inventory"
set src in oview(1)
Move(usr)
Click()
if(src.worn == 1)
src.worn = 0
usr.overlays -= 'majinsuit.dmi'
usr << "You remove the [src.name]."
else
src.worn = 1
usr.overlays += 'majinsuit.dmi'
usr << "You wear the [src.name]."




it says that its missing a comma or a ) please make it so only the Ki Warriors please
<code>turf majinhouseenter density = 0 Enter() if(usr.guild == "Ki Warriors", usr.loc=locate(22,27,15) turf majinhouseleave density=0 Enter() if(usr.guild == "not in Ki Warriors usr.loc=locate(72,31,1)</code>

Look at the two lines with "Ki Warriors" in them. See the problem? In one you've got an extra comma, and in both you're missing the closing bracket.
No put usr in Enter(). Ungh.

Lummox JR