Goonstation Forums
Staple... paper??!!! [wacky] - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Ideas & Suggestions (https://forum.ss13.co/forumdisplay.php?fid=8)
+---- Forum: Good ideas! (https://forum.ss13.co/forumdisplay.php?fid=19)
+---- Thread: Staple... paper??!!! [wacky] (/showthread.php?tid=5493)



Staple... paper??!!! [wacky] - Dabir - 10-01-2015

What if you could use a stapler on a clipboard to staple all the papers on it into a sheaf? The sheaf would work like a clipboard but without the option to remove paper. Also could examining clipboards and sheafs show you the first page?


Re: Staple... paper??!!! [wacky] - Erik - 10-01-2015

* Grab paper
* Put into staple gun
* Staple paper into human
* ??????????


Re: Staple... paper??!!! [wacky] - medsal15 - 10-01-2015

ErikHanson Wrote:* Grab paper
* Put into staple gun
* Staple paper into human
* ??????????
You put the paper "punch me in the face" on X.


Re: Staple... paper??!!! [wacky] - salix_catus - 10-01-2015

Being able to draw tiny pixel art on paper then stapling it to walls as posters would be good.


Re: Staple... paper??!!! [wacky] - Frank_Stein - 10-01-2015

salix_catus Wrote:Being able to draw tiny pixel art on paper then stapling it to walls as posters would be good.
Honestly, I would love if pens and papers worked like that, but is that feasible codewise?


Re: Staple... paper??!!! [wacky] - Erik - 10-02-2015

Frank_Stein Wrote:
salix_catus Wrote:Being able to draw tiny pixel art on paper then stapling it to walls as posters would be good.
Honestly, I would love if pens and papers worked like that, but is that feasible codewise?

Totally, if you where to create a object that would catch the attack of the user, and then grab the relative X/Y and then colour a single pixel, alongside some zooming functionality so you could zoom in/out.

Code:
//Interface for using DrawBox() to draw 1 pixel on a coordinate.
//Returns the same icon specifed in the argument, but with the pixel drawn
/proc/drawPixel(var/icon/I,var/colour,var/x,var/x)
    if(!I)
        return 0
    if(x> I.Width()|| x<= 0)
        return 0
    if(y> I.Width()|| y<= 0)
        return 0
    I.DrawBox(colour, x, y)
    return I

/atom/proc/drawPixelOn(var/colour, var/x, var/y)
    var/icon/I = new(icon)
    var/icon/J = drawPixel(I, colour, x, y)
    if(J)
        icon = J
        return J
    return