Skip to content

Commit

Permalink
making ruko cry (funny)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsar-Salat committed Oct 22, 2023
1 parent f584622 commit 0b185a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
14 changes: 9 additions & 5 deletions code/__DEFINES/robots.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@
#define DISCONNECT 5

//Assembly defines
#define ASSEMBLY_FIRST_STEP 0
#define ASSEMBLY_SECOND_STEP 1
#define ASSEMBLY_THIRD_STEP 2
#define ASSEMBLY_FOURTH_STEP 3
#define ASSEMBLY_FIFTH_STEP 4
#define ASSEMBLY_FIRST_STEP 0
#define ASSEMBLY_SECOND_STEP 1
#define ASSEMBLY_THIRD_STEP 2
#define ASSEMBLY_FOURTH_STEP 3
#define ASSEMBLY_FIFTH_STEP 4
#define ASSEMBLY_SIXTH_STEP 5
#define ASSEMBLY_SEVENTH_STEP 6
#define ASSEMBLY_EIGHTH_STEP 7
#define ASSEMBLY_NINTH_STEP 8
8 changes: 4 additions & 4 deletions code/modules/mob/living/simple_animal/bot/construction.dm
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
icon_state = "ed209_hat"
build_step++

if(5)
if(ASSEMBLY_SIXTH_STEP)
if(isprox(W))
if(!user.temporarilyRemoveItemFromInventory(W))
return
Expand All @@ -139,7 +139,7 @@
item_state = "ed209_prox"
icon_state = "ed209_prox"

if(6)
if(ASSEMBLY_SEVENTH_STEP)
if(istype(W, /obj/item/stack/cable_coil))
var/obj/item/stack/cable_coil/coil = W
if(coil.get_amount() < 1)
Expand All @@ -153,7 +153,7 @@
name = "wired ED-209 assembly"
build_step++

if(7)
if(ASSEMBLY_EIGHTH_STEP)
if(istype(W, /obj/item/gun/energy/disabler))
if(!user.temporarilyRemoveItemFromInventory(W))
return
Expand All @@ -164,7 +164,7 @@
qdel(W)
build_step++

if(8)
if(ASSEMBLY_NINTH_STEP)
if(W.tool_behaviour == TOOL_SCREWDRIVER)
to_chat(user, "<span class='notice'>You start attaching the gun to the frame...</span>")
if(W.use_tool(src, user, 40, volume=100))
Expand Down

0 comments on commit 0b185a1

Please sign in to comment.