mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 05:52:17 +00:00
* Refactor holomap generation * Portable mapping units * Fix misnamed state * Make it small * Reduce power usage I didn't know you could use fractional amounts! * Apply suggested changes, fix indent * Fix icon_state bug
13 lines
349 B
Plaintext
13 lines
349 B
Plaintext
// Specific types
|
|
/datum/mini_hud/mapper
|
|
var/obj/item/device/mapping_unit/owner
|
|
|
|
/datum/mini_hud/mapper/New(var/datum/hud/other, owner)
|
|
src.owner = owner
|
|
screenobjs = list(new /obj/screen/movable/mapper_holder(null, owner))
|
|
..()
|
|
|
|
/datum/mini_hud/mapper/Destroy()
|
|
owner?.hud_item = null
|
|
owner?.hud_datum = null
|
|
return ..() |