Item_ScheduleRespawnIn(e, game_starttime - time + ITEM_RESPAWNTIME_INITIAL(e));\r
}\r
\r
+.float inithealth;\r
void Item_Consumable_Remove(entity e, float regurgitate);\r
void Item_Consumable_Think()\r
{\r
\r
if(self.predator.digesting)\r
{\r
+ self.scale = self.health / self.inithealth; // scale matches the item's digestion progress\r
+\r
if(stov(cvar_string("g_vore_regurgitatecolor_color_digest")))\r
self.colormod = stov(cvar_string("g_vore_regurgitatecolor_color_digest"));\r
}\r
\r
- dprint("!!!!!!!!\n");\r
self.nextthink = time;\r
}\r
\r
item.solid = SOLID_NOT;\r
setmodel(item, e.model);\r
item.health = e.health;\r
+ item.inithealth = e.health;\r
item.max_health = e.max_health;\r
item.dmg = e.dmg;\r
\r
item.solid = SOLID_TRIGGER;\r
setmodel(item, e.model);\r
item.health = e.health;\r
+ item.inithealth = e.inithealth;\r
item.max_health = e.max_health;\r
item.dmg = e.dmg;\r
item.scale = e.scale;\r