I will show you a simple example about how I was thinking.
Code:
//I'm add the turfs to stat(inventory) contents list var, because
//I don't know make list like "contents".
// Click(location,control,params)
mob/var
mode_mapper=0
var
active_obj_for_map
list/mappers = list("my_key","my_friend")
mob/verb/mode_mapper_Toggle()
if(!src.key in mappers)return
if(mode_mapper)
usr.mode_mapper=0
return
else
usr.mode_mapper=1
return
turf/turfs
icon='Pant.dmi'
grass
icon_state=""
water
icon_state="2"
waterfall
icon_state= "3"
door
icon_state="4"
Click()
if(usr.mode_mapper)
if(active_obj_for_map.id == "water")
var/turf/water/s=new(src.loc)
if(active_obj_for_map.id == "grass")
var/turf/grass/s=new(src.loc)
usr<<"you add [active_obj_for_map.id] in the map" //this is a msg 4 test...
//this is a example of how I was try to do it... since this is other pc and I don't have the original project.
Problem description:
I'm try from 19 days ago, and yet I can't do it... I don't know how can I do which work it. Please if somebody has a example pls help me...
Please somebody what know how-do it.. pls help to do it together.