Files
VOREStation/code/modules/xenoarcheaology/artifacts/artifact_find.dm
T
Cameron Lennox 68e41ff7ab More xenoarch tweaks (#17011)
* More xenoarch tweaks

- Massively lowers chance of the virgo beacon spawning
- Massively lowers chance of both guns and laser guns spawning in war digsites (The chances you would find a fully functioning gun is pretty low, honestly. This reflects that.)
- Lowers chance of finding the cult blade
- Adds human corpses to temple digsites, war digsites, and garden digsites
- Adds alien corpses to garden digsites and war digsites
- Adds robot corpses to war digsites and technical digsites

* fixes the guns

* fixes name

* Blacklists pulse rifle shells

* Fixes lightning spam

* fixes an artifact typo

* Fixes a few typo errors

* gets rid of radiation explosion

Happened when accidentally hitting an artifact tile and destroying it

* Better artifact mining logic

- Adjusts the artifact wreckfinds proc so you can't constantly run into an artifact to excavate it
- Makes small artifacts able to bonk you if you destroy them, but only at a 10% chance per turf. (Does no lasting damage)
2025-02-01 14:24:00 -05:00

27 lines
1.1 KiB
Plaintext

/datum/artifact_find
var/artifact_id
var/artifact_find_type
/// These are the LARGE artifacts that can spawn (Have density, have to be pulled, etc etc.) Not the HANDHELD or MUNDANE artifacts. For those, see find_spawning.dm.
/datum/artifact_find/New()
artifact_id = "[pick("kappa","sigma","antaeres","beta","omicron","iota","epsilon","omega","gamma","delta","tau","alpha")]-[rand(100,999)]"
artifact_find_type = pick(
300;/obj/machinery/artifact,
25;/obj/machinery/auto_cloner,
25;/obj/machinery/replicator/vore,
25;/obj/structure/constructshell,
25;/obj/machinery/replicator/clothing,
25;/obj/structure/crystal,
15;/obj/machinery/giga_drill,
5;/obj/machinery/syndicate_beacon/virgo,
2;/obj/machinery/power/supermatter/shard,
1;/obj/machinery/power/supermatter)
// Calculations:
// TO do the math calculation:
// OBJECT_WEIGHT = The weight of the object. (Ex: supermatter is 1)
// TOTAL_WEIGHT = The weight of ALL the objects added together
// To calculate the chance of an artifact spawning, do: ((OBJECT_WEIGHT / TOTAL_WEIGHT) * 100) and that is your %