Skip to content

Commit

Permalink
[MIRROR] Brand intelligence unanchors rebellious vending machines (#5290
Browse files Browse the repository at this point in the history
)

* Brand intelligence unanchors rebellious vending machines (#4755)

* unanchor if brain

* Update modular_nova/modules/modular_vending/code/vending.dm

---------

Co-authored-by: Bloop <[email protected]>

* [MIRROR] Brand intelligence unanchors rebellious vending machines

---------

Co-authored-by: FlufflesTheDog <[email protected]>
Co-authored-by: Bloop <[email protected]>
Co-authored-by: StealsThePRs <[email protected]>
  • Loading branch information
4 people authored Jan 15, 2025
1 parent 73bb88e commit 60430ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modular_nova/modules/modular_vending/code/vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
// FLUFFY FRONTIER EDIT END
return ..()

/obj/machinery/vending/spawn_frame(disassembled)
if(ai_controller) // Vendor uprising, vending machines that are jumping around shouldn't be anchored
set_anchored(FALSE)
return ..()

/// This proc checks for forbidden traits cause it'd be pretty bad to have 5 insuls available to assistants roundstart at the vendor!
/obj/machinery/vending/proc/allow_increase(obj/item/clothing/clothing_path)
var/obj/item/clothing/clothing = new clothing_path()
Expand Down

0 comments on commit 60430ea

Please sign in to comment.