porting healthbars from RS + mat fixes

This commit is contained in:
Kashargul
2024-01-29 00:00:25 +01:00
committed by GitHub
parent ba1d1fa768
commit 691c3ca75f
13 changed files with 274 additions and 11 deletions
+2 -2
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