mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
Refactoring and rewording
Moves recipe list generation into its own proc and out of New() - Makes lists only generate/update if not present, to save a small bit of processing on the loop Rewords the messages when adding items to mixing bowls and kitchen machines to sound slightly better > Also refactored messages which were split between multiple lines in the code to be on one line and removed an extra space in one message
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
if(S.amount > 1)
|
||||
new S.type (src)
|
||||
S.use(1)
|
||||
user.visible_message("<span class='notice'>[user] has added one of [S] to [src].</span>", "<span class='notice'>You add one of [S] to [src].</span>")
|
||||
user.visible_message("<span class='notice'>[user] adds one of [S] to [src].</span>", "<span class='notice'>You add one of [S] to [src].</span>")
|
||||
else
|
||||
return add_item(S, user)
|
||||
else
|
||||
@@ -56,7 +56,7 @@
|
||||
//return 0
|
||||
else
|
||||
I.forceMove(src)
|
||||
user.visible_message("<span class='notice'>[user] has added [I] to [src].</span>", "<span class='notice'>You add [I] to [src].</span>")
|
||||
user.visible_message("<span class='notice'>[user] adds [I] to [src].</span>", "<span class='notice'>You add [I] to [src].</span>")
|
||||
|
||||
/obj/item/mixing_bowl/attack_self(mob/user)
|
||||
var/dat = ""
|
||||
|
||||
Reference in New Issue
Block a user