ID:269448
 
i need help on making a multitile build code, say like you can build a 1x2 tile bed with one verb. something simliar to icon ultima when you build a bed.
you could use
obj
bedtop;icon = 'bed.dmi';icon_state = "top";pixel_y = 32
obj
bedbottom;icon = 'bed.dmi';icon_state = "bottom";density = 1
mob
verb
Bed()
var/Bed = new/obj/bedbottom(usr.loc)
Bed:overlays += /obj/bedtop

or
obj
bedtop;icon = 'bed.dmi';icon_state = "top"
obj
bedbottom;icon = 'bed.dmi';icon_state = "bottom";density = 1
mob
verb
Bed()
new/obj/bedbottom(usr.loc)
new/obj/bedtop(locate(usr.x,usr.y+1,usr.z))

_>