starlit  Diff

Differences From Artifact [1f9bdf2a9e]:

To Artifact [f5ad2a2c21]:


   170    170   			job.cyclesLeft = math.max(0, job.cyclesLeft - ctx.comp.cycles)
   171    171   			if job.cyclesLeft == 0 then
   172    172   				job.timeLeft = math.max(0, job.timeLeft - interval)
   173    173   			end
   174    174   			if job.timeLeft == 0 and job.cyclesLeft == 0 then
   175    175   				table.remove(conf, jobSlot)
   176    176   				user:give(scm.output)
          177  +				user:alarm(-2, 'item')
   177    178   			else
   178    179   				conf[jobSlot].value = job_t.enc(job)
   179    180   			end
   180    181   
   181    182   			ctx.saveConf()
   182    183   		end;
   183    184   	}
................................................................................
   325    326   	size = 1e9;
   326    327   	cost = {
   327    328   		cycles = 700e6;
   328    329   		ram = 1e9;
   329    330   	};
   330    331   	run = pasv_heal(4, 50, .7);
   331    332   })
          333  +
          334  +starlit.item.sw.link('starlit_electronics:battle_buddy_extreme', {
          335  +	name = 'BattleBuddy XTREME';
          336  +	kind = 'suitPower', powerKind = 'passive';
          337  +	desc = "Who needs a unit medic when you've got BattleBuddy XTREME Edition! BattleBuddy XTREME Edition is fully loaded with emergency response protocols for wounds of every caliber, and is GUARANTEED* to keep you alive as long as you can still crawl to safety. BattleBuddy XTREME is not intended for civilian use. By using BattleBuddy XTREME, you commit to unbind House Vacsatar, its subcontractors, and cadet houses from all liability for product failure, intracellular mutilation, transcription drift, runaway prion cascades, or military defeat.\n*Guarantees not legally binding.";
          338  +	size = 4e9;
          339  +	cost = {
          340  +		cycles = 2000e6;
          341  +		ram = 8e9;
          342  +	};
          343  +	run = pasv_heal(4, 50, .7);
          344  +})
          345  +