mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 00:22:12 +00:00
Adds a new meat steak sprite (#7351)
This commit is contained in:
@@ -55,6 +55,9 @@
|
|||||||
name = "plate"
|
name = "plate"
|
||||||
icon_state = "plate"
|
icon_state = "plate"
|
||||||
|
|
||||||
|
/obj/item/trash/plate/steak
|
||||||
|
icon_state = "steak"
|
||||||
|
|
||||||
/obj/item/trash/snack_bowl
|
/obj/item/trash/snack_bowl
|
||||||
name = "snack bowl"
|
name = "snack bowl"
|
||||||
icon_state = "snack_bowl"
|
icon_state = "snack_bowl"
|
||||||
|
|||||||
@@ -428,6 +428,10 @@
|
|||||||
if (reagents)
|
if (reagents)
|
||||||
on_consume(user)
|
on_consume(user)
|
||||||
|
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/on_reagent_change()
|
||||||
|
update_icon()
|
||||||
|
return
|
||||||
|
|
||||||
//////////////////////////////////////////////////
|
//////////////////////////////////////////////////
|
||||||
////////////////////////////////////////////Snacks
|
////////////////////////////////////////////Snacks
|
||||||
//////////////////////////////////////////////////
|
//////////////////////////////////////////////////
|
||||||
@@ -1701,8 +1705,8 @@
|
|||||||
/obj/item/weapon/reagent_containers/food/snacks/meatsteak
|
/obj/item/weapon/reagent_containers/food/snacks/meatsteak
|
||||||
name = "meat steak"
|
name = "meat steak"
|
||||||
desc = "A piece of hot spicy meat."
|
desc = "A piece of hot spicy meat."
|
||||||
icon_state = "meatstake"
|
icon_state = "steak"
|
||||||
trash = /obj/item/trash/plate
|
trash = /obj/item/trash/plate/steak
|
||||||
filling_color = "#7A3D11"
|
filling_color = "#7A3D11"
|
||||||
center_of_mass = list("x"=16, "y"=13)
|
center_of_mass = list("x"=16, "y"=13)
|
||||||
bitesize = 2
|
bitesize = 2
|
||||||
@@ -1714,6 +1718,22 @@
|
|||||||
reagents.add_reagent("sodiumchloride", 1)
|
reagents.add_reagent("sodiumchloride", 1)
|
||||||
reagents.add_reagent("blackpepper", 1)
|
reagents.add_reagent("blackpepper", 1)
|
||||||
|
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/meatsteak/update_icon()
|
||||||
|
var/percent = round((reagents.total_volume / 10) * 100)
|
||||||
|
switch(percent)
|
||||||
|
if(0 to 10)
|
||||||
|
icon_state = "steak_10"
|
||||||
|
if(11 to 25)
|
||||||
|
icon_state = "steak_25"
|
||||||
|
if(26 to 40)
|
||||||
|
icon_state = "steak_40"
|
||||||
|
if(41 to 60)
|
||||||
|
icon_state = "steak_60"
|
||||||
|
if(61 to 75)
|
||||||
|
icon_state = "steak_75"
|
||||||
|
if(76 to INFINITY)
|
||||||
|
icon_state = "steak"
|
||||||
|
|
||||||
/obj/item/weapon/reagent_containers/food/snacks/spacylibertyduff
|
/obj/item/weapon/reagent_containers/food/snacks/spacylibertyduff
|
||||||
name = "spacy liberty duff"
|
name = "spacy liberty duff"
|
||||||
desc = "Jello gelatin, from Alfred Hubbard's cookbook."
|
desc = "Jello gelatin, from Alfred Hubbard's cookbook."
|
||||||
|
|||||||
6
html/changelogs/alberyk-steak.yml
Normal file
6
html/changelogs/alberyk-steak.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
author: Alberyk, BRAINOS
|
||||||
|
|
||||||
|
delete-after: True
|
||||||
|
|
||||||
|
changes:
|
||||||
|
- imageadd: "Added a new meat steak sprite."
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 146 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Reference in New Issue
Block a user