Skip to content

Commit

Permalink
singularity gain changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sord213 committed Sep 12, 2023
1 parent 33e2e96 commit 46279aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 9 additions & 2 deletions code/obj/machinery/singularity.dm
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,9 @@ for some reason I brought it back and tried to clean it up a bit and I regret ev
//if (istype(A, /obj/item/graviton_grenade))
//src.warp = 100
if (istype(A.material))
gain += A.material.getProperty("density") * 2 * A.material_amt
gain += A.material.getProperty("radioactive") * 2 * A.material_amt
gain += A.material.getProperty("density") * 3 * A.material_amt
gain += A.material.getProperty("radioactive") * 4 * A.material_amt
gain += A.material.getProperty("n_radioactive") * 6 * A.material_amt
if (A.reagents)
gain += min(A.reagents.total_volume/4, 50)
if (istype(A, /obj/decal/cleanable)) //MBC : this check sucks, but its far better than cleanables doing hard-delete at the whims of the singularity. replace ASAP when i figure out cleanablessssss
Expand All @@ -389,9 +390,15 @@ for some reason I brought it back and tried to clean it up a bit and I regret ev
src.grow()
sleep(0.5 SECONDS)
qdel(A)
else if (istype(A, /obj/item/plutonium_core)) // as a treat
gain += 5000
qdel(A)
else if (istype(A, /obj/mechbeam)) //let's not make lazy feeders with trip lasers
gain += 0.25
qdel(A)
else if (istype(A, /obj/item/paper))
gain += 0.5
qdel(A)
else
var/obj/O = A
gain += 2
Expand Down
2 changes: 2 additions & 0 deletions strings/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

(t)tue sep 12 23
(u)Sord
(+)Singularity feeding changes: Paper 2 -> 0.5. Material(ore/bar) density*3, radioactive*4, neutron radioactive*6. Also feed a singularity a plutonium core to get a LOT of power.
(u)Paaiii
(p)15592
(e)🗺🎨🔊|A-Mapping, C-Sprites, C-Sound
Expand Down

0 comments on commit 46279aa

Please sign in to comment.