mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Janiborg no longer starts with floor buffer and now can be toggled (#20133)
* Cyborg upgrade floor buffer and toggle mode * Update code/game/objects/items/robot/robot_upgrades.dm Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com> Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
@@ -107,6 +107,8 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
|
||||
var/magpulse = FALSE
|
||||
var/ionpulse = FALSE // Jetpack-like effect.
|
||||
var/ionpulse_on = FALSE // Jetpack-like effect.
|
||||
/// Does it clean the tile under it?
|
||||
var/floorbuffer = FALSE
|
||||
|
||||
var/datum/action/item_action/toggle_research_scanner/scanner = null
|
||||
var/list/module_actions = list()
|
||||
|
||||
@@ -451,7 +451,7 @@
|
||||
/obj/item/robot_module/janitor/proc/on_cyborg_move(mob/living/silicon/robot/R)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
if(R.stat == DEAD || !isturf(R.loc))
|
||||
if(R.stat == DEAD || !isturf(R.loc) || !R.floorbuffer)
|
||||
return
|
||||
var/turf/tile = R.loc
|
||||
for(var/A in tile)
|
||||
|
||||
Reference in New Issue
Block a user