•Fixed small bug with poster #16's name

•Made psters actually dropped if the wall supporting them goes down
•Made the dropping stuff into a different proc, for that matter
•Some icon shit with poster #12
•Corrected changelog, I'm a fucking retard sometimes

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3431 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
polyxenitopalidou@gmail.com
2012-04-10 10:14:37 +00:00
parent 99c53b405e
commit ca04e441f3
4 changed files with 31 additions and 8 deletions
+10 -8
View File
@@ -130,10 +130,10 @@ obj/effect/decal/poster/New(var/serial)
if(15)
name += " - Leviating Skull"
desc += " This particular one is the portrait of a certain flying, friendly and somewhat sex-crazed enchanted skull. Its adventures along with its fabled companion are now fading through history..."
if(17)
if(16)
name += " - Augmented Legend"
desc += " This particular one is of an obviously augmented individual, gazing towards the sky. The cyber-city in the backround is rather punkish."
if(18)
if(17)
name += " - Dangerous Static"
desc += " This particular one depicts nothing remarkable other than a rather mesmerising pattern of monitor static. There's a tag on the sides of the poster, urging you to \"tear this poster in half to receive your free sample\"."
else
@@ -149,14 +149,10 @@ obj/effect/decal/poster/attackby(obj/item/weapon/W as obj, mob/user as mob)
del(src)
else
user << "<FONT COLOR='BLUE'>You carefully remove the poster from the wall.</FONT>"
var/obj/item/weapon/contraband/poster/P = new(src,src.serial_number)
P.resulting_poster = src
P.loc = user.loc
src.loc = P
src.roll_and_drop(user.loc)
return
/obj/effect/decal/poster/attack_hand(mob/user as mob)
if(src.ruined)
return
@@ -174,4 +170,10 @@ obj/effect/decal/poster/attackby(obj/item/weapon/W as obj, mob/user as mob)
src.desc = "You can't make out anything from the poster's original print. It's ruined."
src.add_fingerprint(user)
if("No")
return
return
/obj/effect/decal/poster/proc/roll_and_drop(turf/loc)
var/obj/item/weapon/contraband/poster/P = new(src,src.serial_number)
P.resulting_poster = src
P.loc = loc
src.loc = P
+6
View File
@@ -306,6 +306,12 @@
new /obj/item/stack/sheet/metal( src )
new /obj/item/stack/sheet/metal( src )
for(var/obj/O in src.contents) //Eject contents!
if(istype(O,/obj/effect/decal/poster))
var/obj/effect/decal/poster/P = O
P.roll_and_drop(src)
else
O.loc = src
ReplaceWithPlating(explode)
/turf/simulated/wall/examine()
+15
View File
@@ -93,6 +93,21 @@ Stuff which is in development and not yet visible to players or just code relate
should be listed in the changelog upon commit tho. Thanks. -->
<!-- To take advantage of the pretty new format (well it was new when I wrote this anyway), open the "add-to-changelog.html" file in any browser and add the stuff and then generate the html code and paste it here -->
<div class="commit sansserif">
<h2 class="date">April 10, the year of our lord 2012</h2>
<h3 class="author">Agouri updated:</h3>
<ul class="changes bgimages16">
<li class="wip">CONTRABAND-CON UPDATE: Added posters. I'm sorry to add it seperately with the rest of contraband, but there was a lack of sprites for everything else. Hopefully, people will gain interest and get me some damn sprites this way :3
As I said, this is an ongoing project of mine. So starting of, we've got...</li>
<li class="rscadd">POSTERS! Posters come in rolled packages that can adhere to any wall or r_wall, if it's uncluttered enough.
<BR><BR>•How they get on-board: The quartermaster can now set the receiver frequency of his supplycomp circuit board. A bit simplistic as of now, will work on it later. Building a supplycomp with a properly set up circuitboard will give access to the Contraband crate.
<BR><BR>•How they're used: Unfold the rolled poster on any wall or r_wall to create the poster. There are currently 17 designs, with the possibility of me adding more.
<BR><BR>•How to get rid of them: You can rip them using your hand... To cleanly extract them and not ruin them for future use, however, you can use a pair of wirecutters.
<BR><BR>•How they're classified: They're contraband, so it's perfectly okay for security officers to confiscate them. Punishment for contraband-providers (or end-users, if you want to go full nazi) is up to the situational commanding officers.
</ul>
</div>
<div class="commit sansserif">
<h2 class="date">Monday, April 9th</h2>
<h3 class="author">Petethegoat updated:</h3>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB