ID:169169
 
how can i get it so that if im in a mower, i mow the lawn((basicly deleteing the lawn))
An easy way to do it would be to have two separate icon states for grass (mowed and not mowed), then change the turf's state to mowed when a lawn mower enters.
In response to YMIHere
lol, this is intresting....., or for an rpg you can make a walked on effect!
In response to YMIHere
ok, but how can i get it so that when i walk on it, it changes its icon_state
In response to Killer22
since u cut while on top of something, probaly go with Entered()
In response to Cheetoz
hmm, ok, ill try it
In response to Cheetoz
blah, i need it so that the grass is deleted so that i can grow when the world repops
In response to Killer22
...ill do something for you give me a few minutes ^.^, im busy but ill put it through
In response to Killer22
now here is where i really need help

mob
Lawn
icon='lawnmowing.dmi'
icon_state="grass"
layer=3
density=0
Entered()
del(src)


thats my code, but it doesnt work! why not?
In response to Cheetoz
ok, thanks
In response to Killer22
its a mob, it should be a turf. and entering will delete you.
In response to Xx Dark Wizard xX
yes, but i need it as a mob so that it will be able to come back when it repops
In response to Killer22
Or you can just make your own proc to do it for you. Repop() is fugly!
Sounds like my lawn mowing mini-game =D
Lawn Mower Deluxe
I'm glad someone else likes mowing the lawn =p
In response to DarkCampainger
;D, its for a job in my game
In response to Killer22
ill download that and check it out
In response to Cheetoz
so, do i get help?
In response to Killer22
Killer22 wrote:
> turf
> Lawn
> icon='lawnmowing.dmi'
> icon_state="grass"
> layer=3
> density=0
> Entered()
> icon_state = "cut"
>


I think thats more of what you want. When anything enters the turf, it will change the icon_state to "cut"
When you want to set it back to grass, use a for loop and change the icon_states to "grass"
In response to DarkCampainger
ok, thanks
In response to Killer22
hmm, doesnt seem to work

turf
Lawn
icon='lawnmowing.dmi'
icon_state="grass"
layer=3
Entered()
icon_state = "cut"
usr.money+=2
Page: 1 2