mob
var
buildtype
building = 0
buildmethod
mob
verb
make_obj()
var/newtype = input("What type?")in typesof(/obj)+"Cancel"
if(newtype == "Cancel")
return
usr.buildtype = newtype
selectbuildtype()
var/newtype = input("What type?")in typesof(/atom)+"Cancel"
if(newtype == "Cancel")
return
usr.buildtype = newtype
startbuild()
usr.building = 1
usr.buildmethod = input("Select your method to build")in list("Click","Drag")
usr.MouseEntered(/obj/box,/atom)
stopbuild()
usr.building = 0
usr.MouseEntered(null,null)
turf
Click()
if(usr.building && usr.buildmethod == "Click")
new usr.buildtype(src)
return
usr << "You're not building! Or your method isn't on Click!"
return
MouseDrag(typeb,unused,location)
if(usr.building && usr.buildmethod == "Drag")
typeb = usr.buildtype
new typeb(location)
else
return
My question is, i wanna drop that the choose click drag etc and i just want the build system to always use a "block" style of building, similar to "fill" when building maps in DM. Can anyone help me on adding that within this code? And also, similar to DM, when building i want a "box" type icon to appear in whatever tile the mouse pointer is but i only want the "box"(box.dmi) to be visable to the builder, If anyone can help me on that, I would be very apprecaitive
ETG