mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Adjust objects to tabletop when wrenched (#75671)
 ## About The Pull Request Added a variable to `/obj/` that can be set to adjust the object sprite when it mapspawns or being wrenched on top of a table. Set this variable for some popular tabletop machines, removing the default `pixel_y` offsets for some of them. Also moved the wrenching logic to /obj/. It was under machinery for some reason. ## Why It's Good For The Game Did you ever unwrench something from the table by accident and then was annoyed that you can't revet it back? ## Changelog 🆑 qol: Objects have a variable to adjust them visually when they're wrenched or spawned on a table refactor: Removed redundant code that had similar purpose, moved `obj` wrenching logic into the `objs.dm` qol: food/slime processor can be moved on table and adjusts to it when wrenched /🆑
This commit is contained in:
@@ -28,8 +28,7 @@
|
||||
icon_keyboard = null
|
||||
circuit = /obj/item/circuitboard/computer/libraryconsole
|
||||
desc = "Checked out books MUST be returned on time."
|
||||
// This fixes consoles to be ON the tables, rather than their keyboards floating a bit
|
||||
pixel_y = 8
|
||||
anchored_tabletop_offset = 8
|
||||
///The current title we're searching for
|
||||
var/title = ""
|
||||
///The category we're searching for
|
||||
|
||||
Reference in New Issue
Block a user