Paper folding, paper burning, & other long-overdue useless paper stuff
Created by: 9600bauds
Fixes #271 (closed)
Something like two and a half months ago, I said to myself "I will learn how to code for spess", so I gave myself a small project, inconsequential enough that it wouldn't matter if the code ended up being so shit I had to scrap it. So I did this silly stuff with paper planes, to teach myself BYOND and attackby() and verbs and whatnot. And so the code ended up being so shit, I scrapped it. Now that I actually know what I'm doing, I hastily patched it back to acceptable code.
CHANGELOG:
- You can now fold paper via the right-click "Fold paper" verb. Includes paper planes, paper cranes, balls of paper, and 4 (four) (cuatro) more things. In all cases, the paper can be unfolded back.
- Paper hats are now actually an item, rather than wearing a plain sheet of paper on your head and it somehow becoming a hat.
- You can now burn (ashify) paper by slapping it with a lighter or welding tool or similar.
- Fixed throw_impact to always pass the user variable, previously it was only called when the item hit the ground.
- You can color folded paper with crayons. However I then had to deal with what to do with the coloring after you unfold the paper, so I made it so that if a paper has a custom color, the window popup changes it's background color to that of the paper's (but if you want to actually color the paper you have to fold it first, then color it and then unfold it, since using a crayon on the raw paper just writes on it instead). I then also had to deal with how to clear the coloring if you ever wanted to actually do that, so I made space cleaner wipe it. What a trainwreck of unnecessary, unintuitive features that was.
POSSIBLE BALANCE ISSUES: Cult talisman papers are a child of paper, which means they are affected by this stuff. A clever Cultist could fold a talisman into a non-suspicious paper crane, then unfold it when he wants to use it. Or carry around a lighter and burn his talismans if he thinks he might be about to get caught.
OTHER STUFF: I would have added more origami shapes, but I am a terrible spriter. Anyone's welcome to improve my attempts. Demonstration .whebbum: http://puu.sh/hF01m/69d80dec7b.webm