[MIRROR] porting healthbars from roguestar + disassemble mat fixes (#7649)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-01-31 09:55:21 -07:00
committed by GitHub
parent 447d6ae3a3
commit 7f4274a2d8
13 changed files with 272 additions and 11 deletions

View File

@@ -305,13 +305,13 @@ var/list/table_icon_cache = list()
var/obj/item/weapon/material/shard/S = null
if(reinforced)
if(reinforced.stack_type && (full_return || prob(20)))
reinforced.place_sheet(loc)
reinforced.place_sheet(loc, 1)
else
S = reinforced.place_shard(loc)
if(S) shards += S
if(material)
if(material.stack_type && (full_return || prob(20)))
material.place_sheet(loc)
material.place_sheet(loc, 1)
else
S = material.place_shard(loc)
if(S) shards += S