ID:268852
 
How do i make this where when you capture the planet all the grass turns to dirt. I am using it on my DBZ game DBZ Planet Wars. I might not reply after an hour if i get a reply because i am playing No One Lives Forever 2

obj
Statue
icon = 'weight-objs.dmi'
icon_state = "magicball"
density = 1
var
Good="0"
verb
Capture_Earth()
set src in oview(1)
set category="Commands"
if(usr.alignment=="Evil"||Good=="0")
usr << "You captured this planet for evil."
new /mob/monsters/saibaman(locate(src.x+1,src.y,src.z))
new /mob/monsters/saibaman(locate(src.x-1,src.y,src.z))
new /mob/monsters/saibaman(locate(src.x+1,src.y,src.z))
new /mob/monsters/saibaman(locate(src.x-1,src.y,src.z))
new /mob/monsters/saibaman(locate(src.x+1,src.y,src.z))
new /mob/monsters/saibaman(locate(src.x-1,src.y,src.z))
new /mob/monsters/saibaman(locate(src.x+1,src.y,src.z))
new /mob/monsters/saibaman(locate(src.x-1,src.y,src.z))
new /mob/monsters/saibaman(locate(src.x+1,src.y,src.z))
new /mob/monsters/bman(locate(src.x-1,src.y,src.z))
new /mob/monsters/Buu(locate(src.x+1,src.y,src.z))
new /mob/monsters/Raditz(locate(src.x-1,src.y,src.z))
Good=1
if(usr.alignment=="Good"||Good=="1")
usr << "You captured this planet for good."
Good=0
Contract Jack wrote:
How do i make this where when you capture the planet all the grass turns to dirt. I am using it on my DBZ game DBZ Planet Wars. I might not reply after an hour if i get a reply because i am playing No One Lives Forever 2

obj
> Statue
> icon = 'weight-objs.dmi'
> icon_state = "magicball"
> density = 1
> var
> Good="0"
> verb
> Capture_Earth()
> set src in oview(1)
> set category="Commands"
> if(usr.alignment=="Evil"||Good=="0")
> usr << "You captured this planet for evil."
> new /mob/monsters/saibaman(locate(src.x+1,src.y,src.z))
> new /mob/monsters/saibaman(locate(src.x-1,src.y,src.z))
> new /mob/monsters/saibaman(locate(src.x+1,src.y,src.z))
> new /mob/monsters/saibaman(locate(src.x-1,src.y,src.z))
> new /mob/monsters/saibaman(locate(src.x+1,src.y,src.z))
> new /mob/monsters/saibaman(locate(src.x-1,src.y,src.z))
> new /mob/monsters/saibaman(locate(src.x+1,src.y,src.z))
> new /mob/monsters/saibaman(locate(src.x-1,src.y,src.z))
> new /mob/monsters/saibaman(locate(src.x+1,src.y,src.z))
> new /mob/monsters/bman(locate(src.x-1,src.y,src.z))
> new /mob/monsters/Buu(locate(src.x+1,src.y,src.z))
> new /mob/monsters/Raditz(locate(src.x-1,src.y,src.z))
> Good=1
> if(usr.alignment=="Good"||Good=="1")
> usr << "You captured this planet for good."
> Good=0


1. Stop making a DBZ rip. It's bad for your reputation, and only hate comes from it. The only ones who join the games are newbies who have nothing better to do.
1b. Raekwons game is a small exception.

2.
for(var/turf/T in block(locate(1,1,src.z),locate(world.maxx,world.maxy,src.z))new/turf/dirt(T)


Replace /turf/dirt with the right one if it's wrong.

3. See 1. Please.