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
This commit is contained in:
TemporalOroboros
2020-11-26 00:45:52 -08:00
committed by GitHub
parent 42c709787c
commit 9f694d82ea
10 changed files with 51 additions and 95 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