mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 01:54:52 +01:00
feat: new floppy disk sprites; most disks are now under the /item/disk type; adds disk stacking, uqinue styling and wrapping (#94112)
## About The Pull Request Floppy disks received a sprite upgrade, as well as unique wraps: <img width="364" height="150" alt="image" src="https://github.com/user-attachments/assets/0ac433e3-7432-4c06-bec2-aeae00b6852f" /> <img width="786" height="527" alt="image" src="https://github.com/user-attachments/assets/0f36bd0d-0362-4431-8131-49060a2fe348" /> You can now stack floppy disks! They also scatter around when thrown. The video also showcases new styling options with a selection of stickers! You can also write something on the disk instead of selecting an icon: https://github.com/user-attachments/assets/ff0a8542-9d79-4108-ae46-672ca5d620a2 MOST disks now inherit the `/item/disk` type to properly stack and do... stuff. An updatepaths script included. ## Why It's Good For The Game Old school is cool. Stacking disks makes them feel more authentic, while styling allows for more crearivity! ## Changelog 🆑 add: New unique wraps for floppy disks qol: Floppy disks can now be stacked image: New sprites and stickers for floppy disks map: Added and ran an updatepaths script refactor: Most disks are now under the base disk item type /🆑 --------- Co-authored-by: The-Tyrant <tyrantofgaming@gmail.com>
This commit is contained in:
@@ -276,7 +276,7 @@
|
||||
return FALSE
|
||||
|
||||
if(sending_virus)
|
||||
var/obj/item/computer_disk/virus/disk = computer.inserted_disk
|
||||
var/obj/item/disk/computer/virus/disk = computer.inserted_disk
|
||||
if(!istype(disk))
|
||||
return FALSE
|
||||
|
||||
@@ -376,7 +376,7 @@
|
||||
data["selected_photo_path"] = !isnull(selected_image) ? SSassets.transport.get_asset_url(selected_image) : null
|
||||
data["on_spam_cooldown"] = !can_send_everyone_message()
|
||||
|
||||
var/obj/item/computer_disk/virus/disk = computer.inserted_disk
|
||||
var/obj/item/disk/computer/virus/disk = computer.inserted_disk
|
||||
if(istype(disk))
|
||||
data["virus_attach"] = TRUE
|
||||
data["sending_virus"] = sending_virus
|
||||
|
||||
Reference in New Issue
Block a user