mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
[MIRROR] Basepixels (#1512)
* Basepixels (#54652) * Basepixels Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
@@ -101,8 +101,8 @@
|
||||
|
||||
/obj/item/paper/Initialize()
|
||||
. = ..()
|
||||
pixel_y = rand(-8, 8)
|
||||
pixel_x = rand(-9, 9)
|
||||
pixel_x = base_pixel_x + rand(-9, 9)
|
||||
pixel_y = base_pixel_y + rand(-8, 8)
|
||||
update_icon()
|
||||
|
||||
/obj/item/paper/update_icon_state()
|
||||
|
||||
@@ -121,8 +121,8 @@
|
||||
|
||||
/obj/item/paperslip/Initialize()
|
||||
. = ..()
|
||||
pixel_x = rand(-5, 5)
|
||||
pixel_y = rand(-5, 5)
|
||||
pixel_x = base_pixel_x + rand(-5, 5)
|
||||
pixel_y = base_pixel_y + rand(-5, 5)
|
||||
|
||||
|
||||
/obj/item/hatchet/cutterblade
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
|
||||
/obj/item/paperplane/Initialize(mapload, obj/item/paper/newPaper)
|
||||
. = ..()
|
||||
pixel_y = rand(-8, 8)
|
||||
pixel_x = rand(-9, 9)
|
||||
pixel_x = base_pixel_x + rand(-9, 9)
|
||||
pixel_y = base_pixel_y + rand(-8, 8)
|
||||
if(newPaper)
|
||||
internalPaper = newPaper
|
||||
flags_1 = newPaper.flags_1
|
||||
|
||||
@@ -206,8 +206,8 @@
|
||||
* * copied_item - The paper, document, or photo that was just spawned on top of the printer.
|
||||
*/
|
||||
/obj/machinery/photocopier/proc/give_pixel_offset(obj/item/copied_item)
|
||||
copied_item.pixel_x = rand(-10, 10)
|
||||
copied_item.pixel_y = rand(-10, 10)
|
||||
copied_item.pixel_x = copied_item.base_pixel_x + rand(-10, 10)
|
||||
copied_item.pixel_y = copied_item.base_pixel_y + rand(-10, 10)
|
||||
|
||||
/**
|
||||
* Handles the copying of devil contract paper. Transfers all the text, stamps and so on from the old paper, to the copy.
|
||||
|
||||
Reference in New Issue
Block a user