Skip to content

Commit

Permalink
[MIRROR] Changes the Malf Ability "Robotics Factory" to be purchasabl…
Browse files Browse the repository at this point in the history
…e multiple times. [MDB IGNORE] (#376)

* Changes the Malf Ability "Robotics Factory" to be purchasable multiple times. (#79303)

---------

Co-authored-by: zxaber <[email protected]>
  • Loading branch information
Steals-The-PRs and zxaber authored Nov 1, 2023
1 parent fd173a0 commit c9cba93
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/modules/antagonists/malf_ai/malf_ai_modules.dm
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,6 @@ GLOBAL_LIST_INIT(malf_modules, subtypesof(/datum/ai_module))
name = "Robotic Factory (Removes Shunting)"
description = "Build a machine anywhere, using expensive nanomachines, that will slowly create loyal cyborgs for you." // Skyrat edit
cost = 100
one_purchase = TRUE
power_type = /datum/action/innate/ai/place_transformer
unlock_text = span_notice("You make contact with Space Amazon and request a robotics factory for delivery.")
unlock_sound = 'sound/machines/ping.ogg'
Expand Down Expand Up @@ -655,9 +654,11 @@ GLOBAL_LIST_INIT(malf_modules, subtypesof(/datum/ai_module))
var/obj/machinery/transformer_rp/conveyor = new(T) //SKYRAT EDIT CHANGE - SILLICONQOL - ORIGINAL: var/obj/machinery/transformer/conveyor = new(T)
conveyor.master_ai = owner
playsound(T, 'sound/effects/phasein.ogg', 100, TRUE)
owner_AI.can_shunt = FALSE
to_chat(owner, span_warning("You are no longer able to shunt your core to APCs."))
if(owner_AI.can_shunt) //prevent repeated messages
owner_AI.can_shunt = FALSE
to_chat(owner, span_warning("You are no longer able to shunt your core to APCs."))
adjust_uses(-1)
active = FALSE

/mob/living/silicon/ai/proc/remove_transformer_image(client/C, image/I, turf/T)
if(C && I.loc == T)
Expand Down

0 comments on commit c9cba93

Please sign in to comment.