Improve mecha circuit crates to make them useful + few fixes (#25516)

* Improve mecha circuit crates to make them useful

* fix

* Update ripley.dm
This commit is contained in:
Сиротка
2024-05-27 16:42:02 +00:00
committed by GitHub
parent e6d1b5f8a8
commit c9f44b1f29
5 changed files with 26 additions and 14 deletions
@@ -204,7 +204,6 @@ GLOBAL_LIST_INIT(sinew_recipes, list (
return
C.armor = current_armor.setRating(melee_value = min(current_armor.getRating(MELEE) + 15, 75))
to_chat(user, "<span class='info'>You strengthen [target], improving its resistance against melee attacks.</span>")
use(1)
else
to_chat(user, "<span class='warning'>You can't improve [C] any further!</span>")
else if(istype(target, /obj/mecha/working/ripley))
@@ -256,7 +255,6 @@ GLOBAL_LIST_INIT(sinew_recipes, list (
if(!use(1))
to_chat(user, "<span class='notice'>You dont have enough [src] for this!</span>")
return
use(1)
D.plates++
D.armor = D.armor.setRating(melee_value = min(D.armor.getRating(MELEE) + 10, 70))
D.armor = D.armor.setRating(bullet_value = min(D.armor.getRating(BULLET) + 4, 50))
@@ -290,7 +288,6 @@ GLOBAL_LIST_INIT(sinew_recipes, list (
if(!use(1))
to_chat(user, "<span class='notice'>You dont have enough [src] for this!</span>")
return
use(1)
D.drake_hides++
D.max_integrity += 50
D.obj_integrity += 50
@@ -517,6 +517,12 @@
icon_opened = "scicrate_open"
icon_closed = "scicrate"
/obj/structure/closet/crate/sci/robo
desc = "A science crate. Contain various mech parts."
icon_state = "scicrate_mech"
icon_opened = "scicrate_mech_open"
icon_closed = "scicrate_mech"
/obj/structure/closet/crate/secure/scisec
name = "secure science crate"
desc = "A crate with a lock on it, painted in the scheme of the station's scientists."