[MIRROR] Fixes cyborgs in general replenishing stack modules from external sources (#1846)

* Fixes cyborgs in general replenishing stack modules from external sources (#54935)

* Cyborg stack fix

- Makes cyborgs capable of recycling floor tiles again

* Touches up module code

- Makes module code slightly more OOP-compliant
- Speeds up module creation by an imperceptable amount
- Reworks how borg modules handle stacks

* Fixes cyborgs in general replenishing stack modules from external sources

* Update robot_modules.dm

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2020-11-27 07:28:50 +00:00
committed by GitHub
co-authored by TemporalOroboros Gandalf
parent 463b168692
commit 3bf844af89
11 changed files with 56 additions and 100 deletions
@@ -23,6 +23,8 @@ GLOBAL_LIST_INIT(marker_beacon_colors, sortList(list(
merge_type = /obj/item/stack/marker_beacon
max_amount = 100
novariants = TRUE
cost = 1
source = /datum/robot_energy_storage/beacon
var/picked_color = "random"
/obj/item/stack/marker_beacon/ten //miners start with 10 of these