mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] Point Refactor (#10233)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c450398bcd
commit
812150cd72
@@ -56,6 +56,9 @@
|
||||
* its inherent color, the colored paint applied on it, special color effect etc...
|
||||
*/
|
||||
var/list/atom_colours
|
||||
/// Lazylist of all images to update when we change z levels
|
||||
/// You will need to manage adding/removing from this yourself, but I'll do the updating for you
|
||||
var/list/image/update_on_z
|
||||
|
||||
/atom/New(loc, ...)
|
||||
// Don't call ..() unless /datum/New() ever exists
|
||||
|
||||
@@ -657,3 +657,9 @@
|
||||
cut_overlay(source)
|
||||
if(em_block == source)
|
||||
em_block = null
|
||||
|
||||
/atom/movable/proc/abstract_move(atom/new_loc)
|
||||
var/atom/old_loc = loc
|
||||
var/direction = get_dir(old_loc, new_loc)
|
||||
loc = new_loc
|
||||
Moved(old_loc, direction, TRUE)
|
||||
|
||||
@@ -60,9 +60,3 @@
|
||||
|
||||
/atom/movable/proc/show_message(msg, type, alt, alt_type)//Message, type of message (1 or 2), alternative message, alt message type (1 or 2)
|
||||
return
|
||||
|
||||
/atom/movable/proc/abstract_move(atom/new_loc)
|
||||
var/atom/old_loc = loc
|
||||
var/direction = get_dir(old_loc, new_loc)
|
||||
loc = new_loc
|
||||
Moved(old_loc, direction, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user