mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Rigging Lights and Cells now works with Plasma Dust
Light bulbs, light tubes, and power cells can now be rigged with plasma dust from grinding plasma sheets as well as the standard plasma reagent from a chem dispenser. Both reagents require at least 5u of the reagent to be injected at once to rig the bulb/tube/cell to explode. If a rigged cell is inserted into a stunprod, it only explodes when you actually attempt to stun something with it, not when you turn the prod on. This was unchanged, but I'm mentioning it so people don't think I changed that. Fixes #6238 🆑 tweak: Plasma dust can now be used to rig lights and power cells, like the plasma reagent, with explosive results. /🆑
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
|
||||
to_chat(user, "You inject the solution into the power cell.")
|
||||
|
||||
if(S.reagents.has_reagent("plasma", 5))
|
||||
if(S.reagents.has_reagent("plasma", 5) || S.reagents.has_reagent("plasma_dust", 5))
|
||||
|
||||
rigged = 1
|
||||
|
||||
|
||||
@@ -674,7 +674,7 @@
|
||||
|
||||
to_chat(user, "You inject the solution into the [src].")
|
||||
|
||||
if(S.reagents.has_reagent("plasma", 5))
|
||||
if(S.reagents.has_reagent("plasma", 5) || S.reagents.has_reagent("plasma_dust", 5))
|
||||
|
||||
log_admin("LOG: [user.name] ([user.ckey]) injected a light with plasma, rigging it to explode.")
|
||||
message_admins("LOG: [user.name] ([user.ckey]) injected a light with plasma, rigging it to explode.")
|
||||
|
||||
Reference in New Issue
Block a user