mob
Login()
src.verbs += typesof(/mob/Build/verb/)
mob
Build
verb
Wall()
set name = "Wall"
set category = "Build"
new/obj/Wall(usr.loc)
alert("this will chost you 100 gold")
roof()
set name = "roof"
set category = "Build"
new/obj/roof(usr.loc)
roof2()
set name = "roof2"
set category = "Build"
new/obj/(usr.loc)
obj
Wall
icon = 'Wall.dmi'
icon_state = "wall"
density = 1
roof
icon = 'roof.dmi'
icon_state = "roof"
density = 1
roof2
icon = 'roof2.dmi'
icon_state = "roof2"
density = 0
door
icon = 'door.dmi'
icon_state = "door"
density = 1 <dm>
anyway i want it to pop up as an alert saying will cost so and so gold then actually dose and say if you dont have enough will tell u dont have enough can you help me
ID:160455
Sep 6 2008, 1:40 pm (Edited on Sep 6 2008, 2:23 pm)
|
|
Ok what i want to do is make this sim city style like make it so it cost you lay down and object here is the code
|
In response to Deity Production 08
|
|
why are your eyes bleeding lol
|
In response to Opop1
|
|
2 Reasons:
- The Code - It wasnt in DM tags |
In response to Deity Production 08
|
|
i know sorry did it backwards i think can you help me tho
|
In response to Opop1
|
|
[Removed]
|
In response to Deity Production 08
|
|
what the ...??
|
In response to Opop1
|
|
[Also Removed]
|
In response to Deity Production 08
|
|
wtf how'd I post that sound post on here...
Anyways If you dont get what I originally posted then you shouldnt code. |
In response to Deity Production 08
|
|
you didnt even send me anything to help me all you sen was that sound wav code lol
|
In response to Opop1
|
|
never mind wasn't expeacting you to repost in same thing thanks dude
|
In response to Deity Production 08
|
|
dude i understand the code but something is wrong im getting
missing comma ',' or right-paren ')'<dm> |
In response to Opop1
|
|
at the end of the
switch(alert("This will cost you 100 gold","Build It","Never mind")) It should have 2 right-parens ) My mistake... |
In response to Deity Production 08
|
|
Deity Production 08 wrote:
at the end of the switch(alert("This will cost you 100 gold","Build It","Never mind")) It should have 2 right-parens ) My mistake... wow im dumb how didnt i notice that |
^ Your code, nothing changed
After looking: